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

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
EdzUp[SD]
Enthusiast
Enthusiast
Posts: 104
Joined: Thu Jun 26, 2008 10:53 pm
Location: Banstead, UK

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

Post 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 :) ).
Kazmirzak
User
User
Posts: 92
Joined: Fri Jun 18, 2004 5:44 pm
Location: Germany

Post 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!
EdzUp[SD]
Enthusiast
Enthusiast
Posts: 104
Joined: Thu Jun 26, 2008 10:53 pm
Location: Banstead, UK

Post by EdzUp[SD] »

Also Mesh/Level editors use mesh manipulation, things like UnrealEd (the first one not the latest).
Post Reply