<?xml version="1.0" ?>
<!DOCTYPE adsui SYSTEM "../../ui.dtd">
<adsui version="2.0">
  <PageInfo>
    <Title>
      Concrete
    </Title>
  </PageInfo>
  <Fields>
    <StackPanel id="concrete_base"
                label="Concrete"
                orientation="Vertical"
                expanded="true">
      
      <MappableColor id="concrete_color"
                     label="Color"
                     colorbyobject="true"
                     tooltip="Selects a color, image, or procedural texture to create the appearance of the material.">
        <BoolColorByObject id="concrete_color_by_object" />
      </MappableColor>

      <ChooseList id="concrete_sealant"
                  label="Sealant"
                  tooltip="Specifies the substance used to seal the concrete surface.">
        <Choice id="concrete_none" label="None"/>
        <Choice id="concrete_epoxy" label="Epoxy"/>
        <Choice id="concrete_acrylic" label="Acrylic"/>
      </ChooseList>
    </StackPanel>
      

    <StackPanel id="concrete_finish"
                label="Finish Bumps"
                orientation="Vertical">
      <ChooseList id="concrete_finish"
                  label="Type"
                  labelid="concrete_finish_list_label"
                  tooltip="Controls the surface texture often found in concrete. ">
        <Choice id="concrete_straight" label="Broom Straight"/>
        <Choice id="concrete_curved" label="Broom Curved"/>
        <Choice id="concrete_smooth" label="Smooth"/>
        <Choice id="concrete_polished" label="Polished"/>
        <ChoiceDetail id="concrete_custom" label="Stamped/Custom">
          <MappableFloat id="concrete_bump_map"
                         label="Image"
                         nosinglevalue="true"
                         tooltip="Uses a bitmap image to select the finish."
                         bump="true"/>
          <Float id="concrete_bump_amount"
                 label="Amount"
                 min="0.0" max="2.0"
                 tooltip="Slides to change surface texture."/>
        </ChoiceDetail>
      </ChooseList>
    </StackPanel>
      
      
    <StackPanel id="concrete_brightmode"
                label="Weathering"
                labelid="concrete_brightmode_panel_label" 
                orientation="Vertical"
                checkbox="on"
                checkonvalue="concrete_automatic">
      <ChooseList id="concrete_brightmode"
                  label="Type"
                  labelid="concrete_brightmode_list_label" 
                  onebased="true"
                  tooltip="Adds weathering (staining or discoloration) automatically.">
        <Choice id="concrete_automatic" label="Automatic"/>
        <ChoiceDetail id="concrete_brightmode_custom"
                      label="Custom - Image">
          <MappableFloat id="concrete_bm_map"
                         label="Image"
                         tooltip="Adds weathering (staining or discoloration) based on a selected image."
                         nosinglevalue="true"/>
        </ChoiceDetail>
      </ChooseList>
    </StackPanel>
    <!-- The tooltip of a StackPanel item will appear when the stackpanel has a checkbox.-->
    <StackPanel id="concrete_ao_on"
        label="Ambient Occlusion"
        orientation="Vertical"
        checkbox="true"
        expanded="true"
        tooltip="Enables Ambient Occlusion. Emulates the look of true global illumination by using shaders to calculate the extent that an area is occluded or prevented from receiving incoming light. Use this effect with indirect light.">
      <Integer id="concrete_ao_samples"
         label="Samples"
         tooltip="Ambient occlusion quality (High= Smoother/Slower; Low= Grainier/Faster)"
         min="2"
         max="256"
         forcenumeric="spinbox"/>
      <Float id="concrete_ao_distance"
         label="Max Distance"
         forcenumeric="spinbox"
         tooltip="Defines the ambient occlusion radius (High= Large coverage area/Slower; Low= Small coverage area/Faster)"/>
      <Boolean id="concrete_ao_details"
               rightlabel="Use Color From Other Materials"
               tooltip="Enables a more complex mode of Ambient Occlusion that takes object color into account. Note: This improves excessive 'corner darkening' and solves the creation of 'dark rims' by AO around self-illuminating objects."/>
    </StackPanel>
    <StackPanel id="concrete_roundcorners_on"
        label="Round Corners"
        orientation="Vertical"
        checkbox="true"
        expanded="true"
        tooltip="Enables simulated round corners. Note: This is only a shading effect, similar to a bump map, whereby no actual geometric changes occur.  This effect only works properly on straight edges.">
      <!-- If forcenumeric="spinbox", then the dropdownlist should contain "Use Spinner" instead of "Use Slider"-->
      <MappableFloat id="concrete_roundcorners_radius"
                     bump="true"
                     label="Source"
                     forcenumeric="spinbox"
                     tooltip="Adjusts the radius of the round corner effect."/>
      <Boolean id="concrete_roundcorners_allow_different_materials"
             rightlabel="Blend with Other Materials"
             tooltip="Activate to apply corner rounding effects to any material. Disable to apply corner rounding effects to the surface of the current material only." />
    </StackPanel>
    <StackPanel id="concrete_performance_tunning_group"
        label="Performance Tuning"
        orientation="Vertical"
        expanded="true">
      <Integer id="reflection_glossy_samples"
         label="Reflection Glossy Samples"
         tooltip="Defines the maximum number of samples (rays) that mental ray computes to create glossy reflections."
         min="0"
         max="128"
         forcenumeric="spinbox"/>
      <Integer id="concrete_refl_depth"
         label="Reflection Max Trace Depth"
         tooltip="Number of times each ray is reflected. When set to zero, global render settings take precedence."
         min="0"
         max="20"
         forcenumeric="spinbox"/>
    </StackPanel>
  </Fields>
</adsui>
