ParallelGraphics  
Home  »  Developer Zone  »  Products  »  Cortona VRML Client  »  VRML Extensions  »  ZGroup
ZGroup
The ZGroup node enables/disables writing children geometry in Z-buffer and checking Z-buffer during its output.

EXTERNPROTO	ZGroup [
	eventIn       MFNode   addChildren
	eventIn       MFNode   removeChildren
	exposedField  MFNode   children []
	field         SFVec3f  bboxCenter 0 0 0     # (-inf inf) 
	field         SFVec3f  bboxSize  -1 -1 -1   # (0, inf) or -1,-1,-1

	exposedField  SFBool   write TRUE
	exposedField  SFBool   check TRUE
	exposedField  SFBool   writePixelBuffer TRUE
]
[ 
   "urn:inet:parallelgraphics.com:cortona:ZGroup" 
   "http://www.parallelgraphics.com/vrml/proto/Cortona/extensions.wrl#ZGroup"
]

The fields of the ZGroup node, with the exception of the check, and write fields, are analogous to the corresponding fields of the Group VRML node.

Fields and events
 
check  Specifies whether Z-buffer is checked during rendering of geometry specified in the children field.

 
write  Specifies whether the children geometry should be written to Z-buffer.

 
writePixelBuffer  Specifies whether the children geometry should be written to pixel-buffer. The default value of writePixelBuffer is TRUE.

ZGroup example
[view]


scene size: 6.3KB
download zipped archive
(archive size: 1.2KB)




Last updated: Wed, 19 Nov 2008
© 2000-2008 ParallelGraphics. All rights reserved.