instantreality 1.0

Component:
Texturing
Status:
fully implemented
Structure type:
concrete
Standard:
Avalon

ImageTexture2D (Standard name: ImageTexture)

ImageTexture maps a 2D-image file onto a geometric shape. Texture maps have a 2D coordinate system (s, t) horizontal and vertical, with (s, t) values in range [0.0, 1.0] for opposite corners of the image. Hint: insert Shape and Appearance nodes before adding texture. Warning: bright Material emissiveColor values can wash out some textures.

Inheritance

Code

XML encoding
<ImageTexture2D url=''
logFeature=''
 />
Classic encoding
ImageTexture2D {
	url [""]
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
MFString url MFString inputOutput Location and filename of image. Multiple locations are more reliable, and Web locations let e-mail attachments work. Hint: Strings can have multiple values, so separate each string by quote marks [ 'http://www.url1.org' 'http://www.url2.org' 'etc.' ]. Hint: XML encoding for ' is ampersandquot; (a character entity). Warning: strictly match directory and filename capitalization for http links! Hint: can replace embedded blank(s) in url queries with %20 for each blank character.
SFNode textureProperties SFNode initializeOnly TextureProperties Definition of a texture property set. When set, the corresponding fields like repeat etc of the texture itself are ignored.
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element