Search found 5 matches

by Mishaaa
Mon Oct 12, 2015 11:50 am
Forum: Beginners Help
Topic: Update BulletMeshbody and add it to Irrlicht
Replies: 8
Views: 1178

Re: Update BulletMeshbody and add it to Irrlicht

Thanks for the help, i have a working code now. Should i post it here?
by Mishaaa
Mon Oct 05, 2015 5:26 pm
Forum: Beginners Help
Topic: Update BulletMeshbody and add it to Irrlicht
Replies: 8
Views: 1178

Re: Update BulletMeshbody and add it to Irrlicht

ok so this code works now: //Update MeshBody       SMeshBuffer* buf = new SMeshBuffer();     buf = (SMeshBuffer*)IMeshObj->getMeshBuffer(0);       //random vertices     numIndices = buf->getIndexCount();     numVertices = buf->getVertexCount();     mb_vertices = (video::S3DVertex*)mb->getVertices();...
by Mishaaa
Mon Oct 05, 2015 3:48 pm
Forum: Beginners Help
Topic: Update BulletMeshbody and add it to Irrlicht
Replies: 8
Views: 1178

Re: Update BulletMeshbody and add it to Irrlicht

So i tried a few things, and i can manipulate the coordinates of certain vertices, and i can erase vertices and indices (refering to http://irrlicht.sourceforge.net/forum/viewtopic.php?f=4&t=27022 ). When i try the code below, i can not see a new triangle, what am i doing wrong? CMeshBuffer<S3DV...
by Mishaaa
Mon Oct 05, 2015 11:49 am
Forum: Beginners Help
Topic: Update BulletMeshbody and add it to Irrlicht
Replies: 8
Views: 1178

Re: Update BulletMeshbody and add it to Irrlicht

Hello, yes i want to manipulate the mesh geometry (adding and deleting triangles, change positions of vertices..). With the addTriangle i can manipulate the loaded mesh, and then generate a new bvh and add it to the physics simulation but i don't know how to add the new mesh to the rendering (irrlic...
by Mishaaa
Sat Oct 03, 2015 10:19 am
Forum: Beginners Help
Topic: Update BulletMeshbody and add it to Irrlicht
Replies: 8
Views: 1178

Update BulletMeshbody and add it to Irrlicht

Hi, i posted this topic also in the bullet forum, but maybe someone can help me here as well. What i am trying to do is load a .obj file, create a BulletMeshbody and add this Meshbody to Irrlicht. So far so good, all of this works. Now i want to manually add (for the beginning) one triangle to the (...