Hey there!
I’m new to this forum and i am working for about half a year on my own little hobby project using Panda3D. I create all my work in 3D Studio Max, so i am quite happy about the stable exporter now (Panda version 1.5.4), great work there, thanks a lot!
I still would like to mention a little issue that i had with it which gave me quite some headache: When i export an object, the pivot point of the object seems to be ignored. Instead the objects offset in world space is added to the vertex position. Here is a little example:
Say I have a cube (relative vertex coordinates from -10,-10,-10 to 10,10,10) and it’s location is xyz 100,0,0. The exported object’s location is 0,0,0 and it receives vertex coordinates from 90,-10,-10 to 110,10,10.
This is rather troublesome if you want to create more complex scenes with more objects, which you might want to control via python (i use 3D Studio Max as a modeller and as a level editor and feel quite comfortable with that). Taking the example of above, if i would spin my cube in max, it would rotate around its center. Exporting and rotating the cube in panda would make the cube spin around the world’s center!
I can work around that by moving every object (via a script) to the worlds center before exporting, but this is a little cumbersome if you export often (which my experience tells me will happen). Is it possible for a future version to have a tickbox added with something like “export with local coordinates”?
I would give it a try myself, but i am rather a graphic artist with some minor scripting skills than a “real” programmer (alltough i was thinking of building a maxscript EGG exporter… maybe next year). And i think it is fair to assume that this wouldn’t present a huge change in code…?
Thanx in advance
Oliver
PS: i made a small check if that issue was already mentioned on the forum, but couldn’t find any. If it is, then just ignore my post.