combining objects into a single mesh

jchmack

13-01-2007 10:49:28

ofusion is great but when I create my scene I dont want to have to load each of my individual objects into ogre. Im not using the osm reader because my physics engine can read .mesh files but not specifically .osm files Is there a way I can combine meshes?. For example if I make cube1 and cube 2 in max then use ofusion to export it. I will get a cube1.mesh and a cube2.mesh. Is there a way i can get a cubes.mesh?

edit: On a side note the tutorials i downloaded off the ofusion site are just .max files. Im assuming that these are accompanied by some text? or some site? Or am i just supposed to learn by example?

Thx in advance to all who help :D

Paulov

13-01-2007 12:11:00

Is there a way I can combine meshes?
jej. yes but not for the what you´re looking for.

You want to get the cubes.mesh to have them loaded and have the possibility of selecting them independently, no?. Ir you are looking for this amigo, you´ve reached a dead end.

If not, you you want .mesh files with all the content of the scene in a sinble mesh jus attach teh meshes.

Convert a geometry into "Editable Mesh" and then select Attach and Attach objets selecting them. Or select Attach list and attach elements selecting them in a list.

the engine should support (create) .scene type file. I think it is becoming quite an ussual request.

bye

marc_antoine

30-01-2007 18:02:12

yes you can do the attach of the static mesh in one mesh (obviously deletinng, freezing or hiding the meshes tyou want to be clickable) then when u have the static meshes that are not clickable as one mesh just unfreeze o unhide the clickable meshes and voila..

this way the use of rayscenquery in ogre will be alot more easier. :)