Romz
01-04-2008 00:14:43
Hi there,
I'm trying to use a nice tool called SLight (radiosity lightmapper) here : http://www.ogre3d.org/phpBB2/viewtopic.php?p=278502, but I got a few issues with the meshes.
I'm using oFusion to export my scene and lights, if you take a look at the few posts on my link above you'll see that the light mesh needs to be exported with it's world space position.
I mean, wherever I place my light plane, the produced .mesh file is always the same, and the object will always be in (0,0,0) with a default loading. So it doesn't work.
I don't know how others exporters work but the author is using the Blender exporter and hasn't my problem.
So, I understand the concept of exporting object in local space (I'd have done the same) but now how do I do with this tool? Of course loading a scene with a .osm file would be really nice but I'm not in charge of it and I would like to be able to generate light meshes that load at the proper position and orientation.
Hoping I'm not too confusing ...
Thanks a lot!
I'm trying to use a nice tool called SLight (radiosity lightmapper) here : http://www.ogre3d.org/phpBB2/viewtopic.php?p=278502, but I got a few issues with the meshes.
I'm using oFusion to export my scene and lights, if you take a look at the few posts on my link above you'll see that the light mesh needs to be exported with it's world space position.
I mean, wherever I place my light plane, the produced .mesh file is always the same, and the object will always be in (0,0,0) with a default loading. So it doesn't work.
I don't know how others exporters work but the author is using the Blender exporter and hasn't my problem.
So, I understand the concept of exporting object in local space (I'd have done the same) but now how do I do with this tool? Of course loading a scene with a .osm file would be really nice but I'm not in charge of it and I would like to be able to generate light meshes that load at the proper position and orientation.
Hoping I'm not too confusing ...
Thanks a lot!