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