instantreality 1.0

Component:
Texturing3D
Status:
fully implemented
Structure type:
concrete
Standard:
X3D3.1

PixelTexture3D

PixelTexture creates a 3D-image texture map using a numeric array of pixel values. Texture maps have a 3D coordinate system (s, t, r) horizontal, vertical and depth, with (s, t, r) 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
<PixelTexture3D image='0 0 0'
logFeature=''
 />
Classic encoding
PixelTexture3D {
	image 0 0 0
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
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.
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]
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