Recommended Posts

I have put together a little OpenGL program with a cool looking planet earth with a cloud atmosphere and it''s looking pretty realistic. what I need to know is how do you make a starfield that rotates through all possible angles when viewing the earth. I want an effect like on Nehe''s Meteors screensaver. How has he done that?? Please help.

Share this post

Link to post

Share on other sites

Thanks TipTup. It seems like a pretty good way of doing it. But what I really wanted to know is how to show a Textured starfield, not one you create yourself. A starfield like in Nehe''s Meteor''s Screensaver. Is it just a big quad with a lot of stars mapped onto it?? How has he made it so it ALWAYS in the background of the screen. Is there some way in OpenGL of setting a background picture of stars. And how on earth does he get the illusion that this textured starfield is rotating around all 360 degrees of rotation. Hope someone can help me out.

0

Share this post

Link to post

Share on other sites

tiptup your dumbass. i''ve seen your so called game. the star field is stupid looking not realistic at all why do you draw lines.why don''t you use points and then use fog to fade when they get far so they feel like get when farther away.this is the way i would set it up.

first setup data structure for starsstruct stars_typ{ float x,y,z;};

global variablestars_typ stars[MAXSTARS];//MAXSTARS is just how stars you want