instantreality 1.0

Component:
Texturing
Status:
fully implemented
Structure type:
concrete
Standard:
X3D3.0

PixelTexture1D

PixelTexture1D creates a 1D-image texture map using a numeric array of pixel values. Texture maps have a 1D coordinate system (s) with (s) values in range [0.0, 1.0] for opposite corners of the image. Hint: this is a good way to bundle image(s) into a single scene file, avoiding mutliple downloads. Warning: aggregate file size can grow dramatically. Hint: insert Shape and Appearance nodes before adding texture.

Inheritance

Code

XML encoding
<PixelTexture1D logFeature=''
image='0 0 0'
 />
Classic encoding
PixelTexture1D {
	logFeature [""]
	image 0 0 0
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFImage image SFImage inputOutput 0 0 0 Defines image: width height number_of_components pixel_values. width and height are pixel count, number_of_components = 1 (intensity), 2 (intensity alpha), 3 (red green blue), 4 (red green blue alpha-transparency). intensity example: [1 2 1 0xFF 0x00] intensity-alpha example: [needed] red-green-blue example: [2 4 3 0xFF0000 0xFF00 0 0 0 0 0xFFFFFF 0xFFFF00] red-green-blue-alpha example: [needed]
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.
MFString logFeature MFString inputOutput state, child, parent, route, eventIn, eventOut controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element