#-- Version 7 --#
#
# Beta for AFX/AMD1
#
# 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, 2003 [MBS] According to 68th meeting resolutions, created for AFX/AMD1 nodes

#
# AFX/AMD1 nodes
#


PROTO DepthImageV2 [ #%NDT=SFWorldNode,SF3DNode,SFDepthImageNode %COD=N
field		SFDepthTextureNode	diTexture	NULL
field		SFFloat		farPlane	100		#%b=[0,+I]
field		SFVec2f		fieldOfView	0.75 0.75	#%b=[0,3.1415927]
field		SFFloat		nearPlane	10	 	#%b=[0,+I]
field		SFRotation	orientation	0 0 1 0
field		SFBool		orthographic	TRUE		
field		SFVec3f		position	0 0 10		#%b=[-I,+I]
field 		SFVec2f 	splatMinMax 	0.115 0.975 	#%b=[-I,+I]
]{}


PROTO MorphShape[ #%NDT=SFWorldNode, SF3DNode,SF2DNode, %COD=N
exposedField	SFInt32 				morphID  0
exposedField	SFShapeNode 		baseShape NULL
exposedField	MFGeometryNode 	targetShapes []
exposedField	MFFloat 				weights []
]{}

PROTO PointTextureV2 [ #%NDT=SFWorldNode,SFDepthTextureNode %COD=N
field		MFColor		color		[]
field		MFInt32		depth		[]		#%b=[0,+I]
field		SFInt32		depthNbBits 	7		#%b=[0,31]  #%q=13 5
field		SFInt32 	height 		256		#%b=[1,+I]
field		SFNormalNode	normal		NULL		#%b=[-I,+I]
field		MFVec3f		splatU		[]		#%b=[-I,+I] #%q=1
field		MFVec3f		splatV		[]		#%b=[-I,+I] #%q=1
field		SFInt32		width		256		#%b=[1,+I]
]{}


PROTO SimpleTextureV2 [ #%NDT=SFWorldNode,SFDepthTextureNode %COD=N
field 		SFTextureNode	depth	        NULL
field 		SFTextureNode 	normal		NULL
field 		SFTextureNode 	splatU 		NULL
field 		SFTextureNode 	splatV 		NULL
field		SFTextureNode	texture		NULL
]{}





