gerds
17-05-2006 09:39:03
I'm having instance problems but I'm not sure if its related to the other thread so I started another one.
I'm having the following problems:
1) Multiple objects with the same name are attempted to be loaded by ogre when I load the scene causing an exception. How does o' get around this? There are multiple instances of the same object so they share the same name? Is this correct? I've even tried manually selecting every object in max and renaming to NewName_'x' where x is 0,1,2... etc but I still have the same problem.
This is a dump of some of the "Ogre exporter log" if that helps:
>Exporting Object: BlankName_19218
> (instance) object exported
>Exporting Object: BlankName_19219
> (instance) object exported
>Exporting Object: BlankName_19220
> (instance) object exported
>Exporting Object: BlankName_19218
> (instance) object exported
>Exporting Object: BlankName_19219
> (instance) object exported
>Exporting Object: BlankName_19220
o' picks up the object as an instance object but uses the same name?
2) Many objects in the scene appear at an incorrect position when I load them in ogre. This may have something to do with instances and the fact that I *dont* do a "reset x-form" on the scene. If I do a "reset x-form" on the scene then many of the objects in the scene move to an incorrect position in max - doesn't this mean they'll be exported at this incorrect position? ie: I can't do a "reset x-form"
I really need to find a solution to these problems. Note: the max model works fine for the old vision engine we are using (using an OpenFlight exporter) but I'm trying to port to ogre because its so much better
I'm having the following problems:
1) Multiple objects with the same name are attempted to be loaded by ogre when I load the scene causing an exception. How does o' get around this? There are multiple instances of the same object so they share the same name? Is this correct? I've even tried manually selecting every object in max and renaming to NewName_'x' where x is 0,1,2... etc but I still have the same problem.
This is a dump of some of the "Ogre exporter log" if that helps:
>Exporting Object: BlankName_19218
> (instance) object exported
>Exporting Object: BlankName_19219
> (instance) object exported
>Exporting Object: BlankName_19220
> (instance) object exported
>Exporting Object: BlankName_19218
> (instance) object exported
>Exporting Object: BlankName_19219
> (instance) object exported
>Exporting Object: BlankName_19220
o' picks up the object as an instance object but uses the same name?
2) Many objects in the scene appear at an incorrect position when I load them in ogre. This may have something to do with instances and the fact that I *dont* do a "reset x-form" on the scene. If I do a "reset x-form" on the scene then many of the objects in the scene move to an incorrect position in max - doesn't this mean they'll be exported at this incorrect position? ie: I can't do a "reset x-form"
I really need to find a solution to these problems. Note: the max model works fine for the old vision engine we are using (using an OpenFlight exporter) but I'm trying to port to ogre because its so much better