Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (769)
Games in Android Showcase (230)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Slow DisplayLists in LWJGL?  (Read 1773 times)
0 Members and 1 Guest are viewing this topic.
Offline Marvin Fröhlich

Senior Devvie

May the 4th, be with you...

« Posted 2007-02-27 00:20:04 »

I'm trying to optimize DisplayList usage in Xith3D. Unfortunately I'm not very successful. I managed to improve VBO speed by far in both JOGL and LWJGL. But the DisplayLists puzzle me a bit. It seems to depend highly on... something. In one case (a small OBJ model) DisplayList rendering is very fast (only a bit slower than VBO), but in another case it is drastically slow. And especially for LWJGL. In JOGL mode it is not fast but at least not slower than in pure VertexArray mode. Hi, I'm quite sure, that the mistake is in my coding. But maybe you can help me out.

So here is the description of my test case. It contains 25x25 spheres with 12 stacks and 12 slices arranged on a "plane". The spheres use all the same Geometry instance (only one VBO and one. The camera rotates slowly so the whole field of spheres appears to rotate.

Using VBOs, the scene is rendered at 110 FPS. Using regular VertexArrays the FPS is at 30. But with DisplayLists it is at only crappy 16.

I would naively have expected, that a static geometry is rendered fastest with a DL. Isn't this correct?

The DL is built by creating a VertexArray and rendering it.

I've already doublechecked, if the DL is accidently recreated each frame. But it isn't.

Does anyone have an idea, what this could be?

Pages: [1]
  ignore  |  Print  

EgonOlsen (1672 views)
2018-06-10 19:43:48

EgonOlsen (1710 views)
2018-06-10 19:43:44

EgonOlsen (1159 views)
2018-06-10 19:43:20

DesertCoockie (1585 views)
2018-05-13 18:23:11

nelsongames (1186 views)
2018-04-24 18:15:36

nelsongames (1710 views)
2018-04-24 18:14:32

ivj94 (2533 views)
2018-03-24 14:47:39

ivj94 (1758 views)
2018-03-24 14:46:31

ivj94 (2836 views)
2018-03-24 14:43:53

Solater (971 views)
2018-03-17 05:04:08
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!