Table of Contents Previous Chapter Viewpoint Slideshow    Chapter Viewpoint Slideshow Javadoc for translated java source Next Chapter Viewpoint Slideshow X3D Resources

X3D Example Archives: Conformance Nist, Miscellaneous, PROTO

[1] def.x3d - Front View
Chapter Viewpoint Slideshow

VRML97 and ClassicVRML encodings use the term PROTO, while XML and JSON encodings use the ProtoDeclare element.

ProtoDeclare is a Prototype Declaration, defining a new node made up of other node(s). ProtoDeclare contains ProtoInterface and ProtoBody statements. Hint: ProtoDeclare is a definition only, add corresponding ProtoInstance nodes to create new instances.

VRML97 and ClassicVRML encodings simply uses the prototype name, while XML and JSON encodings use the ProtoInstance element.

ProtoInstance creates an instance node of a locally or externally declared prototype definition. ProtoDeclare/ExternProtoDeclare definitions are abstract, corresponding ProtoInstance nodes are concrete. ProtoInstance nodes typically contain fieldValue statements to override default field values defined in the original ProtoDeclare statement. Hint: the node type of a ProtoInstance exactly matches the first node in the corresponding ProtoDeclare/ProtoBody declaration.

X3D Tooltips of interest: ExternProtoDeclare statement, ProtoDeclare statement, ProtoInterface statement, ProtoBody statement, field, IS, connect, and ProtoInstance node with fieldValue statement.

X3D Specification sections of interest: Core component, 7.2 Concepts and 7.2.5.8 PROTO statement.

X3D Examples Archives of related interest:

5 X3D Scenes                 10 Viewpoint Snapshots

def
def.x3d    
[1] def.x3d - Front View
[2] def.x3d - (default X3D view from 0 0 10)

fivedeepinternalroute
fivedeepinternalroute.x3d    
[3] fivedeepinternalroute.x3d - Front View
[4] fivedeepinternalroute.x3d - (default X3D view from 0 0 10)

fivedeepnesting
fivedeepnesting.x3d    
[5] fivedeepnesting.x3d - Front View
[6] fivedeepnesting.x3d - (default X3D view from 0 0 10)

route_inside
route inside.x3d    
[7] route_inside.x3d - Front View
[8] route_inside.x3d - (default X3D view from 0 0 10)

simple
simple.x3d    
[9] simple.x3d - Front View
[10] simple.x3d - (default X3D view from 0 0 10)
 

This viewpoint slideshow is online at
http://www.web3d.org/x3d/content/examples/ConformanceNist/Miscellaneous/PROTO/viewpointSlideshow.html

Validate XHTML 1.1

Viewpoint image version history at
http://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/ConformanceNist/Miscellaneous/PROTO/_viewpoints

Table of Contents Previous Chapter Viewpoint Slideshow    Chapter Viewpoint Slideshow Javadoc for translated java source Next Chapter Viewpoint Slideshow X3D Resources