Background Perspective
Node
Background • Attributes
Description
The backdrop is a light and dark gray checkered pattern using a single image specified for all URL attributes. There are six spheres positioned at the "center" of each of the patterns.
VRIGNETTE Notes
Background can make simple and complex backdrops depending on what image or texture is specified. If you omit the images, and use only sky and ground attributes, the backdrop will filled with those colors.
Example
Rotate the vrignette to view the geometry.
Code
<x3d> <scene> <worldInfo title="X3D Backdrop Example"> </worldInfo> <navigationInfo headlight="true"> </navigationInfo> <viewpoint position="0.0 0.0 0.0" centerOfRotation="0.0 0.0 0.0"> </viewpoint> <transform translation="0.0 0.0 -25.0"> <shape DEF="sphereBall"> <appearance> <material diffuseColor="0.5 0.25 0.5" transparency="0.0"> </material> </appearance> <sphere radius="1.5" solid="false"> </sphere> </shape> </transform> <transform translation="0.0 0.0 25.0"> <shape USE="sphereBall"> </shape> </transform> <transform translation="25.0 0.0 0.0"> <shape USE="sphereBall"> </shape> </transform> <transform translation="-25.0 0.0 0.0"> <shape USE="sphereBall"> </shape> </transform> <transform translation="0.0 25.0 0.0"> <shape USE="sphereBall"> </shape> </transform> <transform translation="0.0 -25.0 0.0"> <shape USE="sphereBall"> </shape> </transform> <background backUrl="black_gray_checkered.png" topUrl="black_gray_checkered.png" rightUrl="black_gray_checkered.png" leftUrl="black_gray_checkered.png" frontUrl="black_gray_checkered.png" bottomUrl="black_gray_checkered.png"> </background> </scene> </x3d>