Lshink
26-06-2006 22:20:39
Hello,
I'm bascially trying to use 3DSMax as sort of a level editor to load my heightmap and just place static meshes at the moment, export them to dot scene and then load them from the xml into Ogre.
The problem I'm having is I'm not sure what the formula is to convert the heightmap pixels into PLSM2's equivalent coordinates. At the moment, by heightmap is translated wrong in 3DSMax, and it needs to line up so my mesh coordinates are correct
Any help with this would be greatly appreciated. My math is a little poor, so a detailed explaination of the algorithm would also be great
Also, sorry if this is in the wrong form but I'm guessing that Ogre's regular coordinates and PLSM2's are gonna be different to calculate, but if its the same then my appologies.
Thanks in advance!
I'm bascially trying to use 3DSMax as sort of a level editor to load my heightmap and just place static meshes at the moment, export them to dot scene and then load them from the xml into Ogre.
The problem I'm having is I'm not sure what the formula is to convert the heightmap pixels into PLSM2's equivalent coordinates. At the moment, by heightmap is translated wrong in 3DSMax, and it needs to line up so my mesh coordinates are correct
Any help with this would be greatly appreciated. My math is a little poor, so a detailed explaination of the algorithm would also be great
Also, sorry if this is in the wrong form but I'm guessing that Ogre's regular coordinates and PLSM2's are gonna be different to calculate, but if its the same then my appologies.
Thanks in advance!