GuidoForm frm00195 {
-default_buttons
-label "Lighting"
-layout BoxLayout Y_AXIS
-tip LIGHTING_TIP
-help_id 735
GuidoPanel overallSpotLightPanel {
-label "Spot Light"
-layout BoxLayout Y_AXIS
-border etched true
GuidoPanel useSpotLightPanel {
-layout CentreLineLayout
GuidoCheckBox useSpotLight {
-default true
-label "Use spot light for dtm illumination"
-selected_value Y
-tip USE_SPOT_LIGHT_TIP
-unselected_value N
}
}
GuidoPanel spotLightPanel {
-layout CentreLineLayout
-dependency { [$useSpotLight getCurrentValue] == "Y" }
GuidoField illumination_cone {
-display_length 8
-format double
-low_bound 0.01
-high_bound 180
-label "Illumination cone (degrees)"
-low_bound 0
-max_length 16
-null false
-tip SPOTLIGHT_ILLUMINATION_TIP
-translate upper
}
GuidoField sharpness_cone {
-display_length 8
-format double
-low_bound 0.1
-high_bound 180
-label "Sharpness cone (degrees)"
-low_bound 0
-max_length 16
-null false
-tip SPOTLIGHT_SHARPNESS_TIP
-translate upper
}
GuidoField offset_angle {
-display_length 8
-format double
-low_bound 0.0
-high_bound 45
-label "Offset angle from camera->target (degrees)"
-low_bound 0
-max_length 16
-null false
-tip SPOTLIGHT_OFFSET_ANGLE_TIP
-translate upper
}
GuidoColourBrowserField spot_colour {
-label "Spot light colour"
-display_length 16
-max_length 128
-null false
-tip SPOTLIGHT_COLOUR_TIP
-translate lower
}
}
}
GuidoPanel overallDirectionalLightPanel {
-label "Directional Lights"
-layout BoxLayout Y_AXIS
-border etched true
GuidoPanel useDirectionalLightPanel {
-layout CentreLineLayout
GuidoCheckBox useDirectionalLights {
-default true
-label "Use directional light(s) for dtm illumination"
-selected_value on
-tip USE_DIRECTIONAL_LIGHTS_TIP
-unselected_value off
}
}
GuidoPanel directionalLightPanel {
-dependency { [$useDirectionalLights getCurrentValue] == "on" }
-layout BoxLayout Y_AXIS
GuidoPanel frm00194_29 {
-layout BoxLayout X_AXIS
GuidoFiller space {
-width 1.5
}
GuidoPanel frm00194_24 {
-layout CentreLineLayout
GuidoLabel frm00194_2 {
-label "Light"
}
GuidoLabel frm00194_3 {
-label "Y"
}
GuidoField light_y1 {
-default -1
-display_length 4
-font_style bold
-format double
-label "1"
-max_length 16
-next_focus light_x1
-null false
-translate upper
-tip Y_LIGHT_TIP
}
GuidoField light_y2 {
-display_length 4
-font_style bold
-format double
-label "2"
-max_length 16
-next_focus light_x2
-null false
-translate upper
-tip Y_LIGHT_TIP
}
GuidoField light_y3 {
-display_length 4
-font_style bold
-format double
-label "3"
-max_length 16
-next_focus light_x3
-null false
-translate upper
-tip Y_LIGHT_TIP
}
}
GuidoFiller frm00194_31 {
-width 1
}
GuidoPanel frm00194_26 {
-layout BoxLayout Y_AXIS
GuidoLabel frm00194_4 {
-label "X"
}
GuidoField light_x1 {
-default 1
-display_length 4
-font_style bold
-format double
-max_length 16
-next_focus light_z1
-null false
-translate upper
-tip X_LIGHT_TIP
}
GuidoField light_x2 {
-display_length 4
-font_style bold
-format double
-max_length 16
-next_focus light_z2
-null false
-translate upper
-tip X_LIGHT_TIP
}
GuidoField light_x3 {
-display_length 4
-font_style bold
-format double
-max_length 16
-next_focus light_z3
-null false
-translate upper
-tip X_LIGHT_TIP
}
}
GuidoFiller frm00194_32 {
-width 1
}
GuidoPanel frm00194_27 {
-layout BoxLayout Y_AXIS
GuidoLabel frm00194_5 {
-label "Z"
}
GuidoField light_z1 {
-default 1
-display_length 4
-font_style bold
-format double
-max_length 16
-next_focus light_colour1
-null false
-translate upper
-tip Z_LIGHT_TIP
}
GuidoField light_z2 {
-display_length 4
-font_style bold
-format double
-max_length 16
-next_focus light_colour2
-null false
-translate upper
-tip Z_LIGHT_TIP
}
GuidoField light_z3 {
-display_length 4
-font_style bold
-format double
-max_length 16
-next_focus light_colour3
-null false
-translate upper
-tip Z_LIGHT_TIP
}
}
GuidoFiller frm00194_32 {
-width 1
}
GuidoPanel frm00194_28 {
-layout BoxLayout Y_AXIS
GuidoLabel frm00194_6 {
-label Colour
}
GuidoColourBrowserField light_colour1 {
-display_length 16
-exclusive false
-font_style bold
-max_length 20
-next_focus light_y2
-default white
-tip LIGHT_COLOUR_TIP
}
GuidoColourBrowserField light_colour2 {
-display_length 16
-exclusive false
-font_style bold
-max_length 32
-next_focus light_y3
-tip LIGHT_COLOUR_TIP
}
GuidoColourBrowserField light_colour3 {
-display_length 16
-exclusive false
-font_style bold
-max_length 32
-tip LIGHT_COLOUR_TIP
}
}
}
}
}
GuidoPanel overallRenderingPanel {
-label "Rendering"
-layout CentreLineLayout
-border etched true
GuidoButtonGroupPanel rendering {
-label "Rendering method"
-tip SPOTLIGHT_RENDERING_TIP
GuidoRadioButton frm00338_7 {
-caption None
-selected_value N
}
GuidoRadioButton frm00338_8 {
-caption Gouraud
-selected_value G
}
GuidoRadioButton frm00338_9 {
-caption Phong
-selected_value P
}
}
GuidoCheckBox edgesLighting {
-default false
-label "Edge lighting"
-selected_value Y
-tip SPOTLIGHT_EDGES_TIP
-unselected_value N
}
GuidoComboBox brightness {
-label "Brightness factor"
-display_length 10
-exclusive true
-null false
-max_length 20
-value_in Default 1 2 3 4 5 6 7 8 9 10
-default Default
-tip DEFAULT_BRIGHTNESS_TIP
}
}
}
