Loading multiple objects from single mesh
Posted: Thu Nov 24, 2011 2:58 am
Well, bad topic title, something probably been discussed before, but I'm looking for some ideas.
Now I did read, at least for shadows, that every "object"(think the word was "mesh") generates its own shadow. Ok.
Currently I just threw together a terrain map file in blender, an actual model of the testing grounds, and made a .obj file out of it.
Now I looked through some of the API and didn't find exactly what I was looking for, so I ask it. If i had say, 2 objects or 2 models, no child/parent relation, can I "find" the location of one? I put a box in there to act as a hardpoint, for spawning. As in its co-ords would become the spawn points' co-ords. I took this old habit from modding another game that had the engine, albeit old, load triangles for where the weapons would emit from.
So is this doable, if so with what file types, and what tutorial/functions should I be looking for?
Thanks. I know I'm hard to get along with at times.
Now I did read, at least for shadows, that every "object"(think the word was "mesh") generates its own shadow. Ok.
Currently I just threw together a terrain map file in blender, an actual model of the testing grounds, and made a .obj file out of it.
Now I looked through some of the API and didn't find exactly what I was looking for, so I ask it. If i had say, 2 objects or 2 models, no child/parent relation, can I "find" the location of one? I put a box in there to act as a hardpoint, for spawning. As in its co-ords would become the spawn points' co-ords. I took this old habit from modding another game that had the engine, albeit old, load triangles for where the weapons would emit from.
So is this doable, if so with what file types, and what tutorial/functions should I be looking for?
Thanks. I know I'm hard to get along with at times.