Vertex In Node trouble
Vertex In Node trouble
Help,please! I need to add a vertex in some coords to some entity. HOW CAN I DO THIS???
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Could you be a little more vague? I could almost guess at what you mean.
See IMeshBuffer (which you can get from IMesh, which you can get from IAnimatedMesh) for an interface that will let you add vertices to an existing mesh.
See IMeshBuffer (which you can get from IMesh, which you can get from IAnimatedMesh) for an interface that will let you add vertices to an existing mesh.
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
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
Humm... I'll probably do other versions of the mesh with the damage. That is the easiest way. You swap the model with one of the version of it that is damaged.
Doing this in full programming would mean using 3D Booleans algorythm to that it create a hole in your mesh. This is pretty difficult to do, and also will take some computing power to process.
Doing this in full programming would mean using 3D Booleans algorythm to that it create a hole in your mesh. This is pretty difficult to do, and also will take some computing power to process.
-
- Posts: 914
- Joined: Fri Aug 03, 2007 12:43 pm
- Location: South Africa
- Contact:
Mesh deformation, look it up... just move certain vertices around? unless its a hole like an O in the wall, that will be harder depending on th vertices of the existing mesh. Look at decals with normal mapping and per pixel lighting can make a real cool looking hole (imagine fear) ...
Hope its helpful
Hope its helpful
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
I don't know of any implementation (freeware or commercial) for realtime mesh boolean operations because it is a hard problem. Just mangling the geometry is difficult enough, but texturing adds another level of complexity. In your example, what texture do you apply to the inside of the cube that you've just sliced into?
I'm sorry that there's no easy answer to your hard problem.
I'm sorry that there's no easy answer to your hard problem.
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
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Well, you could search for "bullet AND hole" and read the previous threads discussing this issue.
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