PDA

Click to See Complete Forum and Search --> : Starfield simulation


Fox
Oct 16th, 2004, 11:16 AM
Why not post it here, too ;)

Here's my latest tutorial, it explains how to create a starfield
simulation. Sample code is attached; read the full tutorial here (http://fox.acky.net/common/starfield.php).

Fox

Arie
Oct 16th, 2004, 06:03 PM
I'm very impressed!! It's so easy...
Very cool tutorial you made there, Fox! :thumb: :thumb: :thumb:

Arie.

Fox
Oct 17th, 2004, 09:56 AM
Updated samples; I added short comments on how to change the tint of the starfield and how to make them appear more smoothly. All 3 samples have been updated, however the tutorial text is still the same.

Fox
Oct 17th, 2004, 12:02 PM
I updated the tutorial and added a little extension: Lines instead of pixels! Using lines the starfield even looks good on higher speeds, where yet the pixels skipped too much space.

You can read the extended tutorial here (http://fox.acky.net/common/starfield_lines.php). The sample download again comes in 2 flavours: With and without background picture.

Also I changed the example with bigger points; instead of PSet it uses the API now to draw the big pixels.