Re: Fastest way to draw lots of points
Ian Mallett <[email protected]> Fri, 19 Oct 2012 12:16:16 -0600
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <CAG4NV=vCdTY+Y_hY+fTEK_+sHFAn7dFPGi5inGdNePWYCxt2tA@mail.gmail.com> |
On Fri, Oct 19, 2012 at 11:59 AM, Chris Barker <[email protected]>wrote: > Display lists probably wont' help as you would still need to build up > the list -- it's also old-style and practically deprecated approach. > You have to build the VBO too, but yes, display lists are deprecated. As far as dynamic stars, yes, the idea is to use either a display list or a VBO and either transform or use a vertex program to move your stars. For starfields, I personally have gotten compelling results by simply making several static starfields of different sizes and then scrolling them with glTranslatef at different rates. This gives a nice parallax effect, and is essentially just as fast as drawing the stars completely static. Ian ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net _______________________________________________ PyOpenGL-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyopengl-users