Class Figure20_12TwoDirectionalLightsAimingLeftRightThroughSpheres

java.lang.Object
Vrml2Sourcebook.Chapter20Lighting.Figure20_12TwoDirectionalLightsAimingLeftRightThroughSpheres

public class Figure20_12TwoDirectionalLightsAimingLeftRightThroughSpheres extends Object

A sphere world illuminated by a DirectionalLight aiming up and to the right. Compare Figures 20.11a, 11b, 12.

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

Scene Meta Information
meta tags   Document Metadata
title Figure20_12TwoDirectionalLightsAimingLeftRightThroughSpheres.x3d
creator Figure 20.12, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland
reference http://www.wiley.com/legacy/compbooks/vrml2sbk/ch20/20fig12.htm
translator Don Brutzman
created 8 September 2000
modified 20 October 2019
description A sphere world illuminated by a DirectionalLight aiming up and to the right. Compare Figures 20.11a, 11b, 12.
reference Figure20_11aDirectionalLightAimingRightThroughSpheres.x3d
reference Figure20_11bDirectionalLightAimingUpperRightThroughSpheres.x3d
identifier https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter20Lighting/Figure20_12TwoDirectionalLightsAimingLeftRightThroughSpheres.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.

  • Constructor Details

    • Figure20_12TwoDirectionalLightsAimingLeftRightThroughSpheres

      public Figure20_12TwoDirectionalLightsAimingLeftRightThroughSpheres()
      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:
      Figure20_12TwoDirectionalLightsAimingLeftRightThroughSpheres model
      See Also:
    • 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: