Table of Contents Previous Chapter Viewpoint Slideshow    Chapter Viewpoint Slideshow Next Chapter Viewpoint Slideshow X3D Resources

X3D Example Archives: VRML 2 Sourcebook, Chapter 17 - Textures

[1] Figure17.04aTextureBoxTest.x3d - Texture test on a basic shape
Chapter Viewpoint Slideshow

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 Scenes      30 Viewpoint Snapshots

Figure 17.04a Texture Box Test    
  [1] Figure17.04aTextureBoxTest.x3d - Texture test on a basic shape

  [2] Figure17.04aTextureBoxTest.x3d - (default X3D view from 0 0 10)


Figure 17.04b Texture Cone Test    
  [3] Figure17.04bTextureConeTest.x3d - Texture test on a basic shape

  [4] Figure17.04bTextureConeTest.x3d - (default X3D view from 0 0 10)


Figure 17.04c Texture Cylinder Test    
  [5] Figure17.04cTextureCylinderTest.x3d - Texture test on a basic shape

  [6] Figure17.04cTextureCylinderTest.x3d - (default X3D view from 0 0 10)


Figure 17.04d Texture Sphere Test    
  [7] Figure17.04dTextureSphereTest.x3d - Texture test on a basic shape

  [8] Figure17.04dTextureSphereTest.x3d - (default X3D view from 0 0 10)


Figure 17.05d Textured Soda Can    
  [9] Figure17.05dTexturedSodaCan.x3d - Soda can with multiple textures

  [10] Figure17.05dTexturedSodaCan.x3d - (default X3D view from 0 0 10)


Figure 17.06b Textured Text    
  [11] Figure17.06bTexturedText.x3d - Text texture test

  [12] Figure17.06bTexturedText.x3d - (default X3D view from 0 0 10)


Figure 17.07b Textured Lightning Bolt    
  [13] Figure17.07bTexturedLightningBolt.x3d - Textured lightning bolt

  [14] Figure17.07bTexturedLightningBolt.x3d - (default X3D view from 0 0 10)


Figure 17.08b Textured Elevation Grid Mountain    
  [15] Figure17.08bTexturedElevationGridMountain.x3d - Textured mountain

  [16] Figure17.08bTexturedElevationGridMountain.x3d - (default X3D view)


Figure 17.09b Textured Donut Torus Extrusion    
  [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)


Figure 17.10c Texture Transparency Tree    
  [20] Figure17.10cTextureTransparencyTree.x3d - Tree view

  [21] Figure17.10cTextureTransparencyTree.x3d - Side view (no billboarding)

  [22] Figure17.10cTextureTransparencyTree.x3d - (default X3D view)


Figure 17.11b Grey Texture Green Material Striped Cylinder    
  [23] Figure17.11bGreyTextureGreenMaterialStripedCylinder.x3d - Cylinder view note interactions of greyscale texture and green emissiveColor material

  [24] Figure17.11bGreyTextureGreenMaterialStripedCylinder.x3d -


Figure 17.12b Wood Textures    
  [25] Figure17.12bWoodTextures.x3d - Wood greyscale texture with different colors

  [26] Figure17.12bWoodTextures.x3d - (default X3D view from 0 0 10)


Figure 17.13 Simple Pixel Texture    
  [27] Figure17.13SimplePixelTexture.x3d - PixelTexture

  [28] Figure17.13SimplePixelTexture.x3d - (default X3D view from 0 0 10)


Figure 17.14b Movie Texture Whirlpool    
  [29] Figure17.14bMovieTextureWhirlpool.x3d - MovieTexture whirlpool

  [30] Figure17.14bMovieTextureWhirlpool.x3d - (default X3D view from 0 0 10)

 

This viewpoint slideshow is online at
http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter17-Textures/viewpointSlideshow.html

Validate XHTML 1.1

Viewpoint image version history at
http://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter17-Textures/_viewpoints

Table of Contents Previous Chapter Viewpoint Slideshow    Chapter Viewpoint Slideshow Next Chapter Viewpoint Slideshow X3D Resources