- Timestamp:
- 04/11/06 09:20:23 (19 years ago)
- Location:
- GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/BBC
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/BBC/BBC.h
r700 r745 11 11 #include <BBCBillboard.h> 12 12 #include <BBCBillboardCloud.h> 13 #include <BBCBillboardGroup.h> 14 #include <BBCBillboardClusterData.h> 13 15 #include <BBCBillboardCloudGenerator.h> 14 16 #include <BBCEntityDistributionGenerator.h> -
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/BBC/BBCBillboard.h
r721 r745 31 31 protected: 32 32 unsigned int mBillboardHandle; 33 34 33 35 34 public: -
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/BBC/BBCBillboardCloudSerializer.h
r721 r745 30 30 BillboardCloud * getBillboardCloud(); 31 31 32 virtual void writeBillboardCloud(TiXmlDocument *document); 32 virtual void writeBillboardCloud(TiXmlDocument *document, bool groupedBillboards); 33 34 virtual void readBillboardCloud(TiXmlDocument *document, bool groupedBillboards); 33 35 34 36 }; -
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/BBC/BBCBillboardCloudUVMapper.h
r721 r745 46 46 void generateTextureAtlasTextureCoords(bool mergeBillboards, bool groupedBillboards = false, unsigned int numberGroups = 1); 47 47 48 void addTextureAtlasTextureCoords(bool mergeBillboards, bool groupedBillboards, unsigned int numGeneratedBillboardClouds, unsigned int iBillboardGroup );48 void addTextureAtlasTextureCoords(bool mergeBillboards, bool groupedBillboards, unsigned int numGeneratedBillboardClouds, unsigned int iBillboardGroup, unsigned int iBillboard); 49 49 50 50 void setBillboardCloud(BillboardCloud *billboardCloud); -
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/BBC/BBCBillboardClusterData.h
r721 r745 39 39 void setEntityCluster(EntityClusterPtr value); 40 40 41 virtual void readBillboardClusterData(TiXmlNode *parentNode );41 virtual void readBillboardClusterData(TiXmlNode *parentNode, int iBillboardGroup); 42 42 43 virtual void writeBillboardClusterData(TiXmlNode *parentNode );43 virtual void writeBillboardClusterData(TiXmlNode *parentNode, int iBillboardGroup); 44 44 45 45 virtual void generateBillboardBoundingQuad(); 46 47 unsigned int getNumUVMapGroups(); 46 48 47 49 Ogre::Vector3 getQuadTopLeftCorner(); … … 53 55 Ogre::Vector3 getQuadBottomRightCorner(); 54 56 57 void setQuadTopLeftCorner(Ogre::Vector3 topLeft); 58 59 void setQuadTopRightCorner(Ogre::Vector3 topRight); 60 61 void setQuadBottomLeftCorner(Ogre::Vector3 bottomLeft); 62 63 void setQuadBottomRightCorner(Ogre::Vector3 bottomRight); 64 55 65 Ogre::Vector3 getAxisX(); 56 66 … … 59 69 Ogre::Vector3 getAxisZ(); 60 70 71 void setAxisX(Ogre::Vector3 axisX); 72 73 void setAxisY(Ogre::Vector3 axisY); 74 75 void setAxisZ(Ogre::Vector3 axisZ); 76 77 Ogre::Vector2 getBillboardUVMapMin(unsigned int iBillboardGroup); 78 79 void addBillboardUVMapMin(Ogre::Vector2 min); 80 81 void removeBillboardUVMapMin(unsigned int iBillboardGroup); 82 83 Ogre::Vector2 getBillboardUVMapMax(unsigned int iBillboardGroup); 84 85 void addBillboardUVMapMax(Ogre::Vector2 max); 86 87 void removeBillboardUVMapMax(unsigned int iBillboardGroup); 61 88 62 89 … … 80 107 81 108 Ogre::Vector3 mNormal; 109 110 std::vector<Ogre::Vector2> mGroupedBillboardUVMapMinList; 111 112 std::vector<Ogre::Vector2> mGroupedBillboardUVMapMaxList; 82 113 83 114 float mD; -
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/BBC/BBCBillboardGroup.h
r721 r745 5 5 6 6 namespace BBC { 7 8 typedef struct9 {10 unsigned int billboardHandle;11 unsigned int width;12 unsigned int height;13 Ogre::Vector2 min;14 Ogre::Vector2 max;15 } BillboardGroupedInfo;16 7 17 8 // Forward declarations
Note: See TracChangeset
for help on using the changeset viewer.