To rebuild a ‘final’ scene, with lights cameras and objects, i tried this approach:
- export to jme the objects (max → milkshape format → jme)
- using i maxscript, i read all the objects and build a .bsh script with
object loadind, translation, rotation and scale from the max object.
- Some thing for lights and cameras (with color and their other parameters)
Then the .bsh scritp get executed inside my code, and the scene rebuilt !
To correct the different coord system i do the following: switch y and z axis for the translations, add 90 deg rotation on x axis for the rotations (used in set local rotation)
I’m pretty sure they are not right, but i don’t know how to do the coord translation correcly without roting the whole max scene…
Any help would be greatly appreciated