3ds file with two separate object..how to

Blitz3D Forums/Blitz3D Beginners Area/3ds file with two separate object..how to

Max ellens(Posted 2007) [#1]
i need to know how i can load a mesh only at one object.

sorry for my english..i'm not an englishman


Mortiis(Posted 2007) [#2]
You have to open them with a 3D modeller application and merge them together then export them as one.

Another solution is, loading them in blitz3d seperately then parenting one to another.

Depends on what you want to achieve.


boomboom(Posted 2007) [#3]
If the object doens't have animation then you can just load the mesh using the LoadMesh function. That will merge the objects together.

If your bject does have animation, then you will have to load in the whole file and then hide everything that isn't what you want to show. It won't really slow down Blitz, as it won't render hidden objects, but it will be larger in memory (as you have everything loaded)

Another option is what Mortiis suggested and to split it up externally into different files.


jfk EO-11110(Posted 2007) [#4]
If you want to control both objects, but noless want to use the file that contains 2 objects, then use LoadAnimMesh for the mesh. THen use CountChildren and Getchild or FindChild to get the handles to the two objects, that are children of the main handle of the loaded mesh.