chicoferreira / cg-solar-system

Real-time engine for Computer Graphics assignment
4 stars 1 forks source link

VBO rendering with indexing #35

Closed chicoferreira closed 6 months ago

chicoferreira commented 6 months ago

In this phase it is also required that models are drawn with VBOs, as opposed to immediate mode used in the previous phases.

We will extend this requirement to use VBO with indexing as well. To achieve this, the model format as well as the generator will need to be extended to support vertex indexing.

To make sure the indexing is made well, a test should be created to check if there are duplicated vertex points.

Progress:

chicoferreira commented 6 months ago

Everything was implemented in https://github.com/chicoferreira/cg-solar-system/pull/41 except the testing of duplicated points. That will wait until we have normals in the models so we can use it to differentiate different surfaces with the same points.