Changeset 1116 for GTP/trunk/App/Demos


Ignore:
Timestamp:
07/11/06 13:21:05 (18 years ago)
Author:
gumbau
Message:
 
Location:
GTP/trunk/App/Demos/Geom
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Geom/Demo_LodTrees/main.cpp

    r1113 r1116  
    300300                                auxnode->attachObject( entity->clone(newTreeName) ); 
    301301                                auxnode->scale(4.0f,4.0f,4.0f); 
    302                                 auxnode->rotate(Ogre::Vector3(1,0,0),Ogre::Radian(-3.14159f*0.5f)); 
     302                                auxnode->rotate(Ogre::Vector3(0,0,1),Ogre::Degree(rand()%360)); 
     303                                auxnode->rotate(Ogre::Vector3(1,0,0),Ogre::Radian(-3.14159f*0.5f),Ogre::Node::TS_WORLD); 
    303304                                float randomsepx = (float)((rand()%18)-9); 
    304305                                float randomsepy = (float)((rand()%12)-6); 
  • GTP/trunk/App/Demos/Geom/OgreStuff/media/materials/scripts/Example.material

    r1104 r1116  
    747747            texture_unit 
    748748            { 
    749                 texture Pinus-leaf.tif  
     749                texture Pinus-leaf-inv.tif  
    750750            } 
    751751        } 
Note: See TracChangeset for help on using the changeset viewer.