Class TwoSidedMaterialExample

java.lang.Object
X3dForWebAuthors.Chapter05AppearanceMaterialTextures.TwoSidedMaterialExample

public class TwoSidedMaterialExample extends Object

A Sphere colored red on outside and orange on inside using TwoSidedMaterial, you can shift viewpoints to see different colors outside/inside the Sphere.

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

Scene Meta Information
meta tags   Document Metadata
title TwoSidedMaterialExample.x3d
description A Sphere colored red on outside and orange on inside using TwoSidedMaterial, you can shift viewpoints to see different colors outside/inside the Sphere.
creator Don Brutzman and MV3204 class
created 18 February 2009
modified 4 October 2023
warning X3D4 Architecture has deprecated TwoSidedMaterial, preferring use of child backMaterial node in parent Appearance.
specificationSection X3D 4.0 Architecture, ISO/IEC 19775-1:2023, 12 Shape component, 12.4.9 TwoSidedMaterial (deprecated)
specificationUrl https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/shape.html#TwoSidedMaterial
reference https://www.web3d.org/x3d/tooltips/X3dTooltips.html#TwoSidedMaterial
reference https://X3dGraphics.com
reference https://www.web3d.org/x3d/content/examples/X3dResources.html
rights Copyright (c) 2006, Daly Realism and Don Brutzman
subject X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com
identifier https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/TwoSidedMaterialExample.x3d
generator X3D-Edit 4.0, 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.