Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/AI/Media/gui/shadows.layout @ 1545

Last change on this file since 1545 was 89, checked in by bknecht, 17 years ago

merge of mainloop branch to trunk

File size: 18.2 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="DefaultWindow" Name="Shadows" >
5        <Property Name="InheritsAlpha" Value="False" />
6        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
7        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
8        <Window Type="TaharezLook/FrameWindow" Name="Shadows/Main" >
9            <Property Name="Font" Value="BlueHighway-12" />
10            <Property Name="Alpha" Value="0.5" />
11            <Property Name="FrameEnabled" Value="False" />
12            <Property Name="TitlebarFont" Value="BlueHighway-12" />
13            <Property Name="SizingEnabled" Value="False" />
14            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
15            <Property Name="TitlebarEnabled" Value="False" />
16            <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{0.797107,0},{0.148408,0}}" />
17            <Property Name="DragMovingEnabled" Value="False" />
18            <Property Name="CloseButtonEnabled" Value="False" />
19            <Window Type="TaharezLook/RadioButton" Name="Shadows/Stencil" >
20                <Property Name="ID" Value="1" />
21                <Property Name="Font" Value="BlueHighway-12" />
22                <Property Name="Text" Value="Stencil shadows" />
23                <Property Name="GroupID" Value="1" />
24                <Property Name="Tooltip" Value="Stencil Shadows: Geometric shadow volumes are generated from mesh silhouettes and extruded, shadowed areas calculated in the stencil buffer. Good on lower end hardware but cannot handle alpha or vertex programs that deform shape, and is too expensive at high poly counts. Sharp edged shadows." />
25                <Property Name="InheritsAlpha" Value="False" />
26                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
27                <Property Name="UnifiedAreaRect" Value="{{0.00465426,0},{0.167892,0},{0.192628,0},{0.344774,0}}" />
28            </Window>
29            <Window Type="TaharezLook/RadioButton" Name="Shadows/Texture" >
30                <Property Name="ID" Value="2" />
31                <Property Name="Font" Value="BlueHighway-12" />
32                <Property Name="Text" Value="Texture shadows" />
33                <Property Name="GroupID" Value="1" />
34                <Property Name="Tooltip" Value="Texture Shadows: Shadow casters are rendered to a texture and this is later projected onto shadow receivers. More flexible,  handles alpha and deforming vertex programs, and texture shadow can be used in shaders for more advanced effects. Uses more GPU memory and fixed size can cause aliasing (but see projection options)" />
35                <Property Name="InheritsAlpha" Value="False" />
36                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
37                <Property Name="UnifiedAreaRect" Value="{{0.00531136,0},{0.362541,0},{0.194019,0},{0.529099,0}}" />
38            </Window>
39            <Window Type="TaharezLook/StaticText" Name="Shadows/Label2" >
40                <Property Name="Font" Value="BlueHighway-12" />
41                <Property Name="Text" Value="Lighting:" />
42                <Property Name="TextColours" Value="tl:FFFFFF00 tr:FFFFFF00 bl:FFFFFF00 br:FFFFFF00" />
43                <Property Name="FrameEnabled" Value="False" />
44                <Property Name="InheritsAlpha" Value="False" />
45                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
46                <Property Name="UnifiedAreaRect" Value="{{0.19234,0},{-0.0189824,0},{0.303863,0},{0.18662,0}}" />
47                <Property Name="BackgroundEnabled" Value="False" />
48            </Window>
49            <Window Type="TaharezLook/StaticText" Name="Shadows/Label1" >
50                <Property Name="Font" Value="BlueHighway-12" />
51                <Property Name="Text" Value="Technique:" />
52                <Property Name="TextColours" Value="tl:FFFFFF00 tr:FFFFFF00 bl:FFFFFF00 br:FFFFFF00" />
53                <Property Name="FrameEnabled" Value="False" />
54                <Property Name="InheritsAlpha" Value="False" />
55                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
56                <Property Name="UnifiedAreaRect" Value="{{0.00658522,0},{-0.00904641,0},{0.160622,0},{0.186908,0}}" />
57                <Property Name="BackgroundEnabled" Value="False" />
58            </Window>
59            <Window Type="TaharezLook/RadioButton" Name="Shadows/Additive" >
60                <Property Name="ID" Value="3" />
61                <Property Name="Font" Value="BlueHighway-12" />
62                <Property Name="Text" Value="Additive" />
63                <Property Name="GroupID" Value="2" />
64                <Property Name="Tooltip" Value="Additive Lighting: Light is built up incrementally in the scene, and areas of shadow are masked out per light during the process. Much more realistic lighting model, taking into account multiple coloured lights and ambient contribution well, but more expensive since it can take more passes to render." />
65                <Property Name="InheritsAlpha" Value="False" />
66                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
67                <Property Name="UnifiedAreaRect" Value="{{0.196723,0},{0.174711,0},{0.327724,0},{0.348675,0}}" />
68            </Window>
69            <Window Type="TaharezLook/RadioButton" Name="Shadows/Modulative" >
70                <Property Name="ID" Value="4" />
71                <Property Name="Font" Value="BlueHighway-12" />
72                <Property Name="Text" Value="Modulative" />
73                <Property Name="GroupID" Value="2" />
74                <Property Name="Tooltip" Value="Modulative shadows: Shadowed areas are uniformly darkened by a shadow colour after rendering the scene normally. A simple but inaccurate model, it works best when there is one dominant light source (e.g. outdoor daylight). Multiple lights exhibit overdarkening artefacts." />
75                <Property Name="InheritsAlpha" Value="False" />
76                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
77                <Property Name="UnifiedAreaRect" Value="{{0.195901,0},{0.36936,0},{0.334983,0},{0.532604,0}}" />
78            </Window>
79            <Window Type="TaharezLook/StaticText" Name="Shadows/Desc" >
80                <Property Name="Font" Value="BlueHighway-10" />
81                <Property Name="Text" >
82</Property>
83                <Property Name="FrameEnabled" Value="False" />
84                <Property Name="InheritsAlpha" Value="False" />
85                <Property Name="HorzFormatting" Value="WordWrapLeftAligned" />
86                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
87                <Property Name="VertFormatting" Value="TopAligned" />
88                <Property Name="UnifiedAreaRect" Value="{{-0.00124776,0},{0.534509,0},{0.998327,0},{1.00537,0}}" />
89            </Window>
90            <Window Type="TaharezLook/StaticImage" Name="Shadows/ProjectionGroup" >
91                <Property Name="Font" Value="BlueHighway-12" />
92                <Property Name="FrameEnabled" Value="False" />
93                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
94                <Property Name="UnifiedAreaRect" Value="{{0.318294,0},{0.0269328,0},{0.547929,0},{0.488323,0}}" />
95                <Property Name="BackgroundEnabled" Value="False" />
96                <Window Type="TaharezLook/StaticText" Name="Shadows/Label21" >
97                    <Property Name="Font" Value="BlueHighway-12" />
98                    <Property Name="Text" Value="Projection:" />
99                    <Property Name="TextColours" Value="tl:FFFFFF00 tr:FFFFFF00 bl:FFFFFF00 br:FFFFFF00" />
100                    <Property Name="FrameEnabled" Value="False" />
101                    <Property Name="InheritsAlpha" Value="False" />
102                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
103                    <Property Name="UnifiedAreaRect" Value="{{0.0242767,0},{-0.00538364,0},{0.514109,0},{0.300338,0}}" />
104                    <Property Name="BackgroundEnabled" Value="False" />
105                </Window>
106                <Window Type="TaharezLook/Combobox" Name="Shadows/Projection" >
107                    <Property Name="Font" Value="BlueHighway-12" />
108                    <Property Name="Tooltip" Value="Projection: This is the basis for the shadow projection. A uniform projection is the simplest but can also cause aliasing close to the camera due to the finite resolution of the shadow texture. You can plug new ShadowCameraSetup classes to change the projection basis and distribute the shadow texture differently to compensate for this." />
109                    <Property Name="ReadOnly" Value="True" />
110                    <Property Name="InheritsAlpha" Value="False" />
111                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
112                    <Property Name="ClippedByParent" Value="False" />
113                    <Property Name="UnifiedAreaRect" Value="{{0.0215161,0},{0.406132,0},{1.00682,0},{4,0}}" />
114                    <Property Name="MaxEditTextLength" Value="1073741823" />
115                </Window>
116            </Window>
117            <Window Type="TaharezLook/StaticImage" Name="Shadows/MaterialGroup" >
118                <Property Name="Font" Value="BlueHighway-12" />
119                <Property Name="FrameEnabled" Value="False" />
120                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
121                <Property Name="UnifiedAreaRect" Value="{{0.554514,0},{0.0286934,0},{0.927227,0},{0.490084,0}}" />
122                <Property Name="BackgroundEnabled" Value="False" />
123                <Window Type="TaharezLook/StaticText" Name="Shadows/Label211" >
124                    <Property Name="Font" Value="BlueHighway-12" />
125                    <Property Name="Text" Value="Material Setup:" />
126                    <Property Name="TextColours" Value="tl:FFFFFF00 tr:FFFFFF00 bl:FFFFFF00 br:FFFFFF00" />
127                    <Property Name="FrameEnabled" Value="False" />
128                    <Property Name="InheritsAlpha" Value="False" />
129                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
130                    <Property Name="ClippedByParent" Value="False" />
131                    <Property Name="UnifiedAreaRect" Value="{{0.021516,0},{-0.158454,0},{0.862772,0},{0.387132,0}}" />
132                    <Property Name="BackgroundEnabled" Value="False" />
133                </Window>
134                <Window Type="TaharezLook/Combobox" Name="Shadows/Material" >
135                    <Property Name="Font" Value="BlueHighway-12" />
136                    <Property Name="Tooltip" Value="Material setup: You can customise materials texture shadows with material; you can modify the standard shadow passes, which are separate from the normal render, or you can use &apos;custom sequence&apos; shadows which allow you to incorporate shadow textures directly in your own materials, thus gaining complete control. Both can use shaders for effects like PCF / depth shadowmapping." />
137                    <Property Name="ReadOnly" Value="True" />
138                    <Property Name="InheritsAlpha" Value="False" />
139                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
140                    <Property Name="ClippedByParent" Value="False" />
141                    <Property Name="UnifiedAreaRect" Value="{{0.021516,0},{0.406132,0},{0.731289,0},{4,0}}" />
142                    <Property Name="MaxEditTextLength" Value="1073741823" />
143                </Window>
144            </Window>
145            <Window Type="TaharezLook/StaticImage" Name="Shadows/DepthShadowTweakGroup" >
146                <Property Name="Font" Value="BlueHighway-12" />
147                <Property Name="FrameEnabled" Value="False" />
148                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
149                <Property Name="UnifiedAreaRect" Value="{{0.825038,0},{0.0186838,0},{0.999281,0},{0.548657,0}}" />
150                <Property Name="BackgroundEnabled" Value="False" />
151                <Window Type="TaharezLook/StaticText" Name="Shadows/DepthShadowTweakGroup/FixedBiasLabel" >
152                    <Property Name="Font" Value="BlueHighway-10" />
153                    <Property Name="Text" Value="FixedBias:" />
154                    <Property Name="TextColours" Value="tl:FFFFFF00 tr:FFFFFF00 bl:FFFFFF00 br:FFFFFF00" />
155                    <Property Name="FrameEnabled" Value="False" />
156                    <Property Name="InheritsAlpha" Value="False" />
157                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
158                    <Property Name="ClippedByParent" Value="False" />
159                                        <Property Name="UnifiedAreaRect" Value="{{0.0316741,0},{0.0,0},{0.373716,0},{0.2,0}}" />
160                    <Property Name="BackgroundEnabled" Value="False" />
161                </Window>
162                <Window Type="TaharezLook/HorizontalScrollbar" Name="Shadows/DepthShadowTweakGroup/FixedBias" >
163                    <Property Name="PageSize" Value="0.001" />
164                    <Property Name="StepSize" Value="0.0005" />
165                    <Property Name="OverlapSize" Value="0.0005" />
166                    <Property Name="DocumentSize" Value="0.021" />
167                    <Property Name="InheritsAlpha" Value="False" />
168                    <Property Name="ScrollPosition" Value="0" />
169                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
170                    <Property Name="ClippedByParent" Value="False" />
171                                        <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.0,0},{1,0},{0.15,0}}" />
172                </Window>
173                <Window Type="TaharezLook/StaticText" Name="Shadows/DepthShadowTweakGroup/FixedBiasText" >
174                    <Property Name="Font" Value="BlueHighway-10" />
175                                        <Property Name="Text" Value="" />
176                    <Property Name="FrameEnabled" Value="False" />
177                    <Property Name="InheritsAlpha" Value="False" />
178                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
179                                        <Property Name="UnifiedAreaRect" Value="{{0.70,0},{0.125,0},{0.943746,0},{0.3,0}}" />
180                    <Property Name="BackgroundEnabled" Value="False" />
181                </Window>
182                <Window Type="TaharezLook/StaticText" Name="Shadows/DepthShadowTweakGroup/SlopeBiasLabel" >
183                    <Property Name="Font" Value="BlueHighway-10" />
184                    <Property Name="Text" Value="SlopeBias:" />
185                    <Property Name="TextColours" Value="tl:FFFFFF00 tr:FFFFFF00 bl:FFFFFF00 br:FFFFFF00" />
186                    <Property Name="FrameEnabled" Value="False" />
187                    <Property Name="InheritsAlpha" Value="False" />
188                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
189                    <Property Name="ClippedByParent" Value="False" />
190                                        <Property Name="UnifiedAreaRect" Value="{{0.0316741,0},{0.35,0},{0.373716,0},{0.55,0}}" />
191                    <Property Name="BackgroundEnabled" Value="False" />
192                </Window>
193                <Window Type="TaharezLook/HorizontalScrollbar" Name="Shadows/DepthShadowTweakGroup/SlopeBias" >
194                    <Property Name="PageSize" Value="0.1" />
195                    <Property Name="StepSize" Value="0.05" />
196                    <Property Name="OverlapSize" Value="0.05" />
197                    <Property Name="DocumentSize" Value="2.1" />
198                    <Property Name="InheritsAlpha" Value="False" />
199                    <Property Name="ScrollPosition" Value="0" />
200                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
201                    <Property Name="ClippedByParent" Value="False" />
202                    <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.35,0},{1,0},{0.5,0}}" />
203                </Window>
204                                <Window Type="TaharezLook/StaticText" Name="Shadows/DepthShadowTweakGroup/SlopeBiasText" >
205                    <Property Name="Font" Value="BlueHighway-10" />
206                                        <Property Name="Text" Value="" />
207                    <Property Name="FrameEnabled" Value="False" />
208                    <Property Name="InheritsAlpha" Value="False" />
209                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
210                                        <Property Name="UnifiedAreaRect" Value="{{0.70,0},{0.475,0},{0.943746,0},{0.675,0}}" />
211                    <Property Name="BackgroundEnabled" Value="False" />
212                </Window>
213                                <Window Type="TaharezLook/StaticText" Name="Shadows/DepthShadowTweakGroup/SlopeClampLabel" >
214                    <Property Name="Font" Value="BlueHighway-10" />
215                                        <Property Name="Text" Value="Clamp:" />
216                    <Property Name="TextColours" Value="tl:FFFFFF00 tr:FFFFFF00 bl:FFFFFF00 br:FFFFFF00" />
217                    <Property Name="FrameEnabled" Value="False" />
218                    <Property Name="InheritsAlpha" Value="False" />
219                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
220                    <Property Name="ClippedByParent" Value="False" />
221                                        <Property Name="UnifiedAreaRect" Value="{{0.0316741,0},{0.675,0},{0.472153,0},{0.85,0}}" />
222                    <Property Name="BackgroundEnabled" Value="False" />
223                </Window>
224                <Window Type="TaharezLook/HorizontalScrollbar" Name="Shadows/DepthShadowTweakGroup/SlopeClamp" >
225                    <Property Name="PageSize" Value="0.01" />
226                    <Property Name="StepSize" Value="0.005" />
227                    <Property Name="OverlapSize" Value="0.005" />
228                    <Property Name="DocumentSize" Value="0.11" />
229                    <Property Name="InheritsAlpha" Value="False" />
230                    <Property Name="ScrollPosition" Value="0" />
231                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
232                    <Property Name="ClippedByParent" Value="False" />
233                                        <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.7,0},{1,0},{0.85,0}}" />
234                </Window>
235                                <Window Type="TaharezLook/StaticText" Name="Shadows/DepthShadowTweakGroup/SlopeClampText" >
236                    <Property Name="Font" Value="BlueHighway-10" />
237                                        <Property Name="Text" Value="" />
238                    <Property Name="FrameEnabled" Value="False" />
239                    <Property Name="InheritsAlpha" Value="False" />
240                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
241                                        <Property Name="UnifiedAreaRect" Value="{{0.70,0},{0.825,0},{0.943746,0},{0.99,0}}" />
242                    <Property Name="BackgroundEnabled" Value="False" />
243                </Window>
244            </Window>
245        </Window>
246    </Window>
247</GUILayout>
Note: See TracBrowser for help on using the repository browser.