I am now using blender and can simply create some mesh as a level and draw it in irrlicht. But now I wanna do more:
<1> I want create different kind of cpp object for different object in the mesh, how to do this? I just need a away to store information in the blender and get it in my program.
<2> How can I access the points of a mesh? I wanna create lines in a level to
as NPC's way point, and I need to know position of every point of the lines
<3> Is there any tutorial about ODE? I searched by many ways but find nothing useful but the ODE manual
question about level creation
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Re: question about level creation
Have you tried using IrrEdit? This might help you to do what you want.raymond wrote:<1> I want create different kind of cpp object for different object in the mesh, how to do this? I just need a away to store information in the blender and get it in my program.
If you're determined to go with a raw model as your level, then you'll have to put marker entities into the model, and then detect and act on them when the mesh is loaded.
For example, I add fake joints to my Milkshape meshes. There's no mesh data associated with them, I just use them to position entities. I use the joints' names to convey information about what they represent (I use them as mount points; you could use them to position goblins or hookers or whatever your game uses).
IAnimatedSceneNode::getMesh()->getMeshBuffer()->getVertices();<2> How can I access the points of a mesh? I wanna create lines in a level to as NPC's way point, and I need to know position of every point of the lines
There's a lot of people asking questions about it, but no comprehensive answers. You could break the mould and actually figure it out and provide a tutorial. (Oh, look, another thread containing the words "ODE" and "tutorial").<3> Is there any tutorial about ODE? I searched by many ways but find nothing useful but the ODE manual
Last edited by rogerborg on Fri Dec 14, 2007 11:39 pm, edited 1 time in total.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Re: question about level creation
I just downloaded and get little confused, I can not even find a manual of IrrEdit. How do you guys start learning irrEdit?rogerborg wrote: Have you tried using IrrEdit? This might help you to do what you want.