[183] | 1 | template element TextArea(Example/Visibility/Templates/BasicText)
|
---|
| 2 | {
|
---|
| 3 | metrics_mode pixels
|
---|
| 4 | left 5
|
---|
| 5 | top 5
|
---|
| 6 | width 180
|
---|
| 7 | height 30
|
---|
| 8 | font_name TrebuchetMSBold
|
---|
| 9 | char_height 16
|
---|
| 10 | colour_top 0.5 0.7 0.5
|
---|
| 11 | colour_bottom 0.3 0.5 0.3
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | Example/Visibility/CullStatsOverlay
|
---|
| 15 | {
|
---|
| 16 | zorder 500
|
---|
| 17 | // Stats block
|
---|
| 18 | container BorderPanel(Example/Visibility/VisibilityPanel)
|
---|
| 19 | {
|
---|
| 20 | metrics_mode pixels
|
---|
| 21 | vert_align top
|
---|
| 22 | left 5
|
---|
| 23 | top 5
|
---|
| 24 | width 430
|
---|
| 25 | height 90
|
---|
| 26 | material Core/StatsBlockCenter
|
---|
| 27 | border_size 1 1 1 1
|
---|
| 28 | border_material Core/StatsBlockBorder
|
---|
| 29 | border_topleft_uv 0.0000 1.0000 0.0039 0.9961
|
---|
| 30 | border_top_uv 0.0039 1.0000 0.9961 0.9961
|
---|
| 31 | border_topright_uv 0.9961 1.0000 1.0000 0.9961
|
---|
| 32 | border_left_uv 0.0000 0.9961 0.0039 0.0039
|
---|
| 33 | border_right_uv 0.9961 0.9961 1.0000 0.0039
|
---|
| 34 | border_bottomleft_uv 0.0000 0.0039 0.0039 0.0000
|
---|
| 35 | border_bottom_uv 0.0039 0.0039 0.9961 0.0000
|
---|
| 36 | border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
|
---|
| 37 |
|
---|
| 38 |
|
---|
| 39 | element TextArea(Example/Visibility/Algorithm): Example/Visibility/Templates/BasicText
|
---|
| 40 | {
|
---|
| 41 | left 5
|
---|
| 42 | width 180
|
---|
| 43 | caption [SPACE] Algorithm
|
---|
| 44 | }
|
---|
| 45 | element TextArea(Example/Visibility/AlgorithmInfo): Example/Visibility/Templates/BasicText
|
---|
| 46 | {
|
---|
| 47 | left 210
|
---|
| 48 | width 120
|
---|
| 49 | height 30
|
---|
| 50 | caption :
|
---|
| 51 | }
|
---|
| 52 |
|
---|
| 53 | element TextArea(Example/Visibility/Threshold): Example/Visibility/Templates/BasicText
|
---|
| 54 | {
|
---|
| 55 | left 5
|
---|
| 56 | width 120
|
---|
| 57 | height 30
|
---|
| 58 | caption [-][+] Threshold
|
---|
| 59 | }
|
---|
| 60 | element TextArea(Example/Visibility/ThresholdInfo): Example/Visibility/Templates/BasicText
|
---|
| 61 | {
|
---|
| 62 | left 210
|
---|
| 63 | width 120
|
---|
| 64 | height 30
|
---|
| 65 | caption :
|
---|
| 66 | }
|
---|
| 67 | element TextArea(Example/Visibility/TestGeometryForVisibleLeaves): Example/Visibility/Templates/BasicText
|
---|
| 68 | {
|
---|
| 69 | left 5
|
---|
| 70 | width 120
|
---|
| 71 | height 30
|
---|
| 72 | caption [G] Test Geometry For Leaves
|
---|
| 73 | }
|
---|
| 74 | element TextArea(Example/Visibility/TestGeometryForVisibleLeavesInfo): Example/Visibility/Templates/BasicText
|
---|
| 75 | {
|
---|
| 76 | left 210
|
---|
| 77 | width 120
|
---|
| 78 | height 30
|
---|
| 79 | caption :
|
---|
| 80 | }
|
---|
| 81 | element TextArea(Example/Visibility/UseDepthPass): Example/Visibility/Templates/BasicText
|
---|
| 82 | {
|
---|
| 83 | left 5
|
---|
| 84 | width 120
|
---|
| 85 | height 30
|
---|
| 86 | caption [X] Depth pass
|
---|
| 87 | }
|
---|
| 88 | element TextArea(Example/Visibility/UseDepthPassInfo): Example/Visibility/Templates/BasicText
|
---|
| 89 | {
|
---|
| 90 | left 210
|
---|
| 91 | width 120
|
---|
| 92 | height 30
|
---|
| 93 | caption :
|
---|
| 94 | }
|
---|
| 95 | element TextArea(Example/Visibility/AssumedVisibility): Example/Visibility/Templates/BasicText
|
---|
| 96 | {
|
---|
| 97 | left 5
|
---|
| 98 | width 120
|
---|
| 99 | height 30
|
---|
| 100 | caption [8][9] Assumed Visibility
|
---|
| 101 | }
|
---|
| 102 |
|
---|
| 103 | element TextArea(Example/Visibility/AssumedVisibilityInfo): Example/Visibility/Templates/BasicText
|
---|
| 104 | {
|
---|
| 105 | left 210
|
---|
| 106 | width 120
|
---|
| 107 | height 30
|
---|
| 108 | caption :
|
---|
| 109 | }
|
---|
| 110 | element TextArea(Example/Visibility/CurrentObjectType): Example/Visibility/Templates/BasicText
|
---|
| 111 | {
|
---|
| 112 | left 5
|
---|
| 113 | width 120
|
---|
| 114 | height 30
|
---|
| 115 | caption [F7] Object type
|
---|
| 116 | }
|
---|
| 117 | element TextArea(Example/Visibility/CurrentObjectTypeInfo): Example/Visibility/Templates/BasicText
|
---|
| 118 | {
|
---|
| 119 | left 210
|
---|
| 120 | width 90
|
---|
| 121 | font_name TrebuchetMSBold
|
---|
| 122 | caption :
|
---|
[343] | 123 | }
|
---|
| 124 | element TextArea(Example/Visibility/UseArbQueries): Example/Visibility/Templates/BasicText
|
---|
| 125 | {
|
---|
| 126 | left 5
|
---|
| 127 | width 120
|
---|
| 128 | height 30
|
---|
[423] | 129 | caption [Q] HW Query type
|
---|
[183] | 130 | }
|
---|
[343] | 131 | element TextArea(Example/Visibility/UseArbQueriesInfo): Example/Visibility/Templates/BasicText
|
---|
| 132 | {
|
---|
| 133 | left 210
|
---|
| 134 | width 90
|
---|
| 135 | font_name TrebuchetMSBold
|
---|
| 136 | caption :
|
---|
| 137 | }
|
---|
| 138 |
|
---|
[183] | 139 | }
|
---|
| 140 |
|
---|
| 141 | container BorderPanel(Example/Visibility/VisibilityStatsPanel)
|
---|
| 142 | {
|
---|
| 143 | metrics_mode pixels
|
---|
| 144 | vert_align top
|
---|
| 145 | horz_align right
|
---|
| 146 | left -250
|
---|
| 147 | top 5
|
---|
| 148 | width 320
|
---|
| 149 | height 135
|
---|
| 150 | material Core/StatsBlockCenter
|
---|
| 151 | border_size 1 1 1 1
|
---|
| 152 | border_material Core/StatsBlockBorder
|
---|
| 153 | border_topleft_uv 0.0000 1.0000 0.0039 0.9961
|
---|
| 154 | border_top_uv 0.0039 1.0000 0.9961 0.9961
|
---|
| 155 | border_topright_uv 0.9961 1.0000 1.0000 0.9961
|
---|
| 156 | border_left_uv 0.0000 0.9961 0.0039 0.0039
|
---|
| 157 | border_right_uv 0.9961 0.9961 1.0000 0.0039
|
---|
| 158 | border_bottomleft_uv 0.0000 0.0039 0.0039 0.0000
|
---|
| 159 | border_bottom_uv 0.0039 0.0039 0.9961 0.0000
|
---|
| 160 | border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
|
---|
| 161 |
|
---|
| 162 | element TextArea(Example/Visibility/FrustumCulledNodes): Example/Visibility/Templates/BasicText
|
---|
| 163 | {
|
---|
| 164 | left 5
|
---|
| 165 | width 180
|
---|
| 166 | height 30
|
---|
| 167 | caption Frustum Culled Nodes
|
---|
| 168 | }
|
---|
| 169 | element TextArea(Example/Visibility/FrustumCulledNodesInfo): Example/Visibility/Templates/BasicText
|
---|
| 170 | {
|
---|
| 171 | left 180
|
---|
| 172 | width 90
|
---|
| 173 | height 30
|
---|
| 174 | caption :
|
---|
| 175 | }
|
---|
| 176 | element TextArea(Example/Visibility/QueryCulledNodes): Example/Visibility/Templates/BasicText
|
---|
| 177 | {
|
---|
| 178 | left 5
|
---|
| 179 | width 180
|
---|
| 180 | height 30
|
---|
| 181 | caption Query Culled Nodes
|
---|
| 182 | }
|
---|
| 183 | element TextArea(Example/Visibility/QueryCulledNodesInfo): Example/Visibility/Templates/BasicText
|
---|
| 184 | {
|
---|
| 185 | left 180
|
---|
| 186 | width 90
|
---|
| 187 | height 30
|
---|
| 188 | caption :
|
---|
| 189 | }
|
---|
| 190 | element TextArea(Example/Visibility/TraversedNodes): Example/Visibility/Templates/BasicText
|
---|
| 191 | {
|
---|
| 192 | left 5
|
---|
| 193 | width 180
|
---|
| 194 | height 30
|
---|
| 195 | caption Traversed Nodes
|
---|
| 196 | }
|
---|
| 197 | element TextArea(Example/Visibility/TraversedNodesInfo): Example/Visibility/Templates/BasicText
|
---|
| 198 | {
|
---|
| 199 | left 180
|
---|
| 200 | width 90
|
---|
| 201 | height 30
|
---|
| 202 | caption :
|
---|
| 203 | }
|
---|
| 204 | element TextArea(Example/Visibility/HierarchyNodes): Example/Visibility/Templates/BasicText
|
---|
| 205 | {
|
---|
| 206 | left 5
|
---|
| 207 | width 180
|
---|
| 208 | height 30
|
---|
| 209 | caption Hierarchy Nodes
|
---|
| 210 | }
|
---|
| 211 | element TextArea(Example/Visibility/HierarchyNodesInfo): Example/Visibility/Templates/BasicText
|
---|
| 212 | {
|
---|
| 213 | left 180
|
---|
| 214 | width 90
|
---|
| 215 | height 30
|
---|
| 216 | caption :
|
---|
| 217 | }
|
---|
| 218 | element TextArea(Example/Visibility/RenderedNodes): Example/Visibility/Templates/BasicText
|
---|
| 219 | {
|
---|
| 220 | left 5
|
---|
| 221 | width 180
|
---|
| 222 | height 30
|
---|
| 223 | caption Rendered Nodes
|
---|
| 224 | }
|
---|
| 225 | element TextArea(Example/Visibility/RenderedNodesInfo): Example/Visibility/Templates/BasicText
|
---|
| 226 | {
|
---|
| 227 | left 180
|
---|
| 228 | width 90
|
---|
| 229 | height 30
|
---|
| 230 | caption :
|
---|
| 231 | }
|
---|
| 232 | element TextArea(Example/Visibility/ObjectsCount): Example/Visibility/Templates/BasicText
|
---|
| 233 | {
|
---|
| 234 | left 5
|
---|
| 235 | width 180
|
---|
| 236 | height 30
|
---|
| 237 | caption Number of objects
|
---|
| 238 | }
|
---|
| 239 | element TextArea(Example/Visibility/ObjectsCountInfo): Example/Visibility/Templates/BasicText
|
---|
| 240 | {
|
---|
| 241 | left 180
|
---|
| 242 | width 90
|
---|
| 243 | height 30
|
---|
| 244 | caption :
|
---|
| 245 | }
|
---|
| 246 | element TextArea(Example/Visibility/QueriesIssued): Example/Visibility/Templates/BasicText
|
---|
| 247 | {
|
---|
| 248 | left 5
|
---|
| 249 | width 180
|
---|
| 250 | height 30
|
---|
| 251 | caption Queries issued
|
---|
| 252 | }
|
---|
| 253 | element TextArea(Example/Visibility/QueriesIssuedInfo): Example/Visibility/Templates/BasicText
|
---|
| 254 | {
|
---|
| 255 | left 180
|
---|
| 256 | width 90
|
---|
| 257 | font_name TrebuchetMSBold
|
---|
| 258 | caption :
|
---|
| 259 | }
|
---|
| 260 |
|
---|
| 261 | }
|
---|
| 262 | }
|
---|
| 263 |
|
---|
| 264 |
|
---|
| 265 | Example/Visibility/HelpOverlay
|
---|
| 266 | {
|
---|
| 267 | zorder 600
|
---|
| 268 | // Stats block
|
---|
| 269 | container BorderPanel(Example/Visibility/Help/HelpPanel)
|
---|
| 270 | {
|
---|
| 271 | metrics_mode pixels
|
---|
| 272 | horz_align left
|
---|
| 273 | vert_align top
|
---|
| 274 | width 600
|
---|
| 275 | height 300
|
---|
| 276 | left 200
|
---|
| 277 | top 200
|
---|
| 278 | material Core/StatsBlockCenter
|
---|
| 279 | //material Example/Visibility/Helpscreen
|
---|
| 280 | border_size 1 1 1 1
|
---|
| 281 | border_material Core/StatsBlockBorder
|
---|
| 282 | border_topleft_uv 0.0000 1.0000 0.0039 0.9961
|
---|
| 283 | border_top_uv 0.0039 1.0000 0.9961 0.9961
|
---|
| 284 | border_topright_uv 0.9961 1.0000 1.0000 0.9961
|
---|
| 285 | border_left_uv 0.0000 0.9961 0.0039 0.0039
|
---|
| 286 | border_right_uv 0.9961 0.9961 1.0000 0.0039
|
---|
| 287 | border_bottomleft_uv 0.0000 0.0039 0.0039 0.0000
|
---|
| 288 | border_bottom_uv 0.0039 0.0039 0.9961 0.0000
|
---|
| 289 | border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
|
---|
| 290 |
|
---|
| 291 | container Panel(Example/Visibility/Help/BreakPanel)
|
---|
| 292 | {
|
---|
| 293 | metrics_mode pixels
|
---|
| 294 | left 5
|
---|
| 295 | top 22
|
---|
| 296 | width 590
|
---|
| 297 | height 1
|
---|
| 298 | material Core/StatsBreak
|
---|
| 299 | }
|
---|
| 300 |
|
---|
| 301 | element TextArea(Example/Visibility/Help/HelpOptions)
|
---|
| 302 | {
|
---|
| 303 | metrics_mode pixels
|
---|
| 304 | left 5
|
---|
| 305 | top 5
|
---|
| 306 | width 90
|
---|
| 307 | height 30
|
---|
| 308 | font_name TrebuchetMSBold
|
---|
| 309 | char_height 19
|
---|
| 310 | caption Help: Additional Options
|
---|
| 311 | colour_top 1 1 0.7
|
---|
| 312 | colour_bottom 1 1 0.7
|
---|
| 313 | }
|
---|
| 314 |
|
---|
| 315 | element TextArea(Example/Visibility/Help/ShowHelp): Example/Visibility/Templates/BasicText
|
---|
| 316 | {
|
---|
| 317 | left 5
|
---|
| 318 | width 180
|
---|
| 319 | height 30
|
---|
| 320 | caption [F1] Show / Hide this screen
|
---|
| 321 | }
|
---|
| 322 | element TextArea(Example/Visibility/Help/Stats): Example/Visibility/Templates/BasicText
|
---|
| 323 | {
|
---|
| 324 | left 5
|
---|
| 325 | width 180
|
---|
| 326 | height 30
|
---|
| 327 | caption [F2] Show / Hide stats
|
---|
| 328 | }
|
---|
| 329 | element TextArea(Example/Visibility/Help/AppState): Example/Visibility/Templates/BasicText
|
---|
| 330 | {
|
---|
| 331 | left 5
|
---|
| 332 | width 180
|
---|
| 333 | height 30
|
---|
| 334 | caption [F3] Toggle between interactive / recorded walkthrough
|
---|
| 335 | }
|
---|
| 336 | element TextArea(Example/Visibility/Help/Recorded): Example/Visibility/Templates/BasicText
|
---|
| 337 | {
|
---|
| 338 | left 5
|
---|
| 339 | width 180
|
---|
| 340 | height 30
|
---|
| 341 | caption [F4] Start / End frame recording
|
---|
| 342 | }
|
---|
| 343 | element TextArea(Example/Visibility/Help/Animation): Example/Visibility/Templates/BasicText
|
---|
| 344 | {
|
---|
| 345 | left 5
|
---|
| 346 | width 180
|
---|
| 347 | height 30
|
---|
| 348 | caption [F9] Start / End animation
|
---|
| 349 | }
|
---|
[254] | 350 | element TextArea(Example/Visibility/Help/Video): Example/Visibility/Templates/BasicText
|
---|
| 351 | {
|
---|
| 352 | left 5
|
---|
| 353 | width 180
|
---|
| 354 | height 30
|
---|
| 355 | caption [F10] Write out video (i.e., one image per frame)
|
---|
| 356 | }
|
---|
[183] | 357 | element TextArea(Example/Visibility/Help/Screenshots): Example/Visibility/Templates/BasicText
|
---|
| 358 | {
|
---|
| 359 | left 5
|
---|
| 360 | width 180
|
---|
| 361 | height 30
|
---|
| 362 | caption [F11] Screenshot
|
---|
| 363 | }
|
---|
| 364 | element TextArea(Example/Visibility/Help/WriteOut): Example/Visibility/Templates/BasicText
|
---|
| 365 | {
|
---|
| 366 | left 5
|
---|
| 367 | width 180
|
---|
| 368 | height 30
|
---|
| 369 | caption [F12] Write scene entities to file
|
---|
| 370 | }
|
---|
| 371 |
|
---|
| 372 | //-- visualization
|
---|
| 373 | element TextArea(Example/Visibility/Help/VizSection): Example/Visibility/Templates/BasicText
|
---|
| 374 | {
|
---|
| 375 | left 5
|
---|
| 376 | width 180
|
---|
| 377 | height 30
|
---|
| 378 | caption ****** Visualization ******
|
---|
| 379 | }
|
---|
| 380 | element TextArea(Example/Visibility/Help/Viz): Example/Visibility/Templates/BasicText
|
---|
| 381 | {
|
---|
| 382 | left 5
|
---|
| 383 | width 180
|
---|
| 384 | height 30
|
---|
| 385 | caption [1] Show / hide visualization
|
---|
| 386 | }
|
---|
| 387 | element TextArea(Example/Visibility/Help/NextVizMode): Example/Visibility/Templates/BasicText
|
---|
| 388 | {
|
---|
| 389 | left 5
|
---|
| 390 | width 175
|
---|
| 391 | height 30
|
---|
| 392 | caption [2] Toggle visualization mode
|
---|
| 393 | }
|
---|
| 394 | element TextArea(Example/Visibility/Help/ZoomViz): Example/Visibility/Templates/BasicText
|
---|
| 395 | {
|
---|
| 396 | left 5
|
---|
| 397 | width 190
|
---|
| 398 | height 30
|
---|
| 399 | caption [3][4] Zoom in / out of visualization
|
---|
| 400 | }
|
---|
| 401 | element TextArea(Example/Visibility/Help/SceneDetail): Example/Visibility/Templates/BasicText
|
---|
| 402 | {
|
---|
| 403 | left 5
|
---|
| 404 | width 180
|
---|
| 405 | height 30
|
---|
| 406 | caption [R] Toggle between solid / wireframe / point based rendering
|
---|
| 407 | }
|
---|
| 408 | element TextArea(Example/Visibility/Help/DisplayCameraDetails): Example/Visibility/Templates/BasicText
|
---|
| 409 | {
|
---|
| 410 | left 5
|
---|
| 411 | width 180
|
---|
| 412 | height 30
|
---|
| 413 | caption [P] Show / hide camera details
|
---|
| 414 | }
|
---|
| 415 | element TextArea(Example/Visibility/Help/DisplayOctree): Example/Visibility/Templates/BasicText
|
---|
| 416 | {
|
---|
| 417 | left 5
|
---|
| 418 | width 180
|
---|
| 419 | height 30
|
---|
| 420 | caption [T] Show / hide octree
|
---|
| 421 | }
|
---|
| 422 | element TextArea(Example/Visibility/Help/UseShadows): Example/Visibility/Templates/BasicText
|
---|
| 423 | {
|
---|
| 424 | left 5
|
---|
| 425 | width 180
|
---|
| 426 | height 30
|
---|
[423] | 427 | caption [H] Show / hide shadows
|
---|
[183] | 428 | }
|
---|
| 429 | element TextArea(Example/Visibility/Help/Filter): Example/Visibility/Templates/BasicText
|
---|
| 430 | {
|
---|
| 431 | left 5
|
---|
| 432 | width 180
|
---|
| 433 | height 30
|
---|
| 434 | caption [F] toggle filtering method (trilinear, anisotropic, bilinear)
|
---|
| 435 | }
|
---|
| 436 | element TextArea(Example/Visibility/Help/VisQuery): Example/Visibility/Templates/BasicText
|
---|
| 437 | {
|
---|
| 438 | left 5
|
---|
| 439 | width 180
|
---|
| 440 | height 30
|
---|
| 441 | caption ****** Visibility Queries ******
|
---|
| 442 | }
|
---|
| 443 | element TextArea(Example/Visibility/Help/FromCameraQuery): Example/Visibility/Templates/BasicText
|
---|
| 444 | {
|
---|
| 445 | left 5
|
---|
| 446 | width 180
|
---|
| 447 | height 30
|
---|
| 448 | caption [F5] From camera visible pixels (+ SHIFT: relative visibility)
|
---|
| 449 | }
|
---|
| 450 | element TextArea(Example/Visibility/Help/FromPointQuery): Example/Visibility/Templates/BasicText
|
---|
| 451 | {
|
---|
| 452 | left 5
|
---|
| 453 | width 180
|
---|
| 454 | height 30
|
---|
| 455 | caption [F6] From camera visible pixels (+ SHIFT: relative visibility)
|
---|
| 456 | }
|
---|
| 457 | element TextArea(Example/Visibility/Help/QueryType): Example/Visibility/Templates/BasicText
|
---|
| 458 | {
|
---|
| 459 | left 5
|
---|
| 460 | width 180
|
---|
| 461 | height 30
|
---|
| 462 | caption [I] Change between occlusion query / item buffer visibility query
|
---|
| 463 | }
|
---|
| 464 | element TextArea(Example/Visibility/Help/QueryTarget): Example/Visibility/Templates/BasicText
|
---|
| 465 | {
|
---|
| 466 | left 5
|
---|
| 467 | width 180
|
---|
| 468 | height 30
|
---|
| 469 | caption [C] Mesh / Patch visibility (only item buffer)
|
---|
| 470 | }
|
---|
[418] | 471 |
|
---|
[183] | 472 | element TextArea(Example/Visibility/Help/SceneObjects): Example/Visibility/Templates/BasicText
|
---|
| 473 | {
|
---|
| 474 | left 5
|
---|
| 475 | width 180
|
---|
| 476 | height 30
|
---|
| 477 | caption ******* Generation / Destruction of scene objects ******
|
---|
| 478 | }
|
---|
[418] | 479 | element TextArea(Example/Visibility/Help/PlaceObjects): Example/Visibility/Templates/BasicText
|
---|
| 480 | {
|
---|
| 481 | left 5
|
---|
| 482 | width 180
|
---|
| 483 | height 30
|
---|
| 484 | caption [O] Start / Stop object placing mode
|
---|
| 485 | }
|
---|
[183] | 486 | element TextArea(Example/Visibility/Help/GenerateObjects): Example/Visibility/Templates/BasicText
|
---|
| 487 | {
|
---|
| 488 | left 5
|
---|
| 489 | width 180
|
---|
| 490 | height 30
|
---|
| 491 | caption [F8] Generate 500 objects
|
---|
| 492 | }
|
---|
| 493 | element TextArea(Example/Visibility/Help/RemoveObjects): Example/Visibility/Templates/BasicText
|
---|
| 494 | {
|
---|
| 495 | left 5
|
---|
| 496 | width 180
|
---|
| 497 | height 30
|
---|
| 498 | caption [DEL] Remove generated objects
|
---|
| 499 | }
|
---|
| 500 | element TextArea(Example/Visibility/Help/DropObject): Example/Visibility/Templates/BasicText
|
---|
| 501 | {
|
---|
| 502 | left 5
|
---|
| 503 | width 180
|
---|
| 504 | height 30
|
---|
[418] | 505 | caption [MOUSE LEFT] Drop object on terrain if in object placing mode
|
---|
[183] | 506 | }
|
---|
| 507 | }
|
---|
| 508 | }
|
---|
| 509 |
|
---|
| 510 | Example/Visibility/QueryOverlay
|
---|
| 511 | {
|
---|
| 512 | zorder 650
|
---|
| 513 | // Stats block
|
---|
| 514 | container BorderPanel(Example/Visibility/Query/QueryPanel)
|
---|
| 515 | {
|
---|
| 516 | metrics_mode pixels
|
---|
| 517 | horz_align left
|
---|
| 518 | vert_align top
|
---|
| 519 | width 600
|
---|
| 520 | height 145
|
---|
| 521 | left 200
|
---|
| 522 | top 300
|
---|
| 523 | material Core/StatsBlockCenter
|
---|
| 524 |
|
---|
| 525 | border_size 1 1 1 1
|
---|
| 526 | border_material Core/StatsBlockBorder
|
---|
| 527 | border_topleft_uv 0.0000 1.0000 0.0039 0.9961
|
---|
| 528 | border_top_uv 0.0039 1.0000 0.9961 0.9961
|
---|
| 529 | border_topright_uv 0.9961 1.0000 1.0000 0.9961
|
---|
| 530 | border_left_uv 0.0000 0.9961 0.0039 0.0039
|
---|
| 531 | border_right_uv 0.9961 0.9961 1.0000 0.0039
|
---|
| 532 | border_bottomleft_uv 0.0000 0.0039 0.0039 0.0000
|
---|
| 533 | border_bottom_uv 0.0039 0.0039 0.9961 0.0000
|
---|
| 534 | border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
|
---|
| 535 |
|
---|
| 536 | container Panel(Example/Visibility/Query/BreakPanel)
|
---|
| 537 | {
|
---|
| 538 | metrics_mode pixels
|
---|
| 539 | left 5
|
---|
| 540 | top 22
|
---|
| 541 | width 590
|
---|
| 542 | height 1
|
---|
| 543 | material Core/StatsBreak
|
---|
| 544 | }
|
---|
| 545 |
|
---|
| 546 | element TextArea(Example/Visibility/Query/Headline)
|
---|
| 547 | {
|
---|
| 548 | metrics_mode pixels
|
---|
| 549 | left 5
|
---|
| 550 | top 5
|
---|
| 551 | width 90
|
---|
| 552 | height 30
|
---|
| 553 | font_name TrebuchetMSBold
|
---|
| 554 | char_height 19
|
---|
| 555 | caption Exact Visibility Query
|
---|
| 556 | colour_top 1 1 0.7
|
---|
| 557 | colour_bottom 1 1 0.7
|
---|
| 558 | }
|
---|
| 559 |
|
---|
| 560 | element TextArea(Example/Visibility/Query/QueryType): Example/Visibility/Templates/BasicText
|
---|
| 561 | {
|
---|
| 562 | left 5
|
---|
| 563 | width 90
|
---|
| 564 | height 30
|
---|
| 565 | caption Type
|
---|
| 566 | }
|
---|
| 567 |
|
---|
| 568 |
|
---|
| 569 | element TextArea(Example/Visibility/Query/QueryTypeInfo): Example/Visibility/Templates/BasicText
|
---|
| 570 | {
|
---|
| 571 | left 180
|
---|
| 572 | width 90
|
---|
| 573 | height 30
|
---|
| 574 | caption :
|
---|
| 575 | }
|
---|
| 576 |
|
---|
| 577 | element TextArea(Example/Visibility/Query/VisibleNodes): Example/Visibility/Templates/BasicText
|
---|
| 578 | {
|
---|
| 579 | left 5
|
---|
| 580 | width 90
|
---|
| 581 | height 30
|
---|
| 582 | caption Visible nodes
|
---|
| 583 | }
|
---|
| 584 | element TextArea(Example/Visibility/Query/VisibleNodesInfo): Example/Visibility/Templates/BasicText
|
---|
| 585 | {
|
---|
| 586 | left 180
|
---|
| 587 | width 90
|
---|
| 588 | height 30
|
---|
| 589 | caption :
|
---|
| 590 | }
|
---|
| 591 |
|
---|
| 592 | element TextArea(Example/Visibility/Query/VisibleGeometry): Example/Visibility/Templates/BasicText
|
---|
| 593 | {
|
---|
| 594 | left 5
|
---|
| 595 | width 90
|
---|
| 596 | height 30
|
---|
| 597 | caption Visible geometry
|
---|
| 598 | }
|
---|
| 599 | element TextArea(Example/Visibility/Query/VisibleGeometryInfo): Example/Visibility/Templates/BasicText
|
---|
| 600 | {
|
---|
| 601 | left 180
|
---|
| 602 | width 90
|
---|
| 603 | height 30
|
---|
| 604 | caption :
|
---|
| 605 | }
|
---|
| 606 |
|
---|
| 607 |
|
---|
| 608 | element TextArea(Example/Visibility/Query/VisiblePatches): Example/Visibility/Templates/BasicText
|
---|
| 609 | {
|
---|
| 610 | left 5
|
---|
| 611 | width 90
|
---|
| 612 | height 30
|
---|
| 613 | caption Visible patches
|
---|
| 614 | }
|
---|
| 615 | element TextArea(Example/Visibility/Query/VisiblePatchesInfo): Example/Visibility/Templates/BasicText
|
---|
| 616 | {
|
---|
| 617 | left 180
|
---|
| 618 | width 90
|
---|
| 619 | height 30
|
---|
| 620 | caption :
|
---|
| 621 | }
|
---|
| 622 |
|
---|
| 623 | element TextArea(Example/Visibility/Query/NodeVisibility): Example/Visibility/Templates/BasicText
|
---|
| 624 | {
|
---|
| 625 | left 5
|
---|
| 626 | width 90
|
---|
| 627 | height 30
|
---|
| 628 | caption Avg. node visibility
|
---|
| 629 | }
|
---|
| 630 |
|
---|
| 631 | element TextArea(Example/Visibility/Query/NodeVisibilityInfo): Example/Visibility/Templates/BasicText
|
---|
| 632 | {
|
---|
| 633 | left 180
|
---|
| 634 | width 90
|
---|
| 635 | height 30
|
---|
| 636 | caption :
|
---|
| 637 | }
|
---|
| 638 |
|
---|
| 639 | element TextArea(Example/Visibility/Query/GeometryVisibility): Example/Visibility/Templates/BasicText
|
---|
| 640 | {
|
---|
| 641 | left 5
|
---|
| 642 | width 90
|
---|
| 643 | height 30
|
---|
| 644 | caption Avg. geometry visibility
|
---|
| 645 | }
|
---|
| 646 |
|
---|
| 647 | element TextArea(Example/Visibility/Query/GeometryVisibilityInfo): Example/Visibility/Templates/BasicText
|
---|
| 648 | {
|
---|
| 649 | left 180
|
---|
| 650 | width 90
|
---|
| 651 | height 30
|
---|
| 652 | caption :
|
---|
| 653 | }
|
---|
| 654 | element TextArea(Example/Visibility/Query/PatchVisibility): Example/Visibility/Templates/BasicText
|
---|
| 655 | {
|
---|
| 656 | left 5
|
---|
| 657 | width 90
|
---|
| 658 | height 30
|
---|
| 659 | caption Avg. patch visibility
|
---|
| 660 | }
|
---|
| 661 |
|
---|
| 662 | element TextArea(Example/Visibility/Query/PatchVisibilityInfo): Example/Visibility/Templates/BasicText
|
---|
| 663 | {
|
---|
| 664 | left 180
|
---|
| 665 | width 90
|
---|
| 666 | height 30
|
---|
| 667 | caption :
|
---|
| 668 | }
|
---|
[717] | 669 | }
|
---|
| 670 | }
|
---|
[183] | 671 |
|
---|
[717] | 672 |
|
---|
| 673 |
|
---|
| 674 |
|
---|
| 675 | template element TextArea(Example/Visibility/Templates/HeaderText)
|
---|
| 676 | {
|
---|
| 677 | metrics_mode pixels
|
---|
| 678 | left 5
|
---|
| 679 | top 5
|
---|
| 680 | width 180
|
---|
| 681 | height 30
|
---|
| 682 | font_name TrebuchetMSBold
|
---|
| 683 | char_height 50
|
---|
| 684 | colour_top 0.5 0.7 0.5
|
---|
| 685 | colour_bottom 0.3 0.5 0.3
|
---|
| 686 | }
|
---|
| 687 |
|
---|
| 688 |
|
---|
| 689 | Example/Visibility/MyStatsOverlay
|
---|
| 690 | {
|
---|
| 691 | zorder 500
|
---|
| 692 |
|
---|
| 693 | // Stats block
|
---|
| 694 | container BorderPanel(Example/Visibility/MyStatsPanel)
|
---|
| 695 | {
|
---|
| 696 | metrics_mode pixels
|
---|
| 697 | vert_align top
|
---|
| 698 | left 5
|
---|
| 699 | top 5
|
---|
| 700 | width 430
|
---|
| 701 | height 150
|
---|
| 702 | material Core/StatsBlockCenter
|
---|
| 703 | border_size 1 1 1 1
|
---|
| 704 | border_material Core/StatsBlockBorder
|
---|
| 705 | border_topleft_uv 0.0000 1.0000 0.0039 0.9961
|
---|
| 706 | border_top_uv 0.0039 1.0000 0.9961 0.9961
|
---|
| 707 | border_topright_uv 0.9961 1.0000 1.0000 0.9961
|
---|
| 708 | border_left_uv 0.0000 0.9961 0.0039 0.0039
|
---|
| 709 | border_right_uv 0.9961 0.9961 1.0000 0.0039
|
---|
| 710 | border_bottomleft_uv 0.0000 0.0039 0.0039 0.0000
|
---|
| 711 | border_bottom_uv 0.0039 0.0039 0.9961 0.0000
|
---|
| 712 | border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
|
---|
| 713 |
|
---|
| 714 |
|
---|
| 715 | element TextArea(Example/Visibility/MyAlgorithmInfo): Example/Visibility/Templates/HeaderText
|
---|
| 716 | {
|
---|
| 717 | left 5
|
---|
| 718 | width 180
|
---|
| 719 | height 30
|
---|
| 720 | caption :
|
---|
| 721 | }
|
---|
| 722 | element TextArea(Example/Visibility/MyFPS): Example/Visibility/Templates/HeaderText
|
---|
| 723 | {
|
---|
| 724 | left 5
|
---|
| 725 | width 180
|
---|
| 726 | height 30
|
---|
| 727 | top 70
|
---|
| 728 | caption FPS
|
---|
| 729 | }
|
---|
| 730 | element TextArea(Example/Visibility/Query/MyFpsInfo): Example/Visibility/Templates/BasicText
|
---|
| 731 | {
|
---|
| 732 | left 5
|
---|
| 733 | width 180
|
---|
| 734 | height 30
|
---|
| 735 | top 70
|
---|
| 736 | caption :
|
---|
| 737 | }
|
---|
[183] | 738 | }
|
---|
| 739 | }
|
---|