Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Opened 13 years ago

Last modified 12 years ago

#153 new enhancement

Vertex Array Models

Reported by: patrick Owned by: nobody
Priority: major Milestone: Old Orxonox tickets orx-v0
Component: GraphicsEngine Version:
Keywords: Cc:
Referenced By: References:

Description

Switch to vertex array model representation instead of opengl lists (that's what is used now). There are many resources about this topic online. Though there could be a problem defining multiple materials per vertex, at is is used by the .obj model.

here is a basic idea of how to make the arrays:

Change History (3)

comment:2 Changed 13 years ago by bensch

Vertex Array models are mainly good for deformable objects. Static Objects, that on collision do just explode can safely be handled with OBJ.

Anyways. There is a Tool already inside of Orxonox, that enables us to convert from a Static (glList) Model to a Vertex Array Model. It is called TC and is located in source:trunk/src/lib/graphics/importer/tc.h#9800. The problem of Multiple Materials/Normals per Vertex still remains, and without redundancy it is impossible to fix this issue.

The suggestion is, that changing the obj-loader to a vertex-array loader makes little sense, but loading a different format directly to vertex-arrays and making VertexArrayModel more usefull would be the best idea.

comment:3 Changed 12 years ago by bknecht

  • Milestone changed from Features to Old Orxonox tickets

Milestone Features deleted

Note: See TracTickets for help on using tickets.