Changeset 2746 for GTP/trunk/App


Ignore:
Timestamp:
06/10/08 10:54:13 (16 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/App/Demos/Vis
Files:
8 added
12 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/CHC_revisited/DataTypes.c

    r2642 r2746  
    1818} 
    1919 
    20 void addVector3(Vector3 result, const Vector3 a, const Vector3 b) { 
     20void addVector3(Vector3 result, const Vector3 a, const Vector3 b)  
     21{ 
    2122        int i; 
    22         for(i = 0; i < 3; i++) { 
    23                 result[i] = a[i]+b[i]; 
    24         } 
    25 } 
    26  
    27 void diffVector3(Vector3 result, const Vector3 a, const Vector3 b) { 
     23         
     24        for (i = 0; i < 3; ++ i)  
     25        { 
     26                result[i] = a[i] + b[i]; 
     27        } 
     28} 
     29 
     30 
     31void diffVector3(Vector3 result, const Vector3 a, const Vector3 b)  
     32{ 
    2833        int i; 
    29         for(i = 0; i < 3; i++) { 
    30                 result[i] = a[i]-b[i]; 
    31         } 
    32 } 
    33  
    34 void copyVector3Values(Vector3 result, const double x, const double y, const double z) { 
     34        for (i = 0; i < 3; ++ i)  
     35        { 
     36                result[i] = a[i] - b[i]; 
     37        } 
     38} 
     39 
     40 
     41void copyVector3Values(Vector3 result, const double x, const double y, const double z)  
     42{ 
    3543        result[0] = x;  
    3644        result[1] = y; 
     
    3846} 
    3947 
    40 void copyMatrix(Matrix4x4 result, const Matrix4x4 input) { 
    41         if(input != result) { 
     48 
     49void copyMatrix(Matrix4x4 result, const Matrix4x4 input)  
     50{ 
     51        if (input != result)  
     52        { 
    4253                memcpy(result,input,4*4*sizeof(double)); 
    4354        } 
    4455} 
    4556 
    46 void planesSetSize(struct VecPlane* p, const int size) { 
    47         if(0 != p) { 
    48                 if(size == p->size) { 
     57 
     58void planesSetSize(struct VecPlane* p, const int size)  
     59{ 
     60        if (0 != p)  
     61        { 
     62                if(size == p->size)  
     63                { 
    4964                        return; 
    5065                } 
     66 
    5167                p->plane = (struct Plane*)realloc(p->plane,size*sizeof(struct Plane)); 
    5268                p->size = size; 
     
    5470} 
    5571 
    56 void emptyVecPlane(struct VecPlane* p) { 
     72 
     73void emptyVecPlane(struct VecPlane* p)  
     74{ 
    5775        planesSetSize(p,0); 
    5876} 
    5977 
    60 void vecPointSetSize(struct VecPoint* poly, const int size) { 
    61         if(0 != poly) { 
    62                 if(size == poly->size) { 
     78 
     79void vecPointSetSize(struct VecPoint* poly, const int size)  
     80{ 
     81        if (0 != poly)  
     82        { 
     83                if (size == poly->size)  
     84                { 
    6385                        return; 
    6486                } 
     87                 
    6588                poly->points = (Vector3*)realloc(poly->points,size*sizeof(Vector3)); 
    6689                poly->size = size; 
     
    6891} 
    6992 
    70 void emptyVecPoint(struct VecPoint* poly) { 
     93 
     94void emptyVecPoint(struct VecPoint* poly)  
     95{ 
    7196        vecPointSetSize(poly,0); 
    7297} 
    7398 
    74 void append2VecPoint(struct VecPoint* poly, const Vector3 p) { 
    75         if(0 != poly) { 
     99 
     100void append2VecPoint(struct VecPoint* poly, const Vector3 p)  
     101{ 
     102        if (0 != poly)  
     103        { 
    76104                int size = poly->size; 
    77105                vecPointSetSize(poly,size+1); 
    78                 copyVector3(poly->points[size],p); 
    79         } 
    80 } 
    81  
    82 void copyVecPoint(struct VecPoint* poly, const struct VecPoint poly2) { 
    83         if(0 != poly) { 
     106                copyVector3(poly->points[size], p); 
     107        } 
     108} 
     109 
     110 
     111void copyVecPoint(struct VecPoint* poly, const struct VecPoint poly2)  
     112{ 
     113        if (0 != poly)  
     114        { 
    84115                int i; 
    85116                vecPointSetSize(poly,poly2.size); 
    86                 for(i= 0; i < poly2.size; i++) { 
    87                         copyVector3(poly->points[i],poly2.points[i]); 
    88                 } 
    89         } 
    90 } 
    91  
    92 void swapVecPoint(struct VecPoint* poly1, struct VecPoint* poly2) { 
    93         if(0 != poly1 && 0 != poly2 && poly1 != poly2) { 
    94                 { 
    95                         Vector3* points = poly1->points; 
    96                         poly1->points = poly2->points; 
    97                         poly2->points = points; 
    98                 } 
    99                 { 
    100                         int size = poly1->size; 
    101                         poly1->size = poly2->size; 
    102                         poly2->size = size; 
    103                 } 
    104         } 
    105 } 
    106  
    107 void objectSetSize(struct Object* obj, const int size) { 
    108         if(0 != obj) { 
     117                for (i = 0; i < poly2.size; ++ i)  
     118                { 
     119                        copyVector3(poly->points[i], poly2.points[i]); 
     120                } 
     121        } 
     122} 
     123 
     124 
     125void swapVecPoint(struct VecPoint* poly1, struct VecPoint* poly2)  
     126{ 
     127        if(0 != poly1 && 0 != poly2 && poly1 != poly2)  
     128        { 
     129                Vector3* points = poly1->points; 
     130                poly1->points = poly2->points; 
     131                poly2->points = points; 
     132                 
     133                int size = poly1->size; 
     134                poly1->size = poly2->size; 
     135                poly2->size = size; 
     136        } 
     137} 
     138 
     139 
     140void objectSetSize(struct Object* obj, const int size)  
     141{ 
     142        if (0 != obj)  
     143        { 
    109144                int i; 
    110                 if(size == obj->size) { 
     145                if(size == obj->size)  
     146                { 
    111147                        return; 
    112148                } 
     149                 
    113150                //dispose if shrinking 
    114                 for(i = size; i < obj->size; i++) { 
    115                         emptyVecPoint( &(obj->poly[i]) );  
    116                 } 
     151                for(i = size; i < obj->size; i++)  
     152                { 
     153                        emptyVecPoint(&(obj->poly[i]));  
     154                } 
     155 
    117156                //allocate new place 
    118157                obj->poly = (struct VecPoint*)realloc(obj->poly,size*sizeof(struct VecPoint)); 
     158                 
    119159                //initialize new place 
    120                 for(i = obj->size; i < size; i++) { 
     160                for(i = obj->size; i < size; i++)  
     161                { 
    121162                        obj->poly[i] = VECPOINT_NULL; 
    122163                } 
     164                 
    123165                obj->size = size; 
    124166        } 
    125167} 
    126168 
    127 void emptyObject(struct Object* obj) { 
    128         objectSetSize(obj,0); 
    129 } 
    130  
    131 void copyObject(struct Object* obj, const struct Object objIn) { 
    132         if(0 != obj) { 
     169 
     170void emptyObject(struct Object* obj)  
     171{ 
     172        objectSetSize(obj, 0); 
     173} 
     174 
     175 
     176void copyObject(struct Object* obj, const struct Object objIn)  
     177{ 
     178        if(0 != obj)  
     179        { 
    133180                int i; 
    134181                objectSetSize(obj,objIn.size); 
    135                 for(i = 0; i < objIn.size; i++) { 
     182 
     183                for(i = 0; i < objIn.size; i++) 
     184                { 
    136185                        copyVecPoint( &(obj->poly[i]), objIn.poly[i]); 
    137186                } 
     
    139188} 
    140189 
    141 void append2Object(struct Object* obj, const struct VecPoint poly) { 
    142         if(0 != obj) { 
     190 
     191void append2Object(struct Object* obj, const struct VecPoint poly)  
     192{        
     193        if (0 != obj)  
     194        { 
    143195                int size = obj->size; 
    144                 objectSetSize(obj,size+1); 
    145                 copyVecPoint( &(obj->poly[size]) ,poly); 
    146         } 
    147 } 
    148  
    149  
    150 void convObject2VecPoint(struct VecPoint* points,const struct Object obj) { 
     196                objectSetSize(obj, size + 1); 
     197                copyVecPoint(&(obj->poly[size]), poly); 
     198        } 
     199} 
     200 
     201 
     202void convObject2VecPoint(struct VecPoint* points,const struct Object obj)  
     203{ 
    151204        if(0 != points) { 
    152205                int i, j; 
     
    160213        } 
    161214} 
     215 
    162216 
    163217void calcAABoxPoints(Vector3x8 points, const struct AABox b) { 
     
    173227} 
    174228 
     229 
    175230void calcAABoxPlanes(struct VecPlane* planes, const struct AABox b) { 
    176231        if(0 != planes) { 
  • GTP/trunk/App/Demos/Vis/CHC_revisited/Geometry.cpp

    r2642 r2746  
    8989        return true; 
    9090} 
     91 
    9192 
    9293void Geometry::GenerateList() 
     
    112113                                break; 
    113114                } 
     115 
    114116                glEndList(); 
    115117        } 
    116118} 
     119 
    117120 
    118121void Geometry::Render() 
     
    238241        { 
    239242                glBegin(GL_TRIANGLE_STRIP); 
    240                         while(teapot_indices[i] != STRIP_END) 
    241                         {        
    242                                 int index = teapot_indices[i] * 3; 
    243                                  
    244                                 glNormal3fv(teapot_normals + index); 
    245                                 glVertex3fv(teapot_vertices + index); 
    246                                  
    247                                 i++;             
    248                         } 
     243                 
     244                while (teapot_indices[i] != STRIP_END) 
     245                {        
     246                        int index = teapot_indices[i] * 3; 
     247 
     248                        glNormal3fv(teapot_normals + index); 
     249                        glVertex3fv(teapot_vertices + index); 
     250                         
     251                        ++ i;            
     252                } 
     253 
    249254                glEnd(); 
    250                  
    251                 i++; // skip strip end flag 
    252         } 
    253 } 
     255 
     256                ++ i; // skip strip end flag 
     257        } 
     258} 
     259 
    254260 
    255261void Geometry::CalcBoundingVolume() 
     
    276282        Vector3 *rotatedPoints = new Vector3[num_vertices]; 
    277283         
    278         for(int i = 0; i < num_vertices; i++) 
     284        for (int i = 0; i < num_vertices; ++ i) 
    279285        { 
    280286                copyVector3Values(rotatedPoints[i], vertices[i * 3], 
     
    288294        calcCubicHull(mBoundingBox.min, mBoundingBox.max, rotatedPoints, num_vertices); 
    289295 
    290         for(int i=0; i< 3; i++) 
     296        for (int i = 0; i < 3; ++ i) 
    291297        { 
    292298                mBoundingBox.min[i] *= mScale; 
     
    325331} 
    326332 
    327 /* 
    328         creates a torus with specified radii, with number of rings and ring 
     333/*      Creates a torus with specified radii, with number of rings and ring 
    329334        subdivision = precision. 
    330335*/ 
     
    338343        torus_indices = new int[num_torus_indices]; 
    339344 
    340         for(int i = 0; i < precision + 1; ++ i) 
     345        for (int i = 0; i < precision + 1; ++ i) 
    341346        { 
    342347                int index = i * 3; 
     
    364369        } 
    365370 
    366         for(int i_rng = 1; i_rng < precision + 1; ++ i_rng) 
    367         { 
    368                 for(int i=0; i<precision+1; ++i) 
     371        for (int i_rng = 1; i_rng < precision + 1; ++ i_rng) 
     372        { 
     373                for(int i = 0; i<precision + 1; ++ i) 
    369374                { 
    370375                        int index = 3 * (i_rng * (precision + 1) + i); 
     
    388393        } 
    389394 
    390         for(int i_rng = 0; i_rng < precision; ++ i_rng) 
    391         { 
    392                 for(int i = 0; i < precision; ++ i) 
     395        for (int i_rng = 0; i_rng < precision; ++ i_rng) 
     396        { 
     397                for (int i = 0; i < precision; ++ i) 
    393398                { 
    394399                        int index = ((i_rng * precision + i) * 2) * 3; 
     
    407412} 
    408413 
    409 /** 
    410         counts the triangles of the teapot. 
     414 
     415/** Counts the triangles of the teapot. 
    411416        traverses through all the triangle strips. 
    412417*/ 
     
    414419{ 
    415420        int result = 0; 
    416         int i=0; 
     421        int i = 0; 
     422 
    417423        // n - 2 triangles are drawn for a strip 
    418         while(i < num_teapot_indices) 
    419         { 
    420                 while(teapot_indices[i] != STRIP_END) 
     424        while (i < num_teapot_indices) 
     425        { 
     426                while (teapot_indices[i] != STRIP_END) 
    421427                {        
    422428                        result ++;; 
    423                         i++;             
     429                        ++ i;            
    424430                } 
    425431                result -= 2; 
    426                 i++; // skip STRIP_END 
    427         } 
     432                ++ i; // skip STRIP_END 
     433        } 
     434 
    428435        return result; 
    429436} 
    430437 
    431 /** 
    432         counts the triangles of the torus 
     438 
     439/**     Counts the triangles of the torus 
    433440*/ 
    434441int Geometry::CountTorusTriangles() 
     
    452459        int result = 0; 
    453460 
    454         switch(objectType) 
     461        switch (objectType) 
    455462        { 
    456463                case TEAPOT: 
     
    466473                        break; 
    467474        } 
     475 
    468476        return result; 
    469477} 
     
    497505} 
    498506 
    499 /** 
    500    renders a sphere with sphere_precision subdivisions. 
    501    note: works only for even sphere_precision 
     507 
     508/** Renders a sphere with sphere_precision subdivisions.  
     509    Note: works only for even sphere_precision 
    502510*/ 
    503511void Geometry::RenderSphere() 
     
    508516        glFrontFace(GL_CW); 
    509517 
    510         for (int j = 0; j < sphere_precision/2; ++j)  
     518        for (int j = 0; j < sphere_precision / 2; ++ j)  
    511519        { 
    512520                double alpha = j * PI * 2.0 / (double)sphere_precision - PI_2; 
     
    515523                glBegin(GL_TRIANGLE_STRIP); 
    516524 
    517                 for (int i = 0; i <= sphere_precision; ++i)  
     525                for (int i = 0; i <= sphere_precision; ++ i)  
    518526                { 
    519527                        double gamma = i * PI * 2.0 / (double)sphere_precision; 
     
    536544                glEnd(); 
    537545        } 
     546 
    538547        glFrontFace(GL_CCW); 
    539548} 
  • GTP/trunk/App/Demos/Vis/CHC_revisited/Geometry.h

    r2642 r2746  
    1616        Geometry(); 
    1717        Geometry(Vector3 translation, float xRot, float yRot, float zRot, float scale, int objectType); 
    18         //! renders this geometry 
     18        //! Renders this geometry 
    1919        void Render(); 
    20          
    2120        //! sets rotations in degree : executed in the order x, y, and z rotation 
    2221        void SetRotations(float xRot, float yRot, float zRot); 
     
    3332        void GetRotations(float &xRot, float &yRot, float &zRot); 
    3433 
    35         // --- material settings 
    36         void SetAmbientColor(float ambientR,   float ambientG,  float ambientB); 
    37         void SetDiffuseColor(float diffuseR,   float diffuseG,  float diffuseB); 
    38         void SetSpecularColor(float specularR, float specularG, float specularB); 
    39  
     34        //! Set pointer to the material 
     35        void SetMaterial(Material *mat); 
     36        //! Returns the bounding box 
    4037        const AABox& GetBoundingVolume(); 
    41                  
    4238        //! last visited flag, important for rendering each geometry only once 
    4339        void SetLastVisited(int lastVisited); 
    4440        //! returns lastvisited flag 
    4541        int GetLastVisited(); 
    46  
    4742        // --- sets the object type to one of teapot, torus, sphere 
    4843        void SetObjectType(int type); 
    4944 
    50         enum{TEAPOT, TORUS, SPHERE, NUM_OBJECTS}; 
     45         
    5146         
    5247        static int sDisplayList[NUM_OBJECTS]; 
     
    6055 
    6156protected: 
     57 
    6258        //! generates the display list this a object 
    6359        void GenerateList(); 
  • GTP/trunk/App/Demos/Vis/CHC_revisited/HierarchyNode.cpp

    r2642 r2746  
     1#if TOIMPLEMENT 
     2 
    13#include "HierarchyNode.h" 
    24#include "glInterface.h" 
     
    486488        mDistance = distance; 
    487489} 
     490 
     491#endif 
  • GTP/trunk/App/Demos/Vis/CHC_revisited/RenderTraverser.cpp

    r2642 r2746  
    33#include "Timers.h" 
    44 
    5 /*extern "C" 
    6 { 
    7         #include "MathStuff.h" 
    8 }*/ 
    9  
     5 
     6#if TOIMPLEMENT 
    107 
    118RenderTraverser::RenderTraverser():  
     
    546543        printf("using opt %d\n", mUseOptimization); 
    547544} 
     545 
     546 
     547#endif 
  • GTP/trunk/App/Demos/Vis/CHC_revisited/RenderTraverser.h

    r2642 r2746  
    1 #ifndef NO_PRAGMA_ONCE 
    2 #pragma once 
    3 #endif 
    4  
    51#ifndef RENDERTRAVERSER_H 
    62#define RENDERTRAVERSER_H 
     3 
     4#if TOIMPLEMENT 
    75 
    86#include "glInterface.h" 
     
    1210#include <stack> 
    1311 
    14 using namespace std; 
     12 
    1513 
    1614typedef stack<HierarchyNode *> TraversalStack; 
     
    133131        bool mUseOptimization; 
    134132}; 
    135  
     133#endif 
    136134#endif // RENDERTRAVERSER_H 
  • GTP/trunk/App/Demos/Vis/CHC_revisited/Timers.h

    r2642 r2746  
    1 // ================================================================ 
    2 // $Id: Timers.h,v, 1.1.1.1 2004/10/12 12:49:13 matt Exp $ 
    3 // **************************************************************** 
    4 //  
    5 /** \file time.h 
    6  
    7 Various time measuring routines 
    8  
    9 @author Jiri Bittner 
     1/** Various time measuring routines 
     2    @author Jiri Bittner 
    103*/ 
    114 
  • GTP/trunk/App/Demos/Vis/CHC_revisited/chc_revisited.vcproj

    r2642 r2746  
    182182                        > 
    183183                        <File 
    184                                 RelativePath=".\DataTypes.c" 
    185                                 > 
    186                         </File> 
    187                         <File 
    188                                 RelativePath=".\Geometry.cpp" 
     184                                RelativePath=".\AxisAlignedBox3.cpp" 
     185                                > 
     186                        </File> 
     187                        <File 
     188                                RelativePath=".\common.cpp" 
    189189                                > 
    190190                        </File> 
     
    194194                        </File> 
    195195                        <File 
    196                                 RelativePath=".\MathStuff.c" 
     196                                RelativePath=".\Material.cpp" 
     197                                > 
     198                        </File> 
     199                        <File 
     200                                RelativePath=".\Matrix4x4.cpp" 
    197201                                > 
    198202                        </File> 
     
    216220                        > 
    217221                        <File 
    218                                 RelativePath=".\DataTypes.h" 
    219                                 > 
    220                         </File> 
    221                         <File 
    222                                 RelativePath=".\Geometry.h" 
     222                                RelativePath=".\AxisAlignedBox3.h" 
     223                                > 
     224                        </File> 
     225                        <File 
     226                                RelativePath=".\Bvh.cpp" 
     227                                > 
     228                        </File> 
     229                        <File 
     230                                RelativePath=".\Bvh.h" 
     231                                > 
     232                        </File> 
     233                        <File 
     234                                RelativePath=".\common.h" 
    223235                                > 
    224236                        </File> 
     
    228240                        </File> 
    229241                        <File 
    230                                 RelativePath=".\HierarchyNode.h" 
    231                                 > 
    232                         </File> 
    233                         <File 
    234                                 RelativePath=".\MathStuff.h" 
     242                                RelativePath=".\Material.h" 
     243                                > 
     244                        </File> 
     245                        <File 
     246                                RelativePath=".\Matrix4x4.h" 
    235247                                > 
    236248                        </File> 
     
    240252                        </File> 
    241253                        <File 
    242                                 RelativePath=".\teapot.h" 
    243                                 > 
    244                         </File> 
    245                         <File 
    246254                                RelativePath=".\Timers.h" 
     255                                > 
     256                        </File> 
     257                        <File 
     258                                RelativePath=".\Vector3.cpp" 
     259                                > 
     260                        </File> 
     261                        <File 
     262                                RelativePath=".\Vector3.h" 
    247263                                > 
    248264                        </File> 
  • GTP/trunk/App/Demos/Vis/CHC_revisited/occquery.cpp

    r2642 r2746  
    11// occquery.cpp : Defines the entry point for the console application. 
    22// 
    3  
    4 //#include "stdafx.h" 
     3#if TOIMPLEMENT 
     4 
     5#include <math.h> 
     6#include <time.h> 
    57#include "glInterface.h" 
    68#include "RenderTraverser.h" 
    79 
    8 extern "C" 
    9 { 
    10         #include "MathStuff.h" 
    11         #include "DataTypes.h" 
    12 } 
    13  
    14 #include <math.h> 
    15 #include <time.h> 
    1610 
    1711 
     
    109103void deleteGeometry(); 
    110104 
     105#endif 
    111106 
    112107int main(int argc, char* argv[]) 
    113108{ 
     109#if 0 
    114110        glutInitWindowSize(800,600); 
    115111        glutInit(&argc,argv); 
     
    141137        // clean up 
    142138        cleanUp(); 
    143          
     139#endif 
    144140        return 0; 
    145141} 
    146142 
    147  
     143#if 0 
    148144void initGLstate(void)  
    149145{ 
     
    850846        } 
    851847} 
     848 
     849#endif 
  • GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrain.vcproj

    r2501 r2746  
    8383                                OptimizeForWindowsApplication="TRUE" 
    8484                                AdditionalIncludeDirectories="&quot;$(OGRE_PATH)\Dependencies\include&quot;;&quot;$(OGRE_PATH)\OgreMain\include&quot;;&quot;$(OGRE_PATH)\Samples\Common\include&quot;;&quot;$(OGRE_PATH)\Dependencies\include\CEGUI&quot;;&quot;$(OGRE_PATH)\PlugIns\OctreeSceneManager\include&quot;;&quot;$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include&quot;;..\..\Ogre\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\include;..\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\OGRE\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\IVReader\include" 
    85                                 PreprocessorDefinitions="_WINDOWS;_STLP_USE_DYNAMIC_LIB;OGRE_LIBRARY_IMPORTS;_RELEASE;WIN32;_STLP_RELEASE;GTP_VISIBILITY_MODIFIED_OGRE;GAMETOOLS_ILLUMINATION_MODULE" 
     85                                PreprocessorDefinitions="_WINDOWS;_STLP_USE_DYNAMIC_LIB;OGRE_LIBRARY_IMPORTS;_RELEASE;WIN32;_STLP_RELEASE;GTP_VISIBILITY_MODIFIED_OGRE;GAMETOOLS_ILLUMINATION_MODULE1" 
    8686                                RuntimeLibrary="2" 
    8787                                RuntimeTypeInfo="FALSE" 
     
    142142                                OptimizeForWindowsApplication="TRUE" 
    143143                                AdditionalIncludeDirectories="&quot;$(OGRE_PATH)\Dependencies\include&quot;;&quot;$(OGRE_PATH)\OgreMain\include&quot;;&quot;$(OGRE_PATH)\Samples\Common\include&quot;;&quot;$(OGRE_PATH)\Dependencies\include\CEGUI&quot;;&quot;$(OGRE_PATH)\PlugIns\OctreeSceneManager\include&quot;;&quot;$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include&quot;;..\..\Ogre\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\include;..\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\OGRE\include;..\..\..\..\..\Lib\Vis\OnlineCullingCHC\IVReader\include;&quot;$(LIBXML_HOME)\include&quot;;d:\work\Collada\include;..\..\..\..\..\Lib\Vis\Preprocessing\src\Timer" 
    144                                 PreprocessorDefinitions="_WINDOWS;_STLP_USE_DYNAMIC_LIB;OGRE_LIBRARY_IMPORTS;_RELEASE;WIN32;_STLP_RELEASE;GTP_VISIBILITY_MODIFIED_OGRE;GAMETOOLS_ILLUMINATION_MODULE" 
     144                                PreprocessorDefinitions="_WINDOWS;_STLP_USE_DYNAMIC_LIB;OGRE_LIBRARY_IMPORTS;_RELEASE;WIN32;_STLP_RELEASE;GTP_VISIBILITY_MODIFIED_OGRE;GAMETOOLS_ILLUMINATION_MODUL" 
    145145                                StringPooling="TRUE" 
    146146                                RuntimeLibrary="2" 
  • GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp

    r2555 r2746  
    234234        mVizCamera = mSceneMgr->createCamera("VizCam"); 
    235235        mVizCamera->setPosition(mCamNode->getPosition()); 
     236 
     237        /////////////// 
    236238 
    237239        mVizCamera->setNearClipDistance(1); 
  • GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE/scripts/TestKdTree.vcproj

    r2361 r2746  
    8686                                OptimizeForWindowsApplication="TRUE" 
    8787                                AdditionalIncludeDirectories="..\include;&quot;$(OGRE_PATH)\Samples\Common\include&quot;;&quot;$(OGRE_PATH)\OgreMain\include&quot;;..\..\..\..\..\..\Lib\Vis\OnlineCullingCHC\IVReader\include;..\..\..\..\..\..\Lib\Vis\OnlineCullingCHC\OGRE\include;..\..\..\..\..\..\Lib\Vis\OnlineCullingCHC\include" 
    88                                 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;GTP_VISIBILITY_MODIFIED_OGRE;GAMETOOLS_ILLUMINATION_MODULE" 
     88                                PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;GTP_VISIBILITY_MODIFIED_OGRE;GAMETOOLS_ILLUMINATION_MODULE1" 
    8989                                StringPooling="TRUE" 
    9090                                MinimalRebuild="TRUE" 
     
    263263                                Name="VCAuxiliaryManagedWrapperGeneratorTool"/> 
    264264                </Configuration> 
    265 <Configuration 
     265                <Configuration 
    266266                        Name="Release_noqt|Win32" 
    267267                        OutputDirectory="Release" 
Note: See TracChangeset for help on using the changeset viewer.