#Inventor V2.1 ascii # Check rendering with an SoDirectionalLight. # NB: turn off the headlight in the viewer. # # 19990423 mortene Separator { # ROW 0 -- different direction vectors Separator { BaseColor { rgb 1 0 0 } Separator { DirectionalLight { } Cube { } } BaseColor { rgb 0 1 0 } Translation { translation +4 0 0 } Separator { DirectionalLight { direction 1 0 0} Cube { } } BaseColor { rgb 1 1 0 } Translation { translation +4 0 0 } Separator { DirectionalLight { direction 0 1 0} Cube { } } BaseColor { rgb 1 0 1 } Translation { translation +4 0 0 } Separator { DirectionalLight { direction 0 0 1 } Cube { } } BaseColor { rgb 1 1 1 } Translation { translation +4 0 0 } Separator { DirectionalLight { direction 0 -1 -1 } Cube { } } } # ROW 1 -- misc field settings Translation { translation 0 +4 0 } Separator { BaseColor { rgb 1 0 0 } Separator { DirectionalLight { on FALSE } Cube { } } BaseColor { rgb 1 1 0 } Translation { translation +4 0 0 } Separator { DirectionalLight { intensity 0.8 } Cube { } } BaseColor { rgb 1 1 0 } Translation { translation +4 0 0 } Separator { DirectionalLight { intensity 0.5 } Cube { } } BaseColor { rgb 1 1 0 } Translation { translation +4 0 0 } Separator { DirectionalLight { intensity 0.2 } Cube { } } BaseColor { rgb 1 1 1 } Translation { translation +4 0 0 } Separator { DirectionalLight { color 1 0 0 } Cube { } } BaseColor { rgb 0 0 0 } Translation { translation +4 0 0 } Separator { DirectionalLight { color 1 0 0 } Cube { } } } # ROW 2 -- set ignore flags Translation { translation 0 +4 0 } Separator { BaseColor { rgb 1 0 0 } Separator { DirectionalLight { direction -1 -1 -1 ~ } Cube { } } BaseColor { rgb 1 1 0 } Translation { translation +4 0 0 } Separator { DirectionalLight { intensity 0.2 ~ } Cube { } } BaseColor { rgb 1 1 1 } Translation { translation +4 0 0 } Separator { DirectionalLight { on FALSE ~ } Cube { } } BaseColor { rgb 1 1 1 } Translation { translation +4 0 0 } Separator { DirectionalLight { color 1 0 0 ~ } Cube { } } } }