Jump to content
Lethal Raptor Games

Extended Surface Commands

Recommended Posts

Hi Josh,

 

I would like to see more flexible commands surround the surface class. This will make real-time modification of large dynamic meshes much easier and hopefully faster, allowing for more control of what type of games that can be made.

 

 

AddVertices(vec3** positions)

 

RemoveSurface(int index)

RemoveSurfaces(int* indexes)

 

RemoveVertex(int index)

RemoveVertices(int* indexes)

 

RemoveTriangle(int index)

RemoveTriangles(int* indexes)

 

SetTriangleIndice(int index, in a, int b, int c)

 

 

Creating a grid of only 256 x 256 vertices seems to take a lot longer than if programming it in a bare C++ OpenGL application using VBO's. Is there a reason for this?

 

 

Thanks.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...