Hello people,
Can anyone give me any pointers on which way new mesh model format support p pwould be proberly impleated ? Should i do i the "CEGui OgreDriver" way? Or some other way ?
Regards
Kristian
new model format
-
- Hobgoblin
- Posts: 542
- Joined: Sun Jan 12, 2003 7:35 pm
- Location: Copenhagen, Denmark
-
- OGRE Retired Moderator
- Posts: 4823
- Joined: Fri Jun 18, 2004 1:40 pm
- Location: Berlin, Germany
- x 7
-
- Gremlin
- Posts: 150
- Joined: Wed Oct 20, 2004 2:35 pm
- Location: Paris, France
-
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
You should make a converter to .mesh or .xml (and then run the xml to mesh converter); as the .mesh format matches the internal data structures of Ogre exactly, it's much faster to load and can contain specialized structures like edge list (for shadows) and tangent vectors (for normal mapping) so they don't have to be built at runtime.
-
- Hobgoblin
- Posts: 542
- Joined: Sun Jan 12, 2003 7:35 pm
- Location: Copenhagen, Denmark
Im interested in displaying meshes which has a diffirent format and structure than the mesh format ogre uses to load. Im not speaking of converting anything here.
-
CE gui does its rendering by utilising the renderqueue listerner provided by Ogre. Should I do the same thing with the model i want to display or should i impleat the loading inside the ogre libery ?
-
CE gui does its rendering by utilising the renderqueue listerner provided by Ogre. Should I do the same thing with the model i want to display or should i impleat the loading inside the ogre libery ?
-
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
-
- Greenskin
- Posts: 117
- Joined: Mon Jan 24, 2005 2:27 pm
- Location: Sillicon Valley, California
Link correction::wumpus: wrote:You can build your mesh in-memory using HardwarePixelBuffer and HardwareVertexBuffer, then display that.
thttp://ogrewiki.digitalsentience.com/index.php/GeneratingAMesh
http://ogrewiki.digitalsentience.com/in ... atingAMesh
Firefox was bitching when I clicked it