
Mesh, Surface, Vertex, Triangle, Texture editting in PB3d.
Mesh, Surface, Vertex, Triangle, Texture editting in PB3d.
I would like to be able to edit/create Meshes add surface, vertices, triangles and adjust texture information in PB's OGRE 3d system. This is required for editors and some other situations where creating a mesh on the fly is easier than creating a mesh in an external program, ship lazers for example (one mesh, one surface, four vertices and two triangles
).

Totally agree.
- It is essential for real time effects - imagine a car bumps into another. CollisionSurface returns the surface that was involved, CollisionTriangle returns the triangle that was involved. And now a little GetMeshData + SetMeshData, and there is THE BUMP!!
- You all know FarCry 2, when you shoot at a tree it breaks at the hit point. Impossible without Mesh manipulation.
- Or imagine you have a terrain and a space ship crashes into it and deforms the ground. It is as simple as SetTerrainHeight(x,y, GetTerrainHeight(x,y) - 1) !
Mesh Manipulation is Game Coding on the interactive level, more then just playing back predefined animations. With little effort PureBasic can gain so much value!
- It is essential for real time effects - imagine a car bumps into another. CollisionSurface returns the surface that was involved, CollisionTriangle returns the triangle that was involved. And now a little GetMeshData + SetMeshData, and there is THE BUMP!!
- You all know FarCry 2, when you shoot at a tree it breaks at the hit point. Impossible without Mesh manipulation.
- Or imagine you have a terrain and a space ship crashes into it and deforms the ground. It is as simple as SetTerrainHeight(x,y, GetTerrainHeight(x,y) - 1) !
Mesh Manipulation is Game Coding on the interactive level, more then just playing back predefined animations. With little effort PureBasic can gain so much value!