POV-Ray : Newsgroups : povray.binaries.images : Run Away(Big) : Re: Run Away(Big) Server Time
19 Aug 2024 08:18:52 EDT (-0400)
  Re: Run Away(Big)  
From: Bryan Valencia
Date: 22 Jan 2001 18:33:42
Message: <3A6CC42C.6B7F6E8F@209software.com>
This is the code to place the rockets.

#include "Rocket.inc"
#declare C=seed(5837.34746);
#declare GS=5.5;

#declare A=-GS;
union{
     #while (A<=GS)
        #declare B=-GS;
        #while (B<=GS)
             object{Rocket
                scale .0001
                rotate z*90
                rotate y*-90
                translate <A/25,B/25,-9.9+(rand(C)*2)>
             }
             #declare B=B+1;
        #end
        #declare A=A+1;
     #end
}


Ben Lauritzen wrote:

> > I guess more of the ships on the left went forward... they really are
> random! :)
>
> Well, if I understand correctly, it's not actually random, just an
> equation(or something like that) appears that way.  But yes.  It looks
> better off-center I think.  Also maybe add more detail to your ships, they
> look cartoonish.  What are the stars?  They look too big I think.

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


Post a reply to this message

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