java.lang.Object
X3dForAdvancedModeling.GeometricShapes.Teapots

public class Teapots extends Object

Four watertight (solid) Utah Teapot Models converted from obj format.

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

Scene Meta Information
meta tags   Document Metadata
title Teapots.x3d
description Four watertight (solid) Utah Teapot Models converted from obj format.
created 20 March 2016
modified 20 October 2019
creator Pyarelal Knowles
translator Don Brutzman
reference wt_teapot.obj
reference teapot.ply
reference http://goanna.cs.rmit.edu.au/~pknowles/models.html
reference https://en.wikipedia.org/wiki/Utah_teapot
reference https://en.wikipedia.org/wiki/List_of_common_3D_test_models
reference http://www.realtimerendering.com/udacity/?load=demo/unit1-teapot-demo.js
TODO When all color values are the same, simplify conversion to Material or single-color ColorRGBA/Color node in X3D-Edit and X3dTidy
TODO When alpha is always 1, enable conversion from ColorRGBA to Color node in X3D-Edit and X3dTidy
identifier https://x3dgraphics.com/examples/X3dForAdvancedModeling/GeometricShapes/Teapots.x3d
generator Meshlab X3D Exported, http://meshlab.sourceforge.net
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 Summary

    Constructors
    Constructor
    Description
    Default constructor to create this object.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.web3d.x3d.jsail.Core.X3D
    Provide a shallow copy of the X3D model.
    void
    Create and initialize the X3D model for this object.
    static void
    main​(String[] args)
    Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Teapots

      public Teapots()
      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:
      Teapots 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