Re: display list optimization / performance



Paul Geisler wrote:

Hello.

I use hierarchical rendering, lets say a cube, used in many
instances, maybe different materials but most of the time
diferent size or position. I thought that putting a basic cube
to a display list, then use it in several calls preceeded
transformations would be fine. But it isn't. Even when i
compile a bunch of transforms and cube-calls to a display list,
the performance is bad compared to a single quads containing
many cubes. It seems the display list does nothing as calling
all theire statements quite eficcient. Are there no further
optimizations possible? Having T&L in hardware it seems weird
that filling a poly array with cpu-transformed instances is the
way to go :-(

The ratio between actually rendered faces and the overhead of
creating a displaylist vs. rendering it in immediate mode is
largely biased to the overhead.

Instead of simple cubes try really complex geometry. Then you can
actually gain the performance of display lists.

Wolfgang Draxinger
--
E-Mail address works, Jabber: hexarith@xxxxxxxxxx, ICQ: 134682867

.



Relevant Pages

  • Re: wglsharelists
    ... list when the other context is active. ... face of a cube as if its pasted or part of that cube and want the ... people do with rendering. ... so at this time you should not even be thinking about display lists ...
    (comp.graphics.algorithms)
  • Text without Z buffer
    ... I want to label my vertices, which I'm rendering as cubes, with red text ... display with nothing else drawn. ... If I try to display my text at the same point where the cube is rendered, ... disabling the depth buffer before rendering prevents newly drawn pixels ...
    (comp.graphics.api.opengl)
  • Re: display lists
    ... > to draw the texture. ... > advantage of using display lists for my application. ... Now if your rendering code is faster then the VSync intervall ...
    (comp.graphics.api.opengl)
  • Rendering grid of cubes. Ray casting?
    ... I m interested in rendering a grid in the x,y plane. ... represents a cube of the respective height. ... The view point would always be the bird's eye view of the grid. ... num is the number of visible cubes ...
    (comp.graphics.algorithms)
  • Re: Why Lisp supposedly "sucks for game development"
    ... >> Could you tell me how you're using display lists this way? ... I'm very new to OpenGL. ... > rendering A and B within the room by simply calling their display lists, ... > ie, just as a scene is a tree of things, and things are a tree of parts, ...
    (comp.lang.lisp)

Loading