<?xml version="1.0" ?>
<!DOCTYPE adsui SYSTEM "../../ui.dtd">
<adsui version="2.0">
  <PageInfo>
    <Title>
      Generic
    </Title>
  </PageInfo>
  <Fields>
    <StackPanel id="asset_information" 
                label="Information" 
                orientation="Vertical" 
                expanded="false">
      <AssetName id="asset_name"
                 label="Name"/>
      <AssetDescription id="asset_description"
                        label="Description"/>
      <AssetKeywords id="asset_keywords"
                     label="Keywords"/>
      <AssetType id="asset_type"
                 label="Type"/>
      <AssetSource id="asset_source"
                   label="Source"/>
      <AssetVersion id="asset_version"
                    label="Version"/>
      <AssetTexturePaths id="asset_texture_paths"
                         label="Texture Paths"/>
    </StackPanel>

    <StackPanel id="generic_general"
                label="Generic"
                orientation="Vertical"
                expanded="true">
      <MappableColorByObject id="generic_diffuse"
                             label="Color"
                             labelid="generic_diffuse_color"
                             tooltip="Adjusts the color of the surface. Affects both light bounding off (reflectance) and light passing through (transmittance).">
        <BoolColorByObject id="color_by_object" />
      </MappableColorByObject>
      <MappableImageFade id="generic_diffuse"
                         label="Image"
                         labelid="generic_diffuse_image"
                         tooltip="Displays the diffuse color map of the material." />
      <Float id="generic_diffuse_image_fade"
             label="Image Fade"
             units="%" min="0" max="100"
             forcenumeric="slider" precision="0"
             tooltip="Adjusts the composite between the base color and the diffuse image. Active only when an image is chosen."/>
      <MappableFloat id="generic_glossiness"
                     label="Glossiness"
                     tooltip="Specifies the smoothness of the surface, which affects both reflectivity and transparency. Reduce glossiness to create matte surfaces or frosted glass. Enter a value between 0 (dull) and 100 (a perfect mirror)."/>
      <Boolean id="generic_is_metal"
               label="Highlights"
               usedropdown="true" onlabel="Metallic" offlabel="Non-Metallic"
               tooltip="Adjusts adding metallic highlights. Default = non-metallic." />
      
    </StackPanel>
    
    <StackPanel id="generic_reflectivity_at_0deg"
                label="Reflectivity"
                orientation="Vertical"
                checkbox="true"
                checkonvalue="0.5"
                checkoffvalue="0.0"
                checkboxid2="generic_reflectivity_at_90deg"
                checkonvalue2="0.5"
                checkoffvalue2="0.0">
      <MappableFloat id="generic_reflectivity_at_0deg"
                     bump="true"
                     label="Direct"
                     labelid="generic_reflectivity_at_0deg_slider"
                     tooltip="Adjusts how much light the material reflects when the surface is directly facing the camera. Enter a value between 0 (no reflections) and 100 (maximum reflections)."/>
      <MappableFloat id="generic_reflectivity_at_90deg"
                     bump="true"
                     label="Oblique"
                     tooltip="Adjusts how much light the material reflects when the surface is at an angle to the camera. Enter a value between 0 (no reflections) and 100 (maximum reflections)."/>
    </StackPanel>
    
    <StackPanel id="generic_transparency"
                label="Transparency"
                labelid="generic_transparency_panel_label" 
                orientation="Vertical"
                checkbox="true"
                checkoffvalue="0.0"
                checkonvalue="0.3">
      <Float id="generic_transparency"
             bump="true"
             label="Amount"
             labelid="generic_transparency_slider_label" 
             units="%" precision="0"
             min="0" max="100" forcenumeric="slider"
             tooltip="Adjusts the amount of light that passes through a surface rather than reflecting off or being absorbed. Enter a value between 0% (completely opaque) and 100% (completely transparent)."/>
      <MappableImageFade id="generic_transparency"
                         label="Image"
                         labelid="generic_transparancy_fade"
                         tooltip="Adds an image to combine with the overall transparency amount." />
      <Float id="generic_transparency_image_fade"
                label="Image Fade"
                units="%" min="0" max="100" forcenumeric="slider" precision="0"
                tooltip="Controls the composite of image and transparency amount, e.g., the white of the image will be transparent at the overall amount, and the degree to which the black is opaque is determined by the fade value."/>
      <MappableFloat id="generic_refraction_translucency_weight"
                     bump="true"
                     label="Translucency"
                     units="%" precision="0"
                     min="0" max="100" 
                     tooltip="Adjusts the percentage of light that is absorbed and retransmitted as it passes through the surface, as if the surface were a back-lit movie screen. Enter a value between 0 (not translucent) and 100 (completely translucent, such as frosted glass). Active only when Transparency has a value greater than 0.">
        <Dependency id="generic_transparent_dep1"
                    on="generic_transparency"
                    requires="0.0" not="true" else="disable"/>
      </MappableFloat>
      <FloatMenu id="generic_refraction_index"
                 label="Refraction"
                 max="5" min="0.01"
                 tooltip="Adjusts the amount that light bends when it passes through a surface. Active only when Transparency has a value greater than 0. Specify an index number between 0 (no refraction) and 5 (most refraction). ">
        <FloatMenuChoice id="generic_refraction_index_air"
                         label="Air" value="1.0" />
        <FloatMenuChoice id="generic_refraction_index_water"
                         label="Water" value="1.33" />
        <FloatMenuChoice id="generic_refraction_index_alcohol"
                         label="Alcohol" value="1.36" />
        <FloatMenuChoice id="generic_refraction_index_quartz"
                         label="Quartz" value="1.46" />
        <FloatMenuChoice id="generic_refraction_index_glass"
                         label="Glass" value="1.52" />
        <FloatMenuChoice id="generic_refraction_index_diamond"
                         label="Diamond" value="2.3" />
        <FloatMenuChoice id="generic_refraction_custom"
                         label="Custom" value="1.0" />
        
        <Dependency id="generic_transparent_dep2"
                    on="generic_transparency"
                    requires="0.0" not="true" else="disable"/>
      </FloatMenu>
    </StackPanel>
    
    <StackPanel id="generic_cutout_opacity"
                label="Cutouts"
                labelid="generic_cutout_opacity_panel_label" 
                orientation="Vertical"
                checkbox="true">
      <MappableFloat id="generic_cutout_opacity"
                     bump="true"
                     label="Image"
                     labelid="generic_cutout_opacity_image_label" 
                     nosinglevalue="true"
                     tooltip="Uses a a texture map to control the shapes cut into the surface of the material."/>
    </StackPanel>
    
    <StackPanel id="generic_self_illum_luminance"
                label="Self Illumination"
                labelid="generic_self_illum_panel_label" 
                checkbox="true"
                checkoffvalue="0.0"
                checkonvalue="generic_self_illumination_dim_glow"
                orientation="Vertical">
      <MappableColor id="generic_self_illum_filter_map"
                     bump="true"
                     label="Filter Color"
                     tooltip="Adjusts the color of light transmitted through a transparent or semi-transparent material, such as glass.">
        <Dependency id="generic_illum_dep2"
                    on="generic_self_illum_luminance"
                    else="disable" requires="0.0" not="true"/> 
      </MappableColor>
      <FloatMenu id="generic_self_illum_luminance"
                 label="Luminance"
                 labelid="generic_self_illum_list_label" 
                 tooltip="Adjusts the brightness of the light emitted by this surface, measured in candelas per square meter; e.g., Dim Glow = 10, Halogen Lamp Lens = 10000.">
        <FloatMenuChoice id="generic_self_illumination_dim_glow"
                         label="Dim Glow" value="10" />
        <FloatMenuChoice id="generic_self_illumination_led_panel"
                         label="LED Panel" value="100" />
        <FloatMenuChoice id="generic_self_illumination_led_screen"
                         label="LED Screen" value="140" />
        <FloatMenuChoice id="generic_self_illumination_cell_phone_screen"
                         label="Cell Phone Screen" value="200" />
        <FloatMenuChoice id="generic_self_illumination_crt_television"
                         label="CRT Television" value="250" />
        <FloatMenuChoice id="generic_self_illumination_lamp_shade_exterior"
                         label="Lamp Shade Exterior" value="1300" />
        <FloatMenuChoice id="generic_self_illumination_lamp_shade_interior"
                         label="Lamp Shade Interior" value="2500" />
        <FloatMenuChoice id="generic_self_illumination_desk_lamp_lens"
                         label="Desk Lamp Lens" value="10000" />
        <FloatMenuChoice id="generic_self_illumination_halogen_lamp_lens"
                         label="Halogen Lamp Lens" value="10000" />
        <FloatMenuChoice id="generic_self_illumination_frosted_bulb"
                         label="Frosted Bulb" value="210000" />
        <FloatMenuChoice id="generic_self_illumination_custom" label="Custom" value="1000" />
      </FloatMenu>
      
      <FloatMenu id="generic_self_illum_color_temperature"
                 label="Color Temperature"
                 tooltip="Adjusts the color temperature (warmth vs. coolness) of the light emitted by this material in degress Kelvin;  e.g., Candle = 1850, Xenon Arc Lamp = 6420.">
        <FloatMenuChoice id="generic_self_illum_color_temperature_candle"
                         label="Candle" value="1850" />
        <FloatMenuChoice id="generic_self_illum_color_temperature_incadescent_bulb"
                         label="Incandescent Bulb" value="2800" />
        <FloatMenuChoice id="generic_self_illum_color_temperature_floodlight"
                         label="Floodlight" value="3400" />
        <FloatMenuChoice id="generic_self_illum_color_temperature_moonlight"
                         label="Moonlight" value="4100" />
        <FloatMenuChoice id="generic_self_illum_color_temperature_daylight_warm"
                         label="Daylight Warm" value="5000" />
        <FloatMenuChoice id="generic_self_illum_color_temperature_daylight_cool"
                         label="Daylight Cool" value="6000" />
        <FloatMenuChoice id="generic_self_illum_color_temperature_daylight_xenon_arc_lamp"
                         label="Xenon Arc Lamp" value="6420" />
        <FloatMenuChoice id="generic_self_illum_color_temperature_daylight_tv_screen"
                         label="TV Screen" value="9320" />
        <FloatMenuChoice id="generic_self_illum_color_temperature_custom"
                         label="Custom" value="1000" />
        
        <Dependency id="generic_illum_dep1"
                    on="generic_self_illum_luminance"
                    else="disable" requires="0.0" not="true"/>
      </FloatMenu>
    </StackPanel>
    
    
    <StackPanel id="generic_bump_map"
                label="Bump"
                labelid="generic_bump_map_panel_label" 
                orientation="Vertical"
                checkbox="true">
      <MappableFloat id="generic_bump_map"
                     bump="true"
                     label="Image"
                     labelid="generic_bump_map_image_label" 
                     nosinglevalue="true"
                     tooltip="Uses a texture map to select a bump relief pattern for the material. A bump pattern defines raised and lowered areas based on dark and light areas of an image file."/>
      <MappableFloat id="generic_bump_amount"
                     label="Amount"
                     min="-1000" max="1000"
                     tooltip="Adjusts the relative height of the specified bump pattern. Enter 0 to make the surface flat. Enter higher decimal values (up to 1000.0) to increase the height of the surface irregularities."/>
    </StackPanel>
    
    <StackPanel id="common_Tint_toggle" 
                label="Tint" 
                orientation="Vertical" 
                checkbox="true"
                expanded="false">
      <Color id="common_Tint_color"
             label="Tint Color"
	     tooltip="Selects a color to tint the appearance of the material." />
      
    </StackPanel>
    
  </Fields>
</adsui>
