#VRML V2.0 utf8 #
#ex-shape.wrl # Example : Defining and rendering a cone # #exposedField SFNode Appearance
#exposedField SFNode geometry
# Observer in (0,0,6) looking at (0,0,1) Viewpoint { position 0 0 6 orientation 0 0 1 0 fieldOfView 0.78 } PointLight{ ambientIntensity .8 intensity 1 location 0 0 6 } # Cone is defined only specular (100% red) and located at (0,0,0) # defines a Shape Node Shape{ appearance Appearance { material Material { diffuseColor 0 0 0 specularColor 1 0 0 } } geometry Cone{} } #