📄 templates5.txt
字号:
#-- Version 5 --## templates for the BIFS nodes# =============================# Notations I = Infinity# %q=x Quantization method x# 0 None# 1 3D Position (SFVec3F)# 2 2D Position (SFVec2F)# 3 drawing Order# 4 Color (SFColor)# 5 Texture Coordinate# 6 Angle (SFFloat 0-2PI)# 7 Scale (SFVec2F or SFVec3F)# 8 Interpolators keys# 9 Normals# 10 Rotations (SFRotation)# 11 Object Size 3D (SFVec3F and SFFloat)# 12 Object Size 2D# 13 Linear Quantization (+ Nb Bits)# 14 Index (of IndexedFaceSet,...)# 15 SFVec4f# 16 Reserved## %a=y Animation method for fields that can be animated### OO 081498 To match BIFS's update numbering# 0 None# 1 Position 3D# 2 Position 2D# 4 Color# 6 Angle# 7 Float# 8 BoundFloat (intensities, transparencies,...)# 9 Normal# 10 Rotation# 11 Size 3D# 12 Size 2D# 13 Integer# 14 Reserved## 0 3D Position## 1 2D positon## 2 Color (SFColor)## 3 Angle (SFFloat 0-2pi)## 4 Normals## 5 Scale (SFVec2F)## 6 Rotation (SFRotation)## 7 Object Size or Scalar (SFFloat)## %b=[min,max] bounds of value# For each scalar or vectorial value, bounds may be specified.# This will be used to check if user-specified values are out of bounds. In# this case, bounds specified in the templates will be used (if not infinity).## %NDT=Node Data Type# For each node, one or several Node Data Types are assigned, specifying which node sub# types the node belongs to. Moreover, each field of type SF/MF3DNode is re assigned# a unique correct NodeDataType according to specify the allowed values of the field## %COD Type of encoding# N Normal Syntax : The node syntax follos the generic syntax for nodes# S Special Syntax : The node has a specific syntax### NCT => VRML type equivalence## SF/MFxxxNode => SF/MFNode# SF/MFURL => SF/MFString# SF/MFCommandBuffer => SF/MFString# SF/MFScript => SF/MFString### Modification History# ------------------------------------------------# March 18, 2004 [MBS] According to 68th meeting resolutions, removed Light-Field Mapping, Solid modeling and Particle systems related nodes.# This includes the nodes:# - # Aug. 1, 2003 [MBS] According to 65th meeting resolutions, removed Multi-User Worlds nodes MUxxx# Dec. 19, 2002 [MBS] According to 63rd meeting resolutions, removed Synthetic textures nodes: ColorProfile, SynthesizedTextureXXX, GradientLinear,GradientRadial,Ellipse# Dec. 8, 2002 [MBS,MH] OctreeImage.image changed from MFTextureNode to MFDepthImageNode. DepthImage now also belongs to SFDepthImageNode context.# Nov. 6, 2002 [MBS] modified nodes according to study of FPDAM (w5285).# Oct 22, 2002 [MBS] added GradientRadial.Transform field which was missing but was in the spec.# Aug 31, 2002 [MBS] # changed SynthesizedTextureCurve.separatingFlags to MFInt32 since MFBool doesn't exist in VRML and bounds to 0 and 1 on 1 bit. # For profileType, changed quantizer to 13 1 instead of 13 2 since values are 0 or 1# Aug 7, 2002 [MBS] aligned nodes to FDPAM# May 9, 2002 [AFX] added quantizers, syntax check with PDAM# January 28, 2002 [MBS] added rest of AFX nodes, alpha order everything# January 6, 2002 [MBS] added AFX nodes# December 7, 2001 [MBS, IG] created for AMD4 (v5) nodes## AFX nodes#PROTO BitWrapper [ #%NDT=SFWorldNode,SF3DNode,SF2DNode,SFGeometryNode %COD=Nfield SFWorldNode node NULLfield SFInt32 type 0 field MFURL url []field SFString buffer ""]{}PROTO CoordinateInterpolator4D [ #%NDT=SFWorldNode,SF3DNode %COD=NeventIn SFFloat set_fractionexposedField MFFloat key [] #%b=[0,1] #%q=8exposedField MFVec4f keyValue [] #%b=(-I,+I) #%q=15eventOut MFVec4f value_changed] {}PROTO DepthImage [ #%NDT=SFWorldNode,SF3DNode,SFDepthImageNode %COD=Nfield SFDepthTextureNode diTexture NULLfield SFFloat farPlane 100 #%b=[0,+I]field SFVec2f fieldOfView 0.785398 0.785398 #%b=[0,3.1415927]field SFFloat nearPlane 10 #%b=[0,+I]field SFRotation orientation 0 0 1 0field SFBool orthographic TRUE field SFVec3f position 0 0 10 #%b=[-I,+I]]{}PROTO FFD [ #%NDT=SFWorldNode,SF3DNode %COD=NeventIn MF3DNode addChildreneventIn MF3DNode removeChildrenexposedField MF3DNode children []exposedField MFVec4f controlPoint [] #%b=[-I,+I] #%q=15 #%a=15field SFInt32 uDimension 2 #%b=[2,257] #%q=13 8field MFFloat uKnot [] #%b=[-I,+I]field SFInt32 uOrder 2 #%b=[2,33] #%q=13 5field SFInt32 vDimension 2 #%b=[2,257] #%q=13 8field MFFloat vKnot [] #%b=[-I,+I]field SFInt32 vOrder 2 #%b=[2,33] #%q=13 5field SFInt32 wDimension 2 #%b=[2,257] #%q=13 8field MFFloat wKnot [] #%b=[-I,+I]field SFInt32 wOrder 2 #%b=[2,33] #%q=13 5]{}PROTO Implicit [ #%NDT=SFWorldNode,SFGeometryNode %COD=NexposedField SFVec3f bboxSize 2 2 2 #%b=[0,+I] #%q=11 #%a=11exposedField MFFloat c [] #%b=[-I,+I] #%q=0 #%a=7exposedField MFInt32 densities [] #%b=[0,+I]exposedField SFBool dual FALSEexposedField SFBool solid FALSE]{}# renamed as XX for deletionPROTO XXLFM_Appearance [ #%NDT=SFWorldNode,SFAppearanceNode %COD=NexposedField SFBlendListNode blendList NULLexposedField MFLightMapNode lightMapList []exposedField MFTextureNode tileList []exposedField SFFrameListNode vertexFrameList NULL]{}# renamed as XX for deletionPROTO XXLFM_BlendList [ #%NDT=SFWorldNode,SFBlendListNode %COD=NexposedField MFInt32 blendMode [] #%b=[0,1] #%q=13 1exposedField MFInt32 lightMapIndex [] #%q=14]{}# renamed as XX for deletionPROTO XXLFM_FrameList [ #%NDT=SFWorldNode,SFFrameListNode %COD=NexposedField MFInt32 index [ -1 ] #%q=14exposedField MFVec3f frame [ 1 0 0, 0 1 0, 0 0 1 ] #%b=[-1,1] #%q=1]{}# renamed as XX for deletionPROTO XXLFM_LightMap [ #%NDT=SFWorldNode,SFLightMapNode %COD=NexposedField SFVec3f biasRGB 0 0 0 #%b=[-1,1] #%q=7exposedField SFInt32 priorityLevel 0 #%b=[0,255] #%q=13 8exposedField SFVec3f scaleRGB 1 1 1 #%b=[-1,1] #%q=7exposedField SFSurfaceMapNode surfaceMapList NULLexposedField SFViewMapNode viewMapList NULL]{}# renamed as XX for deletionPROTO XXLFM_SurfaceMapList [ #%NDT=SFWorldNode,SFSurfaceMapNode %COD=NexposedField MFInt32 tileIndex [] #%q=14exposedField SFTextureCoordinateNode triangleCoordinate NULLexposedField MFInt32 triangleIndex [] #%q=14exposedField MFInt32 viewMapIndex [] #%q=14]{}# renamed as XX for deletionPROTO XXLFM_ViewMapList [ #%NDT=SFWorldNode,SFViewMapNode %COD=NexposedField SFTextureCoordinateNode textureOrigin NULLexposedField SFTextureCoordinateNode textureSize NULLexposedField MFInt32 tileIndex [] #%q=14exposedField MFInt32 vertexIndex [] #%q=14]{}PROTO MeshGrid [ #%NDT=SFWorldNode,SFGeometryNode %COD=NeventIn MFInt32 set_colorIndex eventIn MFInt32 set_coordIndex eventIn MFInt32 set_normalIndex eventIn MFInt32 set_texCoordIndex exposedField SFColorNode color NULLexposedField SFCoordinateNode coord NULLexposedField SFInt32 displayLevel 0 #%b=[0, +I] #%q=13 32 #%a=13exposedField SFInt32 filterType 0 #%b=[0, 1] #%q=13 2 #%a=13exposedField SFCoordinateNode gridCoord NULLexposedField SFInt32 hierarchicalLevel 0 #%b=[-1, +I] #%q=13 32 #%a=13exposedField MFInt32 nLevels [] #%q=7 #%a=7exposedField SFNormalNode normal NULL exposedField MFInt32 nSlices [] #%q=7 #%a=7exposedField SFTextureCoordinateNode texCoord NULLexposedField MFFloat vertexOffset [] #%b=[0.0, 2.0] #%q=7 #%a=7exposedField MFInt32 vertexLink [] #%b=[0, 3] #%q=13 2field MFInt32 colorIndex [] #%b=[-1, +I] #%q=14field MFInt32 coordIndex [] #%b=[-1, +I] #%q=14field MFInt32 normalIndex [] #%b=[-1, +I] #%q=14field SFBool solid TRUE field MFInt32 texCoordIndex [] #%b=[-1, +I] #%q=14eventOut SFBool isLoadingeventOut MFInt32 nVertices ]{}PROTO NonLinearDeformer [ #%NDT=SFWorldNode,SFGeometryNode %COD=NexposedField SFVec3f axis 0 0 1 #%b=[0,1]exposedField MFFloat extend []exposedField SFGeometryNode geometry NULLexposedField SFFloat param 0exposedField SFInt32 type 0 #%b=[0,2]]{}PROTO NurbsCurve [ #%NDT=SFWorldNode,SFGeometryNode %COD=NeventIn MFInt32 set_colorIndexexposedField SFColorNode color NULLexposedField MFVec4f controlPoint [] #%b=[-I,+I] #%q=15 #%a=15exposedField SFInt32 tessellation 0 #%b=[0,+I]field MFInt32 colorIndex [] #%q=14field SFBool colorPerVertex TRUEfield MFFloat knot [] #%b=[-I,+I]field SFInt32 order 4 #%b=[3,34] #%q=13 5]{}PROTO NurbsCurve2D [ #%NDT=SFWorldNode,SFGeometryNode %COD=NeventIn MFInt32 set_colorIndexexposedField SFColorNode color NULLexposedField MFVec3f controlPoint [] #%b=[-I,+I] #%q=2 #%a=2exposedField SFInt32 tessellation 0 #%b=[0,+I]field MFInt32 colorIndex [] #%q=14field SFBool colorPerVertex TRUEfield MFFloat knot [] #%b=[-I,+I]field SFInt32 order 4 #%b=[3,34] #%q=13 5]{}PROTO NurbsSurface [ #%NDT=SFWorldNode,SFGeometryNode %COD=NeventIn MFInt32 set_colorIndexeventIn MFInt32 set_texColorIndexexposedField SFColorNode color NULLexposedField MFVec4f controlPoint [] #%b=[-I,+I] #%q=15 #%a=15exposedField SFTextureCoordinateNode texCoord NULLexposedField SFInt32 uTessellation 0 #%b=[0,+I] exposedField SFInt32 vTessellation 0 #%b=[0,+I]field SFBool ccw TRUEfield MFInt32 colorIndex [] #%q=14field SFBool colorPerVertex TRUEfield SFBool solid TRUEfield MFInt32 texColorIndex [] #%q=14field SFInt32 uDimension 4 #%b=[3,258] #%q=13 8field MFFloat uKnot [] #%b=[-I,+I]field SFInt32 uOrder 4 #%b=[3,34] #%q=13 5 field SFInt32 vDimension 4 #%b=[3,258] #%q=13 8field MFFloat vKnot [] #%b=[-I,+I]field SFInt32 vOrder 4 #%b=[3,34] #%q=13 5 ]{}PROTO OctreeImage [ #%NDT=SFWorldNode,SF3DNode %COD=Nfield MFDepthImageNode images []field MFInt32 octree [] #%b=[0,255] #%q=13 8field SFInt32 octreeResolution 256 #%b=[1,+I]field MFInt32 voxelImageIndex [] #%b=[0,255] #%q=13 8 ]{}# renamed as XX for deletionPROTO XXParticles [ #%NDT=SFWorldNode,SF3DNode %COD=NexposedField SFFloat creationRate 500exposedField SFFloat creationRateVariation 0 exposedField SFFloat emitAlpha 1.0 exposedField SFColor emitColor 1 1 1 exposedField SFColor emitColorVariation 0 0 0exposedField SFVec3f emitterPosition 0 3 0exposedField SFVec3f emitVelocity 0 0 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -