Page 1 of 1

Mesh, Surface, Vertex, Triangle, Texture editting in PB3d.

Posted: Thu Feb 12, 2009 7:20 pm
by EdzUp[SD]
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 :) ).

Posted: Tue Feb 17, 2009 2:34 pm
by Kazmirzak
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!

Posted: Wed Feb 25, 2009 9:16 pm
by EdzUp[SD]
Also Mesh/Level editors use mesh manipulation, things like UnrealEd (the first one not the latest).