Class Example03

java.lang.Object
Basic.Vrml97Specification.Example03

public class Example03 extends Object

VRML 97 specification example: Reading the following file results in three spheres being drawn. The first sphere defines a unit sphere at the origin named "Joe", the second sphere defines a smaller sphere translated along the +x axis, the third sphere is a reference to the second sphere and is translated along the -x axis. If any changes occur to the second sphere (e.g. radius changes), then the third sphere, will change too.

Related links: Catalog page Example03, source Example03.java, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.

Scene Meta Information
meta tags   Document Metadata
title Example03.x3d
translator Don Brutzman
created 26 June 2000
modified 28 October 2019
creator X3D working group
description VRML 97 specification example: Reading the following file results in three spheres being drawn. The first sphere defines a unit sphere at the origin named "Joe", the second sphere defines a smaller sphere translated along the +x axis, the third sphere is a reference to the second sphere and is translated along the -x axis. If any changes occur to the second sphere (e.g. radius changes), then the third sphere, will change too.
reference originals/exampleD_3.wrl
specificationSection VRML 97, ISO/IEC 14772-1, Part 1: Functional specification and UTF-8 encoding, D.3 Instancing (sharing)
specificationUrl https://www.web3d.org/documents/specifications/14772/V2.0/part1/examples.html#D.3
identifier https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example03.x3d
generator X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit
license ../license.html
 

This program uses the X3D Java Scene Access Interface Library (X3DJSAIL). It has been produced using the X3dToJava.xslt stylesheet (version control) which is used to create Java source code from an original .x3d model.