Files |  Tutorials |  Articles |  Links |  Home |  Team |  Forum |  Wiki |  Impressum

Aktuelle Zeit: Di Mai 14, 2024 15:18

Foren-Übersicht » English » English Programming Forum
Unbeantwortete Themen | Aktive Themen



Ein neues Thema erstellen Auf das Thema antworten  [ 5 Beiträge ] 
Autor Nachricht
 Betreff des Beitrags: Speed
BeitragVerfasst: Di Aug 31, 2004 15:30 
Offline
DGL Member
Benutzeravatar

Registriert: Mi Jul 21, 2004 22:39
Beiträge: 360
Wohnort: UK, Scotland
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.

Source can b found here: v 1.4 (unreleased) Source Code

To use the source you would need to download : OS : Voxel Viewer v1.3

EDIT: attached some voxels.

Screenshots:

Bild
Bild


Dateianhänge:
Dateikommentar: Sample Voxels
voxels.zip [169.46 KiB]
271-mal heruntergeladen

_________________
Free Map Editor - Game Requirements - Stucuk.Net
-Stu
Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Do Sep 02, 2004 17:48 
Offline
DGL Member
Benutzeravatar

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.

_________________
www.SaschaWillems.de | GitHub | Twitter | GPU Datenbanken (Vulkan, GL, GLES)


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Do Sep 02, 2004 18:48 
Offline
DGL Member

Registriert: Fr Aug 13, 2004 17:43
Beiträge: 60
Wohnort: Belgien
VBO? What is VBO?


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Do Sep 02, 2004 18:53 
Offline
DGL Member
Benutzeravatar

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).

_________________
www.SaschaWillems.de | GitHub | Twitter | GPU Datenbanken (Vulkan, GL, GLES)


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Sa Sep 04, 2004 11:18 
Offline
DGL Member
Benutzeravatar

Registriert: Mi Jul 21, 2004 22:39
Beiträge: 360
Wohnort: UK, Scotland
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)

_________________
Free Map Editor - Game Requirements - Stucuk.Net
-Stu


Nach oben
 Profil  
Mit Zitat antworten  
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen Auf das Thema antworten  [ 5 Beiträge ] 
Foren-Übersicht » English » English Programming Forum


Wer ist online?

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.

Suche nach:
Gehe zu:  
  Powered by phpBB® Forum Software © phpBB Group
Deutsche Übersetzung durch phpBB.de
[ Time : 0.024s | 20 Queries | GZIP : On ]