-
Notifications
You must be signed in to change notification settings - Fork 8
Assets
James Baicoianu edited this page Jan 12, 2016
·
4 revisions
Status: proposal
A method is needed for defining groups of assets which are used by a scene. This will simplify management and distribution of assets, and provide an easy way to import content from the web or from other marketplaces. By tracking licenses associated with different Assets, we can automatically generate necessary attributions and licensing info for AssetPacks, allowing developers to easily pick AssetPacks which fit their application's licensing needs.
An Asset defines a specific resource. The following types of Assets should be supported:
- src: URL to load model from
- license: the license associated with this content
- type: Collada, FBX, OBJ, JSON, STL, etc.
- src: URL to load geometry from
- license: the license associated with this content
- src: URL to load image from
- license: the license associated with this content
- type: basic, lambert, phong, shader
- color
- shininess
- map
- normalMap
- specularMap
- license: the license associated with this content
- src: URL to load script from
- license: the license associated with this content
- src: URL to load thing definition from
- license: the license associated with this content
- vertex: URL to load vertex shader from
- fragment: URL to load fragment shader from
- license: the license associated with this content
- src: URL to load sound from
- loop
- license: the license associated with this content
A collection of any number of related Asset objects.
- src: URL to load AssetPack definition from