Table of Contents Previous Directory Viewpoint Slideshow    Directory Viewpoint Slideshow Javadoc for translated java source Next Directory Viewpoint Slideshow X3D Resources

X3D Example Archives: VRML 2 Sourcebook, Chapter 17 Textures

[1] Figure17_04aTextureBoxTest.x3d Texture test on a basic shape
Directory Viewpoint Slideshow

Textures are 2D images that can be wrapped on top of 3D geometry.

You can model every tiny texture detail of a world using a vast number of colored faces, but this is time consuming and difficult. Use a trick instead: take a picture of the real thing, then paste that picture on the shape, like sticking on a decal image. Specify the texture using an ImageTexture, PixelTexture, or MovieTexture node within an Appearance node. Color textures override material, grayscale textures multiply against the color values. Textures with transparency create holes that can be seen through.

These X3D scenes are adapted directly from the original VRML 2.0 Sourcebook chapter examples. Also available: Introduction to VRML97 SIGGRAPH98 course notes.

Figure 17.08b Textured Elevation Grid Mountain
14 X3D Models                 30 X3D Model Viewpoint Snapshots

Figure17_04aTextureBoxTest
Figure 17 04a Texture Box Test.x3d    
[1] Figure17_04aTextureBoxTest.x3d Texture test on a basic shape
[2] Figure17_04aTextureBoxTest.x3d (default X3D view from 0 0 10)

Figure17_04bTextureConeTest
Figure 17 04b Texture Cone Test.x3d    
[3] Figure17_04bTextureConeTest.x3d Texture test on a basic shape
[4] Figure17_04bTextureConeTest.x3d (default X3D view from 0 0 10)

Figure17_04cTextureCylinderTest
Figure 17 04c Texture Cylinder Test.x3d    
[5] Figure17_04cTextureCylinderTest.x3d Texture test on a basic shape
[6] Figure17_04cTextureCylinderTest.x3d (default X3D view from 0 0 10)

Figure17_04dTextureSphereTest
Figure 17 04d Texture Sphere Test.x3d    
[7] Figure17_04dTextureSphereTest.x3d Texture test on a basic shape
[8] Figure17_04dTextureSphereTest.x3d (default X3D view from 0 0 10)

Figure17_05dTexturedSodaCan
Figure 17 05d Textured Soda Can.x3d    
[9] Figure17_05dTexturedSodaCan.x3d Soda can with multiple textures
[10] Figure17_05dTexturedSodaCan.x3d (default X3D view from 0 0 10)

Figure17_06bTexturedText
Figure 17 06b Textured Text.x3d    
[11] Figure17_06bTexturedText.x3d Text texture test
[12] Figure17_06bTexturedText.x3d (default X3D view from 0 0 10)

Figure17_07bTexturedLightningBolt
Figure 17 07b Textured Lightning Bolt.x3d    
[13] Figure17_07bTexturedLightningBolt.x3d Textured lightning bolt
[14] Figure17_07bTexturedLightningBolt.x3d (default X3D view from 0 0 10)

Figure17_08bTexturedElevationGridMountain
Figure 17 08b Textured Elevation Grid Mountain.x3d    
[15] Figure17_08bTexturedElevationGridMountain.x3d Textured mountain
[16] Figure17_08bTexturedElevationGridMountain.x3d (default X3D view)

Figure17_09bTexturedDonutTorusExtrusion
Figure 17 09b Textured Donut Torus Extrusion.x3d    
[17] Figure17_09bTexturedDonutTorusExtrusion.x3d Yum yum, textured icing on an extursion-torus donut. With chocolate and sprinkles.
[18] Figure17_09bTexturedDonutTorusExtrusion.x3d Looking up from below
[19] Figure17_09bTexturedDonutTorusExtrusion.x3d (default X3D view)

Figure17_10cTextureTransparencyTree
Figure 17 10c Texture Transparency Tree.x3d    
[20] Figure17_10cTextureTransparencyTree.x3d Tree view
[21] Figure17_10cTextureTransparencyTree.x3d Side view (no billboarding)
[22] Figure17_10cTextureTransparencyTree.x3d (default X3D view from 0 0 10)

Figure17_11bGreyTextureGreenMaterialStripedCylinder
Figure 17 11b Grey Texture Green Material Striped Cylinder.x3d    
[23] Figure17_11bGreyTextureGreenMaterialStripedCylinder.x3d Cylinder view note interactions of greyscale texture and green emissiveColor material
[24] Figure17_11bGreyTextureGreenMaterialStripedCylinder.x3d

Figure17_12bWoodTextures
Figure 17 12b Wood Textures.x3d    
[25] Figure17_12bWoodTextures.x3d Wood greyscale texture with different colors
[26] Figure17_12bWoodTextures.x3d (default X3D view from 0 0 10)

Figure17_13SimplePixelTexture
Figure 17 13 Simple Pixel Texture.x3d    
[27] Figure17_13SimplePixelTexture.x3d PixelTexture
[28] Figure17_13SimplePixelTexture.x3d (default X3D view from 0 0 10)

Figure17_14bMovieTextureWhirlpool
Figure 17 14b Movie Texture Whirlpool.x3d    
[29] Figure17_14bMovieTextureWhirlpool.x3d MovieTexture whirlpool
[30] Figure17_14bMovieTextureWhirlpool.x3d (default X3D view from 0 0 10)
 

This viewpoint slideshow is online at
https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter17Textures/viewpointSlideshow.html

Validate XHTML 1.1

Viewpoint image version history at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter17Textures/_viewpoints

Table of Contents Previous Directory Viewpoint Slideshow    Directory Viewpoint Slideshow Javadoc for translated java source Next Directory Viewpoint Slideshow X3D Resources