template element TextArea(Example/Visibility/Templates/BasicText) { metrics_mode pixels left 5 top 5 width 180 height 30 font_name TrebuchetMSBold char_height 16 colour_top 0.5 0.7 0.5 colour_bottom 0.3 0.5 0.3 } Example/Visibility/CullStatsOverlay { zorder 500 // Stats block container BorderPanel(Example/Visibility/VisibilityPanel) { metrics_mode pixels vert_align top left 5 top 5 width 430 height 90 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/Visibility/Algorithm): Example/Visibility/Templates/BasicText { left 5 width 180 caption [SPACE] Algorithm } element TextArea(Example/Visibility/AlgorithmInfo): Example/Visibility/Templates/BasicText { left 210 width 120 height 30 caption : } element TextArea(Example/Visibility/Threshold): Example/Visibility/Templates/BasicText { left 5 width 120 height 30 caption [-][+] Threshold } element TextArea(Example/Visibility/ThresholdInfo): Example/Visibility/Templates/BasicText { left 210 width 120 height 30 caption : } element TextArea(Example/Visibility/TestGeometryForVisibleLeaves): Example/Visibility/Templates/BasicText { left 5 width 120 height 30 caption [G] Test Geometry For Leaves } element TextArea(Example/Visibility/TestGeometryForVisibleLeavesInfo): Example/Visibility/Templates/BasicText { left 210 width 120 height 30 caption : } element TextArea(Example/Visibility/UseDepthPass): Example/Visibility/Templates/BasicText { left 5 width 120 height 30 caption [X] Depth pass } element TextArea(Example/Visibility/UseDepthPassInfo): Example/Visibility/Templates/BasicText { left 210 width 120 height 30 caption : } element TextArea(Example/Visibility/AssumedVisibility): Example/Visibility/Templates/BasicText { left 5 width 120 height 30 caption [8][9] Assumed Visibility } element TextArea(Example/Visibility/AssumedVisibilityInfo): Example/Visibility/Templates/BasicText { left 210 width 120 height 30 caption : } element TextArea(Example/Visibility/CurrentObjectType): Example/Visibility/Templates/BasicText { left 5 width 120 height 30 caption [F7] Object type } element TextArea(Example/Visibility/CurrentObjectTypeInfo): Example/Visibility/Templates/BasicText { left 210 width 90 font_name TrebuchetMSBold caption : } } container BorderPanel(Example/Visibility/VisibilityStatsPanel) { metrics_mode pixels vert_align top horz_align right left -250 top 5 width 320 height 135 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/Visibility/FrustumCulledNodes): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption Frustum Culled Nodes } element TextArea(Example/Visibility/FrustumCulledNodesInfo): Example/Visibility/Templates/BasicText { left 180 width 90 height 30 caption : } element TextArea(Example/Visibility/QueryCulledNodes): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption Query Culled Nodes } element TextArea(Example/Visibility/QueryCulledNodesInfo): Example/Visibility/Templates/BasicText { left 180 width 90 height 30 caption : } element TextArea(Example/Visibility/TraversedNodes): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption Traversed Nodes } element TextArea(Example/Visibility/TraversedNodesInfo): Example/Visibility/Templates/BasicText { left 180 width 90 height 30 caption : } element TextArea(Example/Visibility/HierarchyNodes): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption Hierarchy Nodes } element TextArea(Example/Visibility/HierarchyNodesInfo): Example/Visibility/Templates/BasicText { left 180 width 90 height 30 caption : } element TextArea(Example/Visibility/RenderedNodes): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption Rendered Nodes } element TextArea(Example/Visibility/RenderedNodesInfo): Example/Visibility/Templates/BasicText { left 180 width 90 height 30 caption : } element TextArea(Example/Visibility/ObjectsCount): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption Number of objects } element TextArea(Example/Visibility/ObjectsCountInfo): Example/Visibility/Templates/BasicText { left 180 width 90 height 30 caption : } element TextArea(Example/Visibility/QueriesIssued): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption Queries issued } element TextArea(Example/Visibility/QueriesIssuedInfo): Example/Visibility/Templates/BasicText { left 180 width 90 font_name TrebuchetMSBold caption : } } } Example/Visibility/HelpOverlay { zorder 600 // Stats block container BorderPanel(Example/Visibility/Help/HelpPanel) { metrics_mode pixels horz_align left vert_align top width 600 height 300 left 200 top 200 material Core/StatsBlockCenter //material Example/Visibility/Helpscreen 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 container Panel(Example/Visibility/Help/BreakPanel) { metrics_mode pixels left 5 top 22 width 590 height 1 material Core/StatsBreak } element TextArea(Example/Visibility/Help/HelpOptions) { metrics_mode pixels left 5 top 5 width 90 height 30 font_name TrebuchetMSBold char_height 19 caption Help: Additional Options colour_top 1 1 0.7 colour_bottom 1 1 0.7 } element TextArea(Example/Visibility/Help/ShowHelp): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [F1] Show / Hide this screen } element TextArea(Example/Visibility/Help/Stats): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [F2] Show / Hide stats } element TextArea(Example/Visibility/Help/AppState): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [F3] Toggle between interactive / recorded walkthrough } element TextArea(Example/Visibility/Help/Recorded): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [F4] Start / End frame recording } element TextArea(Example/Visibility/Help/Screenshots): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [F11] Screenshot } element TextArea(Example/Visibility/Help/WriteOut): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [F12] Write scene entities to file } //-- visualization element TextArea(Example/Visibility/Help/VizSection): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption ****** Visualization ****** } element TextArea(Example/Visibility/Help/Viz): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [1] Show / hide visualization } element TextArea(Example/Visibility/Help/NextVizMode): Example/Visibility/Templates/BasicText { left 5 width 175 height 30 caption [2] Toggle visualization mode } element TextArea(Example/Visibility/Help/ZoomViz): Example/Visibility/Templates/BasicText { left 5 width 190 height 30 caption [3][4] Zoom in / out of visualization } element TextArea(Example/Visibility/Help/SceneDetail): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [R] Toggle between solid / wireframe / point based rendering } element TextArea(Example/Visibility/Help/DisplayCameraDetails): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [P] Show / hide camera details } element TextArea(Example/Visibility/Help/DisplayOctree): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [T] Show / hide octree } element TextArea(Example/Visibility/Help/UseShadows): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [S] Show / hide shadows } element TextArea(Example/Visibility/Help/Filter): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [F] toggle filtering method (trilinear, anisotropic, bilinear) } element TextArea(Example/Visibility/Help/VisQuery): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption ****** Visibility Queries ****** } element TextArea(Example/Visibility/Help/FromCameraQuery): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [F5] From camera visible pixels (+ SHIFT: relative visibility) } element TextArea(Example/Visibility/Help/FromPointQuery): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [F6] From camera visible pixels (+ SHIFT: relative visibility) } element TextArea(Example/Visibility/Help/QueryType): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [I] Change between occlusion query / item buffer visibility query } element TextArea(Example/Visibility/Help/QueryTarget): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [C] Mesh / Patch visibility (only item buffer) } element TextArea(Example/Visibility/Help/SceneObjects): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption ******* Generation / Destruction of scene objects ****** } element TextArea(Example/Visibility/Help/GenerateObjects): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [F8] Generate 500 objects } element TextArea(Example/Visibility/Help/RemoveObjects): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [DEL] Remove generated objects } element TextArea(Example/Visibility/Help/DropObject): Example/Visibility/Templates/BasicText { left 5 width 180 height 30 caption [MOUSE LEFT] Drop object on terrain } } } Example/Visibility/QueryOverlay { zorder 650 // Stats block container BorderPanel(Example/Visibility/Query/QueryPanel) { metrics_mode pixels horz_align left vert_align top width 600 height 145 left 200 top 300 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 container Panel(Example/Visibility/Query/BreakPanel) { metrics_mode pixels left 5 top 22 width 590 height 1 material Core/StatsBreak } element TextArea(Example/Visibility/Query/Headline) { metrics_mode pixels left 5 top 5 width 90 height 30 font_name TrebuchetMSBold char_height 19 caption Exact Visibility Query colour_top 1 1 0.7 colour_bottom 1 1 0.7 } element TextArea(Example/Visibility/Query/QueryType): Example/Visibility/Templates/BasicText { left 5 width 90 height 30 caption Type } element TextArea(Example/Visibility/Query/QueryTypeInfo): Example/Visibility/Templates/BasicText { left 180 width 90 height 30 caption : } element TextArea(Example/Visibility/Query/VisibleNodes): Example/Visibility/Templates/BasicText { left 5 width 90 height 30 caption Visible nodes } element TextArea(Example/Visibility/Query/VisibleNodesInfo): Example/Visibility/Templates/BasicText { left 180 width 90 height 30 caption : } element TextArea(Example/Visibility/Query/VisibleGeometry): Example/Visibility/Templates/BasicText { left 5 width 90 height 30 caption Visible geometry } element TextArea(Example/Visibility/Query/VisibleGeometryInfo): Example/Visibility/Templates/BasicText { left 180 width 90 height 30 caption : } element TextArea(Example/Visibility/Query/VisiblePatches): Example/Visibility/Templates/BasicText { left 5 width 90 height 30 caption Visible patches } element TextArea(Example/Visibility/Query/VisiblePatchesInfo): Example/Visibility/Templates/BasicText { left 180 width 90 height 30 caption : } element TextArea(Example/Visibility/Query/NodeVisibility): Example/Visibility/Templates/BasicText { left 5 width 90 height 30 caption Avg. node visibility } element TextArea(Example/Visibility/Query/NodeVisibilityInfo): Example/Visibility/Templates/BasicText { left 180 width 90 height 30 caption : } element TextArea(Example/Visibility/Query/GeometryVisibility): Example/Visibility/Templates/BasicText { left 5 width 90 height 30 caption Avg. geometry visibility } element TextArea(Example/Visibility/Query/GeometryVisibilityInfo): Example/Visibility/Templates/BasicText { left 180 width 90 height 30 caption : } element TextArea(Example/Visibility/Query/PatchVisibility): Example/Visibility/Templates/BasicText { left 5 width 90 height 30 caption Avg. patch visibility } element TextArea(Example/Visibility/Query/PatchVisibilityInfo): Example/Visibility/Templates/BasicText { left 180 width 90 height 30 caption : } } }