Class RenderingComponentExamples

java.lang.Object
Basic.development.RenderingComponentExamples

public class RenderingComponentExamples extends Object

Examples showing use of new X3D Rendering component nodes (IndexedTriangleFanSet IndexedTriangleSet IndexedTriangleStripSet LineSet TriangleFanSet TriangleSet TriangleStripSet), implemented as prototypes for backwards compatibility with VRML 97.

Related links: RenderingComponentExamples.java source, RenderingComponentExamples catalog page, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.

Scene Meta Information
meta tags   Document Metadata
title RenderingComponentExamples.x3d
description Examples showing use of new X3D Rendering component nodes (IndexedTriangleFanSet IndexedTriangleSet IndexedTriangleStripSet LineSet TriangleFanSet TriangleSet TriangleStripSet), implemented as prototypes for backwards compatibility with VRML 97.
creator Don Brutzman, Ken Curtin, Duane Davis, Christos Kalogrias
created 17 November 2003
modified 20 October 2019
TODO Extract, move TriangleStripSet example to X3dSpecifications directory
reference https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/rendering.html
reference RenderingComponentPrototypes.x3d
reference https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/TriangleStripSetFigure.x3d
info X3dToVrml97.xslt translation stylesheet automatically invokes these prototypes upon encountering any new Rendering nodes.
reference https://www.web3d.org/x3d/stylesheets/X3dToVrml97.xslt
subject X3D Rendering component nodes (IndexedTriangleFanSet IndexedTriangleSet IndexedTriangleStripSet LineSet TriangleFanSet TriangleSet TriangleStripSet)
identifier https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentExamples.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 to create Java source code from an .x3d model.

  • Constructor Details

    • RenderingComponentExamples

      public RenderingComponentExamples()
      Default constructor to create this object.
  • Method Details

    • initialize

      public final void initialize()
      Create and initialize the X3D model for this object.
    • getX3dModel

      public org.web3d.x3d.jsail.Core.X3D getX3dModel()
      Provide a shallow copy of the X3D model.
      Returns:
      RenderingComponentExamples model
      See Also:
      X3D
    • main

      public static void main(String[] args)
      Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.
      Parameters:
      args - array of input parameters, provided as arguments
      See Also:
      X3D.handleArguments(args), X3D.validationReport(), CommandLine, CommandLine.USAGE, ConfigurationProperties