shadows.layout
资源名称:3dwind2.0.rar [点击查看]
上传用户:xhbjoy
上传日期:2014-10-07
资源大小:38068k
文件大小:18k
源码类别:
游戏引擎
开发平台:
Visual C++
- <?xml version="1.0" encoding="UTF-8"?>
- <GUILayout >
- <Window Type="DefaultWindow" Name="Shadows" >
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
- <Window Type="TaharezLook/FrameWindow" Name="Shadows/Main" >
- <Property Name="Font" Value="BlueHighway-12" />
- <Property Name="Alpha" Value="0.5" />
- <Property Name="FrameEnabled" Value="False" />
- <Property Name="TitlebarFont" Value="BlueHighway-12" />
- <Property Name="SizingEnabled" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="TitlebarEnabled" Value="False" />
- <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{0.797107,0},{0.148408,0}}" />
- <Property Name="DragMovingEnabled" Value="False" />
- <Property Name="CloseButtonEnabled" Value="False" />
- <Window Type="TaharezLook/RadioButton" Name="Shadows/Stencil" >
- <Property Name="ID" Value="1" />
- <Property Name="Font" Value="BlueHighway-12" />
- <Property Name="Text" Value="Stencil shadows" />
- <Property Name="GroupID" Value="1" />
- <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." />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="UnifiedAreaRect" Value="{{0.00465426,0},{0.167892,0},{0.192628,0},{0.344774,0}}" />
- </Window>
- <Window Type="TaharezLook/RadioButton" Name="Shadows/Texture" >
- <Property Name="ID" Value="2" />
- <Property Name="Font" Value="BlueHighway-12" />
- <Property Name="Text" Value="Texture shadows" />
- <Property Name="GroupID" Value="1" />
- <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)" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="UnifiedAreaRect" Value="{{0.00531136,0},{0.362541,0},{0.194019,0},{0.529099,0}}" />
- </Window>
- <Window Type="TaharezLook/StaticText" Name="Shadows/Label2" >
- <Property Name="Font" Value="BlueHighway-12" />
- <Property Name="Text" Value="Lighting:" />
- <Property Name="TextColours" Value="tl:FFFFFF00 tr:FFFFFF00 bl:FFFFFF00 br:FFFFFF00" />
- <Property Name="FrameEnabled" Value="False" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="UnifiedAreaRect" Value="{{0.19234,0},{-0.0189824,0},{0.303863,0},{0.18662,0}}" />
- <Property Name="BackgroundEnabled" Value="False" />
- </Window>
- <Window Type="TaharezLook/StaticText" Name="Shadows/Label1" >
- <Property Name="Font" Value="BlueHighway-12" />
- <Property Name="Text" Value="Technique:" />
- <Property Name="TextColours" Value="tl:FFFFFF00 tr:FFFFFF00 bl:FFFFFF00 br:FFFFFF00" />
- <Property Name="FrameEnabled" Value="False" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="UnifiedAreaRect" Value="{{0.00658522,0},{-0.00904641,0},{0.160622,0},{0.186908,0}}" />
- <Property Name="BackgroundEnabled" Value="False" />
- </Window>
- <Window Type="TaharezLook/RadioButton" Name="Shadows/Additive" >
- <Property Name="ID" Value="3" />
- <Property Name="Font" Value="BlueHighway-12" />
- <Property Name="Text" Value="Additive" />
- <Property Name="GroupID" Value="2" />
- <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." />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="UnifiedAreaRect" Value="{{0.196723,0},{0.174711,0},{0.327724,0},{0.348675,0}}" />
- </Window>
- <Window Type="TaharezLook/RadioButton" Name="Shadows/Modulative" >
- <Property Name="ID" Value="4" />
- <Property Name="Font" Value="BlueHighway-12" />
- <Property Name="Text" Value="Modulative" />
- <Property Name="GroupID" Value="2" />
- <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." />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="UnifiedAreaRect" Value="{{0.195901,0},{0.36936,0},{0.334983,0},{0.532604,0}}" />
- </Window>
- <Window Type="TaharezLook/StaticText" Name="Shadows/Desc" >
- <Property Name="Font" Value="BlueHighway-10" />
- <Property Name="Text" >
- </Property>
- <Property Name="FrameEnabled" Value="False" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="HorzFormatting" Value="WordWrapLeftAligned" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="VertFormatting" Value="TopAligned" />
- <Property Name="UnifiedAreaRect" Value="{{-0.00124776,0},{0.534509,0},{0.998327,0},{1.00537,0}}" />
- </Window>
- <Window Type="TaharezLook/StaticImage" Name="Shadows/ProjectionGroup" >
- <Property Name="Font" Value="BlueHighway-12" />
- <Property Name="FrameEnabled" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="UnifiedAreaRect" Value="{{0.318294,0},{0.0269328,0},{0.547929,0},{0.488323,0}}" />
- <Property Name="BackgroundEnabled" Value="False" />
- <Window Type="TaharezLook/StaticText" Name="Shadows/Label21" >
- <Property Name="Font" Value="BlueHighway-12" />
- <Property Name="Text" Value="Projection:" />
- <Property Name="TextColours" Value="tl:FFFFFF00 tr:FFFFFF00 bl:FFFFFF00 br:FFFFFF00" />
- <Property Name="FrameEnabled" Value="False" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="UnifiedAreaRect" Value="{{0.0242767,0},{-0.00538364,0},{0.514109,0},{0.300338,0}}" />
- <Property Name="BackgroundEnabled" Value="False" />
- </Window>
- <Window Type="TaharezLook/Combobox" Name="Shadows/Projection" >
- <Property Name="Font" Value="BlueHighway-12" />
- <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." />
- <Property Name="ReadOnly" Value="True" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="ClippedByParent" Value="False" />
- <Property Name="UnifiedAreaRect" Value="{{0.0215161,0},{0.406132,0},{1.00682,0},{4,0}}" />
- <Property Name="MaxEditTextLength" Value="1073741823" />
- </Window>
- </Window>
- <Window Type="TaharezLook/StaticImage" Name="Shadows/MaterialGroup" >
- <Property Name="Font" Value="BlueHighway-12" />
- <Property Name="FrameEnabled" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="UnifiedAreaRect" Value="{{0.554514,0},{0.0286934,0},{0.927227,0},{0.490084,0}}" />
- <Property Name="BackgroundEnabled" Value="False" />
- <Window Type="TaharezLook/StaticText" Name="Shadows/Label211" >
- <Property Name="Font" Value="BlueHighway-12" />
- <Property Name="Text" Value="Material Setup:" />
- <Property Name="TextColours" Value="tl:FFFFFF00 tr:FFFFFF00 bl:FFFFFF00 br:FFFFFF00" />
- <Property Name="FrameEnabled" Value="False" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="ClippedByParent" Value="False" />
- <Property Name="UnifiedAreaRect" Value="{{0.021516,0},{-0.158454,0},{0.862772,0},{0.387132,0}}" />
- <Property Name="BackgroundEnabled" Value="False" />
- </Window>
- <Window Type="TaharezLook/Combobox" Name="Shadows/Material" >
- <Property Name="Font" Value="BlueHighway-12" />
- <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 'custom sequence' 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." />
- <Property Name="ReadOnly" Value="True" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="ClippedByParent" Value="False" />
- <Property Name="UnifiedAreaRect" Value="{{0.021516,0},{0.406132,0},{0.731289,0},{4,0}}" />
- <Property Name="MaxEditTextLength" Value="1073741823" />
- </Window>
- </Window>
- <Window Type="TaharezLook/StaticImage" Name="Shadows/DepthShadowTweakGroup" >
- <Property Name="Font" Value="BlueHighway-12" />
- <Property Name="FrameEnabled" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="UnifiedAreaRect" Value="{{0.825038,0},{0.0186838,0},{0.999281,0},{0.548657,0}}" />
- <Property Name="BackgroundEnabled" Value="False" />
- <Window Type="TaharezLook/StaticText" Name="Shadows/DepthShadowTweakGroup/FixedBiasLabel" >
- <Property Name="Font" Value="BlueHighway-10" />
- <Property Name="Text" Value="FixedBias:" />
- <Property Name="TextColours" Value="tl:FFFFFF00 tr:FFFFFF00 bl:FFFFFF00 br:FFFFFF00" />
- <Property Name="FrameEnabled" Value="False" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="ClippedByParent" Value="False" />
- <Property Name="UnifiedAreaRect" Value="{{0.0316741,0},{0.0,0},{0.373716,0},{0.2,0}}" />
- <Property Name="BackgroundEnabled" Value="False" />
- </Window>
- <Window Type="TaharezLook/HorizontalScrollbar" Name="Shadows/DepthShadowTweakGroup/FixedBias" >
- <Property Name="PageSize" Value="0.001" />
- <Property Name="StepSize" Value="0.0005" />
- <Property Name="OverlapSize" Value="0.0005" />
- <Property Name="DocumentSize" Value="0.021" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="ScrollPosition" Value="0" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="ClippedByParent" Value="False" />
- <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.0,0},{1,0},{0.15,0}}" />
- </Window>
- <Window Type="TaharezLook/StaticText" Name="Shadows/DepthShadowTweakGroup/FixedBiasText" >
- <Property Name="Font" Value="BlueHighway-10" />
- <Property Name="Text" Value="" />
- <Property Name="FrameEnabled" Value="False" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="UnifiedAreaRect" Value="{{0.70,0},{0.125,0},{0.943746,0},{0.3,0}}" />
- <Property Name="BackgroundEnabled" Value="False" />
- </Window>
- <Window Type="TaharezLook/StaticText" Name="Shadows/DepthShadowTweakGroup/SlopeBiasLabel" >
- <Property Name="Font" Value="BlueHighway-10" />
- <Property Name="Text" Value="SlopeBias:" />
- <Property Name="TextColours" Value="tl:FFFFFF00 tr:FFFFFF00 bl:FFFFFF00 br:FFFFFF00" />
- <Property Name="FrameEnabled" Value="False" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="ClippedByParent" Value="False" />
- <Property Name="UnifiedAreaRect" Value="{{0.0316741,0},{0.35,0},{0.373716,0},{0.55,0}}" />
- <Property Name="BackgroundEnabled" Value="False" />
- </Window>
- <Window Type="TaharezLook/HorizontalScrollbar" Name="Shadows/DepthShadowTweakGroup/SlopeBias" >
- <Property Name="PageSize" Value="0.1" />
- <Property Name="StepSize" Value="0.05" />
- <Property Name="OverlapSize" Value="0.05" />
- <Property Name="DocumentSize" Value="2.1" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="ScrollPosition" Value="0" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="ClippedByParent" Value="False" />
- <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.35,0},{1,0},{0.5,0}}" />
- </Window>
- <Window Type="TaharezLook/StaticText" Name="Shadows/DepthShadowTweakGroup/SlopeBiasText" >
- <Property Name="Font" Value="BlueHighway-10" />
- <Property Name="Text" Value="" />
- <Property Name="FrameEnabled" Value="False" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="UnifiedAreaRect" Value="{{0.70,0},{0.475,0},{0.943746,0},{0.675,0}}" />
- <Property Name="BackgroundEnabled" Value="False" />
- </Window>
- <Window Type="TaharezLook/StaticText" Name="Shadows/DepthShadowTweakGroup/SlopeClampLabel" >
- <Property Name="Font" Value="BlueHighway-10" />
- <Property Name="Text" Value="Clamp:" />
- <Property Name="TextColours" Value="tl:FFFFFF00 tr:FFFFFF00 bl:FFFFFF00 br:FFFFFF00" />
- <Property Name="FrameEnabled" Value="False" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="ClippedByParent" Value="False" />
- <Property Name="UnifiedAreaRect" Value="{{0.0316741,0},{0.675,0},{0.472153,0},{0.85,0}}" />
- <Property Name="BackgroundEnabled" Value="False" />
- </Window>
- <Window Type="TaharezLook/HorizontalScrollbar" Name="Shadows/DepthShadowTweakGroup/SlopeClamp" >
- <Property Name="PageSize" Value="0.01" />
- <Property Name="StepSize" Value="0.005" />
- <Property Name="OverlapSize" Value="0.005" />
- <Property Name="DocumentSize" Value="0.11" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="ScrollPosition" Value="0" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="ClippedByParent" Value="False" />
- <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.7,0},{1,0},{0.85,0}}" />
- </Window>
- <Window Type="TaharezLook/StaticText" Name="Shadows/DepthShadowTweakGroup/SlopeClampText" >
- <Property Name="Font" Value="BlueHighway-10" />
- <Property Name="Text" Value="" />
- <Property Name="FrameEnabled" Value="False" />
- <Property Name="InheritsAlpha" Value="False" />
- <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
- <Property Name="UnifiedAreaRect" Value="{{0.70,0},{0.825,0},{0.943746,0},{0.99,0}}" />
- <Property Name="BackgroundEnabled" Value="False" />
- </Window>
- </Window>
- </Window>
- </Window>
- </GUILayout>