POV-Ray : Newsgroups : povray.binaries.images : The GravShip Again. : Re: The GravShip Again. Server Time
2 Oct 2024 12:23:55 EDT (-0400)
  Re: The GravShip Again.  
From: Bryan Valencia
Date: 27 Apr 2000 19:50:49
Message: <3908D27B.1ED0B5BD@209software.com>
Thanks, I did.  Here is the version using this for stars (note how I keep the
stars from being too close):

#declare RS=seed(344);

#declare A=0;
#while (A<10000)

  #declare Dist=(rand(RS)*1e4)+3e5;
  #declare Size=rand(RS)*1000+500;
  #declare XR=rand(RS)*360;
  #declare YR=rand(RS)*360;
  #declare ZR=rand(RS)*360;

  #declare RC=rand(RS)*.3+.7;
  #declare GC=rand(RS)*.3+.7;
  #declare BC=rand(RS)*.3+.7;

  sphere{<0,Dist,0>,Size no_shadow
    texture{
      pigment{color rgb<RC, GC, BC>}
      finish{ambient 2}
    }
    rotate<XR, YR, ZR>
  }
  #declare A=A+1;
#end



Zeger Knaepen wrote:

> Take a look on my site, the tutorial-section, POV-Ray, Tips and Tricks
> for the starfield.
> Nice ship!

--
Bryan Valencia
Software Services - Making Windows Scream
http://www.209software.com
mailto:bry### [at] 209softwarecom


Post a reply to this message


Attachments:
Download 'gravship.jpg' (28 KB)

Preview of image 'gravship.jpg'
gravship.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.