Re: Fastest way to draw lots of points

Derakon <[email protected]> Mon, 22 Oct 2012 12:56:23 -0700
Newsgroups gmane.comp.python.opengl.user
Message-ID <CA+Qo5j4CY8Yog2BqA73wLk1dMGHV=tS7RXncLk7bsxc=JKD9qw@mail.gmail.com>
On Mon, Oct 22, 2012 at 12:41 PM, Mike C. Fletcher
<[email protected]> wrote:
>
> I'm guessing you want to update the stars so that you see more stars as
> you move out of the central star-field?  That is, as you move positions
> you want to add another "slice" of stars off to the side toward which
> you are walking? Unless you are travelling faster than light (or dealing
> with extremely long time-scales) you don't actually see any significant
> parallax with a star-field AFAIK.

The suggestion I made off-thread was to have a repetitive starfield --
a 3x3 grid of the same pattern. That way you can invisibly loop the
scrolling of the pattern when you get far enough from the center --
since it's repetitive, there's no way to tell, say, the position (-10,
0) from the position (0, 0) (if each "cell" in the grid were 10x10).
Make the base pattern large enough (2x screen resolution should do)
and the repetition should be hard to notice.

Real-life parallax would be very hard to notice on these scales, but
scrolling starfields are a time-honored tradition for space games. :)

-Chris

------------------------------------------------------------------------------
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