Noob Questions

CaseyB

19-04-2006 05:38:53

When I created the body shape for one of my entities, the size weren't the same as what they were in Blender. I didn't scale him at all, I was just curious if it should work out or not. Also I read that you can make complex collision models by using composite shapes, is there anyway to do that in Blender and then just import it, or does ithave to be done in code? Great wrapper by the way! Very well done!

betajaen

19-04-2006 09:53:37

When I created the body shape for one of my entities, the size weren't the same as what they were in Blender. I didn't scale him at all, I was just curious if it should work out or not.

Hmm, what size do you mean? The Entity size, or the collision model?


Also I read that you can make complex collision models by using composite shapes, is there anyway to do that in Blender and then just import it, or does ithave to be done in code? Great wrapper by the way! Very well done!

You can. But unfortunately not in Blender, however using NxScene you should be able to load it in through an XML file.

But the idea really with composite shapes is to rebuild the model up using simpler primitives, i.e. an arm chair would have a 4 cubes (bottom cushion, back and two arm rests), it really needs a human to sort it all out.

CaseyB

19-04-2006 17:40:48

Sorry for being so vague! It was very late! :D
Hmm, what size do you mean? The Entity size, or the collision model?I mean the difference between the two, I modled a guy who was 2 units tall (2meters) but in order to get the collision model the right size I had to make it 4 units tall.
it really needs a human to sort it all out.Right, I meant is there a way to model, say a guy, in Blender, then model his collision model and export it. NxScene sounds like what I am looking for, what do you use to create it?

betajaen

20-04-2006 01:05:56

I mean the difference between the two, I modled a guy who was 2 units tall (2meters) but in order to get the collision model the right size I had to make it 4 units tall.

That is odd; 1 NxOgre unit = 1 Ogre unit. I'd be intrested to see some code or screenshots on this.

Right, I meant is there a way to model, say a guy, in Blender, then model his collision model and export it. NxScene sounds like what I am looking for, what do you use to create it?

NxScene is just an xml format basically the NxOgre version of dotScene, there isn't an exporter written yet (NxOgre would be the exporter and reader), but I was working on a editor as such called Corona, before the PC died.

But for now notepad or if your daring; Use dotScene then manually rewrite the XML. :D