#VRML V1.0 ascii Separator { PerspectiveCamera { position 0 0 102 } DirectionalLight { on TRUE intensity 0.7 direction 0 0 -1 } LOD { # level-of-detail range [ 50,70 ] Separator { # third level, red Material { emissiveColor 1 0 0 } DEF ObjectSet Separator { Separator { # Cube Translation { translation -2 0 0 } Cube { width 1 height 1 depth 1 } } # end of Cube Separator Separator { # Cone Translation { translation 0 -2 0 } Cone { height 1.5 bottomRadius 0.5 } } # end of Cone Separator Separator { # Cylinder Translation { translation 2 0 0 } Cylinder { height 1.5 radius 0.65 } } # end of Cylinder Separator } # end of ObjectSet definition Separator Translation { translation 0 0 25 } Rotation { rotation 0 1 1 0.4 } Rotation { rotation 0 1 0 3.14 } USE ObjectSet } # end of third level Separator Separator { # second level, green Translation { translation 0 0 50 } Material { emissiveColor 0 1 0 } USE ObjectSet Translation { translation 0 0 10 } Rotation { rotation 0 1 1 0.4 } Rotation { rotation 0 1 0 3.14 } USE ObjectSet } # end of second level Separator Separator { # first level, blue Translation { translation 0 0 70 } Material { emissiveColor 0 0 1 } USE ObjectSet Translation { translation 0 0 25 } Rotation { rotation 0 1 1 0.4 } Rotation { rotation 0 1 0 3.14 } USE ObjectSet } # end of first level Separator } # end of level-of-detail }