instance problems as well

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 :)

Evak

17-05-2006 16:11:05

gerds, I got to try a new build (see the other thread) and the problems you mention seem to be fixed in the few tests I did.

loads of instances that show correctly without having the transforms messed up :) and no reset xform done on the meshes before or after the spacing tool was used :) Looks like we just have to wait for the next community edition to be released.

gerds

18-05-2006 02:30:44

Any chance I can get the new build early ;)

I'm trying to get a demo together for management and having immediate results will make my life much easier

Evak

18-05-2006 03:12:11

don't know, my build was just to test in 3ds max only, think it might take a bit of work updating the scene loader etc too before we get to actually use it.

gerds

19-05-2006 01:00:38

Can you give me some idea of when the next update will be ready (with the scene loader)?

I've put "loading a complete scene from max" later in the schedule, but that'll only buy me a few extra weeks.

If you need some help on the scene loader maybe I can help too.
I've been using ogre on and off for a few years and the current scene loader source looks easy enough to follow.

Lioric

19-05-2006 02:08:37

You should expect the next update to be available over the next week