Re: Points, colors, and 3D

Hope <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
What's up?

 <Sidereal316 <at> aol.com> writes:

> 
> 
>    glBegin ( GL_POINTS ) ;
>  
>      for ( i = 0 ; i < num_points ; i++ )     {       glColor3f ( red[i],
green[i], blue[i] ) ;       glVertex3f ( x[i], y[i], z[i] ) ;     }   glEnd ()
;Where you have the arrays red, green, and blue I believe those are double's...
So I have a few questions about them. How do you pick the numbers? What's the
max and min? Can you use negatives? Does the max value for red make the red
really dark? Really light? Basically, what 
> happens to the colors when I pick different values? 
> Thank you for the help.
> 
> 




_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.