ParallelGraphics
Home  »  Developer Zone  »  Products  »  Cortona VRML Client  »  VRML Extensions  »  ZGroup
Up to VRML Extensions

AdvancedAppearance 

Animated GIF 

BumpMap 

Collision Detection 

CortonaExtrusion 

CubeEnvironment 

DirectX 9.0 Shaders 

Drag & Drop 

EventUtilities 

Flash animations 

FlashMovie 

FontStyle 

Inline Extension 

Interpolator Nodes 

Keyboard Input 

Layers and 2D Nodes 

MipMap 

NavigationInfo 

NURBS 

OrderedGroup 

Panel and HTMLText 

QuickTime 

SFVec2f Interpolator 

SphereEnvironment 

Splines 

Three-Dimensional Text 

TextureTransform3 

TransformSensor 

ZGroup 


Subscribe to Newsletter
 


Google Searchsite search:

 

%(domain)s %(domain)s
Install Cortona VRML Client!

Outline 3D

Try RobinZone!


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, 03 Sep 2008
© 2000-2008 ParallelGraphics. All rights reserved. Terms of use.