Changes

Jump to: navigation, search

Canvas 3D - Texture Tag

714 bytes added, 18:49, 20 October 2006
no edit summary
== Introduction ==
IntroThe Texture Tag specifies a location for a texture (an image) to be retrieved and placed on an object. The texture is used in conjunction with other primitives so that it is displayed on their faces. Skinning of a texture and position co-ordinates are not going to be included at this time.
== Tag Attributes ==
* id
** '''Usage:''' <texture id="sometexture" />.
** The ''id'' attribute gives the texture an identifier so that it may be used in conjunction with other objects.
** This attribute is mandatory.
* href
** '''Usage:''' <texture href="http://foo.com/bar.tga" />.
** The ''href'' attribute refers to the hyperlink reference where the texture file is stored.
** This attribute is mandatory.
== Syntax ==
<pre>
Syntax Goes Here<canvas> <texture href="file:///foo.tga" id="mytexture" /></canvas>
</pre>
1
edit

Navigation menu