Update of /cvsroot/playerstage/code/gazebo/Media/overlays
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14516/Media/overlays

Added Files:
      Tag: ogre
        BasicOgreGuiTemplates.inc DP3.overlay 
        Example-CubeMapping.overlay Example-DynTex.overlay 
        Example-Water.overlay Shadows.overlay 
Log Message:
Added new files

--- NEW FILE: Shadows.overlay ---
Example/ShadowsOverlay
{
        zorder 500
        // Stats block
        container BorderPanel(Core/ShadowsPanel)
        {
                metrics_mode pixels
                vert_align top
                left 5 
                top 5
                width 500
                height 55
                material Core/StatsBlockCenter
                border_size 1 1 1 1
                border_material Core/StatsBlockBorder
                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
                border_top_uv         0.0039 1.0000 0.9961 0.9961
                border_topright_uv    0.9961 1.0000 1.0000 0.9961
                border_left_uv        0.0000 0.9961 0.0039 0.0039
                border_right_uv       0.9961 0.9961 1.0000 0.0039
                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000


                element TextArea(Example/Shadows/ShadowTechnique)
                {
                        metrics_mode pixels
                        left 5
                        top 5
                        width 180
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [O] Shadow Technique
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }
                element TextArea(Example/Shadows/ShadowTechniqueInfo)
                {
                        metrics_mode pixels
                        left 155
                        top 5
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption Current:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/Shadows/Materials)
                {
                        metrics_mode pixels
                        left 5
                        top 20
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [M] Athene Material
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }
                element TextArea(Example/Shadows/MaterialInfo)
                {
                        metrics_mode pixels
                        left 155
                        top 20
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption Current:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }
                element TextArea(Example/Shadows/Info)
                {
                        metrics_mode pixels
                        left 5
                        top 35
                        width 250
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }
        }
}

--- NEW FILE: Example-DynTex.overlay ---
Example/DynTexOverlay
{
        zorder 500
        // Stats block
        container BorderPanel(Core/DynTexPanel)
        {
                metrics_mode pixels
                vert_align top
                left 5 
                top 5
                width 200
                height 100
                material Core/StatsBlockCenter
                border_size 1 1 1 1
                border_material Core/StatsBlockBorder
                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
                border_top_uv         0.0039 1.0000 0.9961 0.9961
                border_topright_uv    0.9961 1.0000 1.0000 0.9961
                border_left_uv        0.0000 0.9961 0.0039 0.0039
                border_right_uv       0.9961 0.9961 1.0000 0.0039
                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000

                element TextArea(Example/DynTex/Note)
                {
                        metrics_mode pixels
                        left 5
                        top 5
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption Reaction parameters
                        colour_top 0.7 0.9 0.7
                        colour_bottom 0.5 0.7 0.5
                }

                element TextArea(Example/DynTex/Param_K)
                {
                        metrics_mode pixels
                        left 5
                        top 20
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [1/2]K:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/DynTex/Param_F)
                {
                        metrics_mode pixels
                        left 5
                        top 35
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [3/4]F:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/DynTex/Param_A0)
                {
                        metrics_mode pixels
                        left 5
                        top 50
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [5/6]Diffusion 1:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/DynTex/Param_A1)
                {
                        metrics_mode pixels
                        left 5
                        top 65
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [7/8]Diffusion 2:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/DynTex/Zero)
                {
                        metrics_mode pixels
                        left 5
                        top 80
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [0]Reset initial conditions
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }


        }
}
Example/VolTexOverlay
{
        zorder 500
        // Stats block
        container BorderPanel(Example/VolTexPanel)
        {
                metrics_mode pixels
                vert_align top
                left 5 
                top 5
                width 200
                height 70
                material Core/StatsBlockCenter
                border_size 1 1 1 1
                border_material Core/StatsBlockBorder
                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
                border_top_uv         0.0039 1.0000 0.9961 0.9961
                border_topright_uv    0.9961 1.0000 1.0000 0.9961
                border_left_uv        0.0000 0.9961 0.0039 0.0039
                border_right_uv       0.9961 0.9961 1.0000 0.0039
                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000

                element TextArea(Example/VolTex/Note)
                {
                        metrics_mode pixels
                        left 5
                        top 5
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption Julia parameters
                        colour_top 0.7 0.9 0.7
                        colour_bottom 0.5 0.7 0.5
                }

                element TextArea(Example/VolTex/Param_real)
                {
                        metrics_mode pixels
                        left 5
                        top 20
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [1/2]real:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/VolTex/Param_imag)
                {
                        metrics_mode pixels
                        left 5
                        top 35
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [3/4]imag:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/VolTex/Param_theta)
                {
                        metrics_mode pixels
                        left 5
                        top 50
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [5/6]theta:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }


        }
}
--- NEW FILE: DP3.overlay ---
Example/DP3Overlay
{
        zorder 500
        // Stats block
        container BorderPanel(Core/DP3Panel)
        {
                metrics_mode pixels
                vert_align top
                left 5 
                top 5
                width 500
                height 70
                material Core/StatsBlockCenter
                border_size 1 1 1 1
                border_material Core/StatsBlockBorder
                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
                border_top_uv         0.0039 1.0000 0.9961 0.9961
                border_topright_uv    0.9961 1.0000 1.0000 0.9961
                border_left_uv        0.0000 0.9961 0.0039 0.0039
                border_right_uv       0.9961 0.9961 1.0000 0.0039
                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000

                element TextArea(Example/DP3/Light)
                {
                        metrics_mode pixels
                        left 5
                        top 5
                        width 180
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [1,2,3] toggle lights
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/DP3/Object)
                {
                        metrics_mode pixels
                        left 5
                        top 20
                        width 180
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [O] change objects
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }
                element TextArea(Example/DP3/ObjectInfo)
                {
                        metrics_mode pixels
                        left 155
                        top 20
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption Current:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/DP3/Materials)
                {
                        metrics_mode pixels
                        left 5
                        top 35
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [M] Change material
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }
                element TextArea(Example/DP3/MaterialInfo)
                {
                        metrics_mode pixels
                        left 155
                        top 35
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption Current:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }
                element TextArea(Example/DP3/Info)
                {
                        metrics_mode pixels
                        left 5
                        top 50
                        width 250
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }
        }
}

--- NEW FILE: Example-Water.overlay ---
Example/WaterOverlay
{
        zorder 500
        // Stats block
        container BorderPanel(Core/WaterPanel)
        {
                metrics_mode pixels
                vert_align top
                left 5 
                top 5
                width 400
                height 87
                material Core/StatsBlockCenter
                border_size 1 1 1 1
                border_material Core/StatsBlockBorder
                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
                border_top_uv         0.0039 1.0000 0.9961 0.9961
                border_topright_uv    0.9961 1.0000 1.0000 0.9961
                border_left_uv        0.0000 0.9961 0.0039 0.0039
                border_right_uv       0.9961 0.9961 1.0000 0.0039
                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000

                    
                element TextArea(Example/Water/Normals)
                {
                        metrics_mode pixels
                        left 5
                        top 5
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [N]Normals:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/Water/Rain)
                {
                        metrics_mode pixels
                        left 5
                        top 20
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [SPACE]Rain
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/Water/SkyBox)
                {
                        metrics_mode pixels
                        left 5
                        top 35
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [B]SkyBox: 
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/Water/Depth)
                {
                        metrics_mode pixels
                        left 5
                        top 50
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [U/J]Head depth:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/Water/Material)
                {
                        metrics_mode pixels
                        left 5
                        top 65
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [M]Material:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/Water/Note)
                {
                        metrics_mode pixels
                        left 200
                        top 5
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption Careful with these values!
                        colour_top 0.7 0.9 0.7
                        colour_bottom 0.5 0.7 0.5
                }

                element TextArea(Example/Water/Param_C)
                {
                        metrics_mode pixels
                        left 200
                        top 20
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [1/2]Ripple speed:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/Water/Param_D)
                {
                        metrics_mode pixels
                        left 200
                        top 35
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [3/4]Distance:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/Water/Param_U)
                {
                        metrics_mode pixels
                        left 200
                        top 50
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [5/6]Viscosity:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/Water/Param_T)
                {
                        metrics_mode pixels
                        left 200
                        top 65
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [7/8]Time period:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }


        }
}

--- NEW FILE: BasicOgreGuiTemplates.inc ---
// Ogre overlay scripts
template container BorderPanel(SS/Templates/BasicBorderPanel)
{
        left 0
        top 0
        width 1
        height 1
        material Core/StatsBlockCenter
        border_size 0.06 0.06 0.06665 0.06665
        border_material Core/StatsBlockBorder
        border_topleft_uv     0.0000 0.0000 0.1914 0.2031
        border_top_uv         0.1914 0.0000 0.8086 0.2031
        border_topright_uv    0.8086 0.0000 1.0000 0.2031
        border_left_uv        0.0000 0.2031 0.1914 0.7852
        border_right_uv       0.8086 0.2031 1.0000 0.7852
        border_bottomleft_uv  0.0000 0.7852 0.1914 1.0000
        border_bottom_uv      0.1914 0.7852 0.8086 1.0000
        border_bottomright_uv 0.8086 0.7852 1.0000 1.0000
}

template container BorderPanel(SS/Templates/BasicSmallBorderPanel) : 
SS/Templates/BasicBorderPanel
{
    border_size 0.04 0.04 0.04665 0.04665
}


template element TextArea(SS/Templates/BasicText)
{
        font_name Ogre
        char_height 0.08
        colour_top 1 1 0
        colour_bottom 1 0.2 0.2
        left 0.03
        top 0.02
        width 0.12
        height 0.09
}

template container Panel(SS/Templates/BasicPanel)
{
        left 0 
        top 0
        width 1
        height 1
        material Core/StatsBlockCenter
}


--- NEW FILE: Example-CubeMapping.overlay ---
Example/CubeMappingOverlay
{
        zorder 500
        // Stats block
        container BorderPanel(Core/CubeMappingPanel)
        {
                metrics_mode pixels
                vert_align top
                left 5 
                top 5
                width 250
                height 130
                material Core/StatsBlockCenter
                border_size 1 1 1 1
                border_material Core/StatsBlockBorder
                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
                border_top_uv         0.0039 1.0000 0.9961 0.9961
                border_topright_uv    0.9961 1.0000 1.0000 0.9961
                border_left_uv        0.0000 0.9961 0.0039 0.0039
                border_right_uv       0.9961 0.9961 1.0000 0.0039
                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000

                element TextArea(Example/CubeMapping/Displacement)
                {
                        metrics_mode pixels
                        left 5
                        top 5
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [1/2] Displacement:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/CubeMapping/Density)
                {
                        metrics_mode pixels
                        left 5
                        top 20
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [3/4] Noise density:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/CubeMapping/TimeDensity)
                {
                        metrics_mode pixels
                        left 5
                        top 35
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [5/6] Time density:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }


                element TextArea(Example/CubeMapping/Noise)
                {
                        metrics_mode pixels
                        left 5
                        top 50
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [N] Noise: _not_set_
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/CubeMapping/Material)
                {
                        metrics_mode pixels
                        left 5
                        top 65
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [M] Material: *UNIMPLEMENTED*
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/CubeMapping/Object)
                {
                        metrics_mode pixels
                        left 5
                        top 80
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [O] Object:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

                element TextArea(Example/CubeMapping/CubeMap)
                {
                        metrics_mode pixels
                        left 5
                        top 95
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [C] CubeMap:
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }
                
                element TextArea(Example/CubeMapping/Random)
                {
                        metrics_mode pixels
                        left 5
                        top 110
                        width 90
                        height 30
                        font_name TrebuchetMSBold
                        char_height 16
                        caption [SPACE] Go random!
                        colour_top 0.5 0.7 0.5
                        colour_bottom 0.3 0.5 0.3
                }

        }
}


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to