After search the forum I find that's caused by different vertex type. You need to check the vertex type and convert the pointer like this:
if(mb->getVertexType() == EVT_STANDARD){
S3DVertex* mb_vertices = (S3DVertex*)mb->getVertices();
// create collision tree
}else{
S3DVertex2TCoords* mb ...
Search found 7 matches
- Sun Dec 23, 2007 1:52 pm
- Forum: Project Announcements
- Topic: Tumle v1.4 irrlicht/newton
- Replies: 80
- Views: 32185
- Sun Dec 23, 2007 12:54 pm
- Forum: Project Announcements
- Topic: Tumle v1.4 irrlicht/newton
- Replies: 80
- Views: 32185
- Sun Dec 23, 2007 2:52 am
- Forum: Project Announcements
- Topic: Tumle v1.4 irrlicht/newton
- Replies: 80
- Views: 32185
- Tue Dec 18, 2007 10:34 am
- Forum: Advanced Help
- Topic: Language support needed.
- Replies: 2
- Views: 400
Language support needed.
I want to make the Irrlicht gui to support Chinese. Seems Irrlicht doesn't support Chinese language itself. I only found a patch called IrrTT but it's too old and all its document is written in Japanese.
Is there anything make this possible? Or what do I need to do if I wanna modify Irrlicht to do ...
Is there anything make this possible? Or what do I need to do if I wanna modify Irrlicht to do ...
- Mon Dec 17, 2007 3:50 am
- Forum: Beginners Help
- Topic: question about level creation
- Replies: 7
- Views: 949
- Fri Dec 14, 2007 12:37 pm
- Forum: Beginners Help
- Topic: question about level creation
- Replies: 7
- Views: 949
Re: question about level creation
I just downloaded and get little confused, I can not even find a manual of IrrEdit.rogerborg wrote: Have you tried using IrrEdit? This might help you to do what you want.
- Thu Dec 13, 2007 2:53 pm
- Forum: Beginners Help
- Topic: question about level creation
- Replies: 7
- Views: 949
question about level creation
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 ...
<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 ...