Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (710)
Games in Android Showcase (212)
games submitted by our members
Games in WIP (784)
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 1504 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  
You cannot reply to this message, because it is very, very old.

numerical (72 views)
2017-02-21 07:32:16

numerical (73 views)
2017-02-21 07:31:46

theagentd (177 views)
2017-02-18 13:42:33

theagentd (180 views)
2017-02-18 13:35:16

h.pernpeintner (1343 views)
2017-01-24 22:39:11

h.pernpeintner (1331 views)
2017-01-24 22:38:32

Galdo (1892 views)
2017-01-12 13:44:09

Archive (1980 views)
2017-01-02 05:31:41

0AndrewShepherd0 (2518 views)
2016-12-16 03:58:39

0AndrewShepherd0 (2310 views)
2016-12-15 21:50:57
List of Learning Resources
by elect
2016-09-09 09:47:55

List of Learning Resources
by elect
2016-09-08 09:47:20

List of Learning Resources
by elect
2016-09-08 09:46:51

List of Learning Resources
by elect
2016-09-08 09:46:27

List of Learning Resources
by elect
2016-09-08 09:45:41

List of Learning Resources
by elect
2016-09-08 08:39:20

List of Learning Resources
by elect
2016-09-08 08:38:19

Rendering resources
by Roquen
2016-08-08 05:55:21 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!