The first real opengl thing i ever did was make a thing to display Tiberian Sun and Red Alert 2 voxels. A voxel can be 255x255x255 in size, there designed for 2d. The Problem i have is the low fps, its perfectly fine for Tiberian Sun voxels but Red Alert 2 ones are normaly larger.
Im wondering if anyone has any ideas on how to improve speed, but still alow for animation (the voxels are animated by matrix's), voxels without hva's(the animation file) use the build list thing to improve speed.
Registriert: Mo Sep 23, 2002 19:27 Beiträge: 5812
Programmiersprache: C++
Why can't you use display lists for animated voxels? Since you said that animation is done by matrices, you can still use displaylists and just set the matrices before calling the displaylists. If that's a no-go, then take a look at VBOs that also can be used for dynamic meshes.
Registriert: Mo Sep 23, 2002 19:27 Beiträge: 5812
Programmiersprache: C++
VBO = Vertex Buffer Object. It's best described as a vertex array that's stored in VRAM. VBOs unite the best of display lists (speed, cause they're stored in VRAM) and vertex arrays (dynamic, and can be changed at will).
Hmm, might b able to just use display lists......... The voxes are split up into sections after all..... (hence allowing movement)
Does VBO work on very old cards? (Tiberian sun can be used on VERY VERY OLD PC's so my prog also has to be able to run on low end machines. Im guessing VBO can't)
Mitglieder in diesem Forum: 0 Mitglieder und 4 Gäste
Du darfst keine neuen Themen in diesem Forum erstellen. Du darfst keine Antworten zu Themen in diesem Forum erstellen. Du darfst deine Beiträge in diesem Forum nicht ändern. Du darfst deine Beiträge in diesem Forum nicht löschen. Du darfst keine Dateianhänge in diesem Forum erstellen.