Changeset 1183 for OGRE


Ignore:
Timestamp:
08/04/06 17:38:52 (18 years ago)
Author:
szydlowski
Message:

occlusion queries in kdtree scene manager working, but performance issues
many features still not implemented (e.g., visualization)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OGRE/trunk/resources/overlays/TestKdTree.overlay

    r1177 r1183  
     1template element TextArea(KdTree/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 
    114// Ogre overlay scripts 
    215KdTree/DebugOverlay 
     
    417        zorder 500 
    518        // Stats block 
    6         container BorderPanel(KdTree/StatPanel) 
     19        container BorderPanel(KdTree/OptionsPanel) 
    720        { 
    821                metrics_mode pixels 
     
    1023                left 5  
    1124                top 5 
    12                 // width 220 
    1325                width 430 
    1426                height 120 
     
    2537                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000 
    2638 
    27 //              container Panel(KdTree/BreakPanel) 
    28 //              { 
    29 //                      metrics_mode pixels 
    30 //                      left 5  
    31 //                      top 22 
    32 //                      width 210 
    33 //                      height 1 
    34 //                      material Core/StatsBreak 
    35 //              } 
    36  
    37                 element TextArea(KdTree/RenderMethod) 
    38                 { 
    39                         metrics_mode pixels 
    40                         left 5 
    41                         top 5 
    42                         width 90 
    43                         height 30 
    44                         font_name TrebuchetMSBold 
    45                         char_height 16 
    46                         caption [SPACE] Algorithm: 
    47                         colour_top 0.5 0.7 0.5 
    48                         colour_bottom 0.3 0.5 0.3 
    49                 } 
    50                 element TextArea(KdTree/BuildMethod) 
    51                 { 
    52                         metrics_mode pixels 
    53                         left 5 
    54                         top 20 
    55                         width 90 
    56                         height 30 
    57                         font_name TrebuchetMSBold 
    58                         char_height 16 
    59                         caption [X] Build Method: 
    60                         colour_top 0.5 0.7 0.5 
    61                         colour_bottom 0.3 0.5 0.3 
    62                 } 
    63                 element TextArea(KdTree/Depth) 
    64                 { 
    65                         metrics_mode pixels 
    66                         left 5 
    67                         top 35 
    68                         width 90 
    69                         height 30 
    70                         font_name TrebuchetMSBold 
    71                         char_height 16 
    72                         caption [1][2] Max Tree Depth: 
    73                         colour_top 0.5 0.7 0.5 
    74                         colour_bottom 0.3 0.5 0.3 
    75 //                      colour_top 1 1 0.7 
    76 //                      colour_bottom 1 1 0.7 
    77                 } 
    78                 element TextArea(KdTree/Highlight) 
    79                 { 
    80                         metrics_mode pixels 
    81                         left 5 
    82                         top 50 
    83                         width 90 
    84                         height 30 
    85                         font_name TrebuchetMSBold 
    86                         char_height 16 
    87                         caption [3][4] Highlight: 
    88                         colour_top 0.5 0.7 0.5 
    89                         colour_bottom 0.3 0.5 0.3 
    90                 } 
    91                 element TextArea(KdTree/KT) 
    92                 { 
    93                         metrics_mode pixels 
    94                         left 5 
    95                         top 65 
    96                         width 90 
    97                         height 30 
    98                         font_name TrebuchetMSBold 
    99                         char_height 16 
    100                         caption [5][6] KT: 
    101                         colour_top 0.5 0.7 0.5 
    102                         colour_bottom 0.3 0.5 0.3 
    103                 } 
    104                 element TextArea(KdTree/KI) 
    105                 { 
    106                         metrics_mode pixels 
    107                         left 5 
    108                         top 80 
    109                         width 90 
    110                         height 30 
    111                         font_name TrebuchetMSBold 
    112                         char_height 16 
    113                         caption [7][8] KI: 
    114                         colour_top 0.5 0.7 0.5 
    115                         colour_bottom 0.3 0.5 0.3 
    116                 } 
    117                 element TextArea(KdTree/Movement) 
    118                 { 
    119                         metrics_mode pixels 
    120                         left 5 
    121                         top 95 
    122                         width 90 
    123                         height 30 
    124                         font_name TrebuchetMSBold 
    125                         char_height 16 
    126                         caption [Q] Movement: 
    127                         colour_top 0.5 0.7 0.5 
    128                         colour_bottom 0.3 0.5 0.3 
     39                element TextArea(KdTree/RenderMethod): KdTree/Templates/BasicText 
     40                { 
     41                        left 5 
     42                        width 120 
     43                        height 30 
     44                        caption [SPACE] Algorithm 
     45                } 
     46                element TextArea(KdTree/RenderMethodInfo): KdTree/Templates/BasicText 
     47                { 
     48                        left 160 
     49                        width 180 
     50                        height 30 
     51                        caption : 
     52                } 
     53                element TextArea(KdTree/BuildMethod): KdTree/Templates/BasicText 
     54                { 
     55                        left 5 
     56                        width 120 
     57                        height 30 
     58                        caption [X] Build Method 
     59                } 
     60                element TextArea(KdTree/BuildMethodInfo): KdTree/Templates/BasicText 
     61                { 
     62                        left 160 
     63                        width 180 
     64                        height 30 
     65                        caption : 
     66                } 
     67                element TextArea(KdTree/KdTreeMaxDepth): KdTree/Templates/BasicText 
     68                { 
     69                        left 5 
     70                        width 120 
     71                        height 30 
     72                        caption [1][2] Max Tree Depth 
     73                } 
     74                element TextArea(KdTree/KdTreeMaxDepthInfo): KdTree/Templates/BasicText 
     75                { 
     76                        left 160 
     77                        width 180 
     78                        height 30 
     79                        caption : 
     80                } 
     81                element TextArea(KdTree/HighlightLevel): KdTree/Templates/BasicText 
     82                { 
     83                        left 5 
     84                        width 120 
     85                        height 30 
     86                        caption [3][4] Highlight 
     87                } 
     88                element TextArea(KdTree/HighlightLevelInfo): KdTree/Templates/BasicText 
     89                { 
     90                        left 160 
     91                        width 180 
     92                        height 30 
     93                        caption : 
     94                } 
     95                element TextArea(KdTree/KT): KdTree/Templates/BasicText 
     96                { 
     97                        left 5 
     98                        width 120 
     99                        height 30 
     100                        caption [5][6] KT 
     101                } 
     102                element TextArea(KdTree/KTInfo): KdTree/Templates/BasicText 
     103                { 
     104                        left 160 
     105                        width 180 
     106                        height 30 
     107                        caption : 
     108                } 
     109                element TextArea(KdTree/KI): KdTree/Templates/BasicText 
     110                { 
     111                        left 5 
     112                        width 120 
     113                        height 30 
     114                        caption [7][8] KI 
     115                } 
     116                element TextArea(KdTree/KIInfo): KdTree/Templates/BasicText 
     117                { 
     118                        left 160 
     119                        width 180 
     120                        height 30 
     121                        caption : 
     122                } 
     123                element TextArea(KdTree/Movement): KdTree/Templates/BasicText 
     124                { 
     125                        left 5 
     126                        width 120 
     127                        height 30 
     128                        caption [Q] Movement 
     129                } 
     130                element TextArea(KdTree/MovementInfo): KdTree/Templates/BasicText 
     131                { 
     132                        left 160 
     133                        width 180 
     134                        height 30 
     135                        caption : 
     136                } 
     137        } 
     138         
     139        container BorderPanel(KdTree/VisibilityStatsPanel) 
     140        { 
     141                metrics_mode pixels 
     142                vert_align top 
     143                horz_align right 
     144                left -250  
     145                top 5 
     146                width 320 
     147                height 135 
     148                material Core/StatsBlockCenter 
     149                border_size 1 1 1 1 
     150                border_material Core/StatsBlockBorder 
     151                border_topleft_uv     0.0000 1.0000 0.0039 0.9961 
     152                border_top_uv         0.0039 1.0000 0.9961 0.9961 
     153                border_topright_uv    0.9961 1.0000 1.0000 0.9961 
     154                border_left_uv        0.0000 0.9961 0.0039 0.0039 
     155                border_right_uv       0.9961 0.9961 1.0000 0.0039 
     156                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000 
     157                border_bottom_uv      0.0039 0.0039 0.9961 0.0000 
     158                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000 
     159 
     160                element TextArea(KdTree/Visibility/FrustumCulledNodes): KdTree/Templates/BasicText 
     161                { 
     162                        left 5 
     163                        width 180 
     164                        height 30 
     165                        caption Frustum Culled Nodes 
     166                } 
     167                element TextArea(KdTree/Visibility/FrustumCulledNodesInfo): KdTree/Templates/BasicText 
     168                { 
     169                        left 180 
     170                        width 90 
     171                        height 30 
     172                        caption : 
     173                } 
     174                element TextArea(KdTree/Visibility/QueryCulledNodes): KdTree/Templates/BasicText 
     175                { 
     176                        left 5 
     177                        width 180 
     178                        height 30 
     179                        caption Query Culled Nodes 
     180                }        
     181                element TextArea(KdTree/Visibility/QueryCulledNodesInfo): KdTree/Templates/BasicText 
     182                { 
     183                        left 180 
     184                        width 90 
     185                        height 30 
     186                        caption : 
     187                } 
     188                element TextArea(KdTree/Visibility/TraversedNodes): KdTree/Templates/BasicText 
     189                { 
     190                        left 5 
     191                        width 180 
     192                        height 30 
     193                        caption Traversed Nodes 
     194                }        
     195                element TextArea(KdTree/Visibility/TraversedNodesInfo): KdTree/Templates/BasicText 
     196                { 
     197                        left 180 
     198                        width 90 
     199                        height 30 
     200                        caption : 
     201                } 
     202                element TextArea(KdTree/Visibility/HierarchyNodes): KdTree/Templates/BasicText 
     203                { 
     204                        left 5 
     205                        width 180 
     206                        height 30 
     207                        caption Hierarchy Nodes 
     208                }        
     209                element TextArea(KdTree/Visibility/HierarchyNodesInfo): KdTree/Templates/BasicText 
     210                { 
     211                        left 180 
     212                        width 90 
     213                        height 30 
     214                        caption : 
     215                } 
     216                element TextArea(KdTree/Visibility/RenderedNodes): KdTree/Templates/BasicText 
     217                { 
     218                        left 5 
     219                        width 180 
     220                        height 30 
     221                        caption Rendered Nodes 
     222                }        
     223                element TextArea(KdTree/Visibility/RenderedNodesInfo): KdTree/Templates/BasicText 
     224                { 
     225                        left 180 
     226                        width 90 
     227                        height 30 
     228                        caption : 
     229                } 
     230                element TextArea(KdTree/Visibility/ObjectsCount): KdTree/Templates/BasicText 
     231                { 
     232                        left 5 
     233                        width 180 
     234                        height 30 
     235                        caption Number of objects 
     236                }        
     237                element TextArea(KdTree/Visibility/ObjectsCountInfo): KdTree/Templates/BasicText 
     238                { 
     239                        left 180 
     240                        width 90 
     241                        height 30 
     242                        caption : 
     243                } 
     244                element TextArea(KdTree/Visibility/QueriesIssued): KdTree/Templates/BasicText 
     245                { 
     246                        left 5 
     247                        width 180 
     248                        height 30 
     249                        caption Queries issued 
     250                }        
     251                element TextArea(KdTree/Visibility/QueriesIssuedInfo): KdTree/Templates/BasicText 
     252                { 
     253                        left 180 
     254                        width 90 
     255                        height 30 
     256                        caption :                        
    129257                } 
    130258        } 
Note: See TracChangeset for help on using the changeset viewer.