xRef

Rak'kar

26-01-2007 20:06:56

My game is going to have a lot of reused meshes between scenes. I tried using the XRef system to do references to external files. But it seems like oFusion exports the meshes anyway, rather than using the mesh I created from the reference file. How do I resolve this?

Lioric

26-01-2007 23:42:54

The issue is that if the exporter just create links to the xref objects, and the real objects were not exported (form the base scene), when loading the scenes it will raise an exception, because of the base mesh was not previously loaded

In any case, if you need this support in your application, i will review this issue for possbile solutions

Rak'kar

26-01-2007 23:56:22

I was thinking if the names were always the same, when it reexports the object, it would overwrite the object, and at least that way it will use the same mesh in-game.

Lioric

27-01-2007 22:02:19

The support for xref object names has been added

When an xrefed object is exported, the mesh name will be the name of the base object

This will be included in a Hotfix with the other of your reported issues, and it will be available asap in your account

Paulov

13-05-2007 12:25:59

Hi

when I´ve an scene that has several x-ref subsxenes and I export it I get nothing. Nothing gets explrted.

The log says.

== Exporting Objects ==

== Exporting Materials ==
0 material(s) exported to scene.material


Something needs to be checked to export X-refs?

Lioric

17-05-2007 22:55:21

Probably they are not supported in CE, i have to review this

Could you provide a sample scene where the xrefs are not exported?