#VRML V1.0 ascii DEF World Separator { . . } DirectionalLight { . . } DEF Car Separator { DEF LeftFrontWheel Separator { . . } DEF RightFrontWheel Separator { . . } DEF LeftRearWheel Separator { . . } DEF RightRearWheel Separator { . . } DEF Body Separator { . . } DEF RightHeadLight Separator { . . DEF HeadLight Separator { . . } } DEF LeftHeadLight Separator { . . USE HeadLight . . # } } DEF RightTailLight Separator { . . DEF TailLight Separator { . . } DEF LeftTailLight Separator { . . USE TailLight . . # } } DEF LeftSign Separator { . . DEF Sign Separator { . . } } DEF RightSign Separator { . . USE Sign . . # } } DEF SteeringWheel Separator { . . } DEF DriverSeat Separator { . . DEF Seat Separator { . . } } DEF DriverSeatCushion Separator { . . DEF SeatBehindCushion Separator { . . } } DEF RearPassangerSeat Separator { . . DEF SeatBehind Separator { . . } } DEF RearPassangerSeatCushion Separator { . . DEF SeatBehindCushion Separator { . . } } DEF AtTheWheel Separator { . . DEF DriverMeryem Separator { . . } }The windshield and the front panel of the car is defined here. In constructing of the windshield, we are using the transparency field of the material node. In this case, the transparency is represented in a sparse populated cluster of dots. However, this is implementation specific to this browser.
DEF FrontSide Separator { Transform { translation -2.8 0.58 0 rotation 0 0 1 -1.0471976 } Material { diffuseColor 0 0 1.0 shininess 0.2 } Cube { width 0.01 height 0.5 depth 1.5 } } DEF FrontWindShield Separator { Transform { translation -2 1 0 rotation 0 0 1 -1.0471976 } Material { diffuseColor 1.0 0.2 0.2 specularColor 0.8 0.8 0.8 shininess 0.7 transparency 0.8 } Cube { width 0.01 height 2.0 depth 1.5 } } } }