Skip to content

Latest commit

 

History

History
56 lines (53 loc) · 7.35 KB

x3d-nodes.md

File metadata and controls

56 lines (53 loc) · 7.35 KB

Animation

Node Notes
CoordinateInterpolator can be only connected to Geometry Nodes
OrientationInterpolator
PositionInterpolator
ScalarInterpolator
TimeSensor

Appearance

Node Description
Appearance To make use of the Ogre Material scripts, Appearance nodes can use such scripts if the DEF tag has a value which specifies a Material name. Appearance Nodes also can have RTShaderSystem nodes as children which specify additional use of specific shader snippets.
ComposedShader Can have Field nodes as children which specify parameters of the ShaderParts.
Field Not contained in the ISO standard. Child node of Composed shader. This node specifies parameters of the shader. Therefore it has a name, a type, and a value tag. The name has to be the same as the variable used in the shader. The type must specify what kind of variable this is. Currently only sfint32, sffloat, and sfvec3f are supported. Value contains the content of the variable (e.g. a int, a float or three whitespace separated floats)
ImageTexture It can also have RTShaderSystem nodes as children which can specify behaviour of the Texture.
Material
RTShaderSystem Not Contained in the ISO standard. Enables the use of the Real Time Shading System from Ogre. The behaviour is the same as the rtshader_system parts in the Ogre material scripts. The first part has to be specified as property, all values in one 'value' string separated by commas. Its a child node of Appearance or ImageTexture nodes
ShaderPart

Geometry

Node Notes
Box
Color
Cone Doesn't have boolean fields for specifying the appearance: bottom, and side
Coordinate
Cylinder Doesn't have boolean fields for specifying the appearance: bottom, top and side
IndexedFaceSet Only works with triangles for now. (bug #1)
IndexedLineSet Doesn't implement the color values
IndexedPrimitiveSet Not contained in the X3D standard. Follows InstantReality as parent of all IndexedSets.
IndexedTriangleSet
Inline Group node, primarily to hold the URL of a file. This URL is read in and parsed by X3DFile object. Details see system architecture. All Details specified in the inline script are default active
Normal
Rectangle2D
Shape bbox* fields are ignored and autocomputed by viewer
Sphere
TextureCoordinate

World

Node Description
Background Only implements the skyColor. If ImageBackground is present, it will be preferred.
DirectionalLight The ambientIntensity and the global field are not implemented.
Group Doesn't implement the bounding box.
ImageBackground Not contained in the X3D standard. Follows InstantReality. Only implements Color, Texture, and TexCoords (buggy). BackgroundColor is only visible, if texture is not found. Is preferred over Background.
NavigationInfo Only implements the headlight field from the standard. Has additional field (control) which gets a node ID. If it's specified this node will be controlled by the input system instead of the active viewpoint. If it's not specified, the active viewpoint will be controlled.
Route you can only create Routes between a small set of predefined Nodes
Scene Not contained in the X3D standard. Follows InstantReality
Transform No shearing support. The scaleOrientation is only valid for multiples of 90°. bbox* fields are ignored and autocomputed by viewer
Viewpoint Only implements FieldOfView, Orientation and Position. Orientation is coded as an Quaternion.
WorldInfo Doesn't implement the info field.