Hi all,

 I was wondering what are the criteria to decide upon using display
lists or just openGL instruction. Particularly why the rendering of the
particles in the osgParticle::Particle::render is done by openGL
instructions and not display list or something more efficient.

 

 If the reason is changing in the vertex attributes like the particle
alpha, and position, then suppose all these attributes are static and I
use display list, what performance gain (if any) it is reasonable to
expect?

I'm asking this because I use shaders in my application, and if there
could be performance gain I might want to change the render to update
shader attributes and render using these attributes. Do you think it
worth the effort implementing such mechanism?

 

Thanks,

 Guy. 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to