|
|
Ok, I have a program in BASIC that I'm using to generate
random numbers for a sphere_sweep, that looks like:
randomize timer
for n=1 to 23
theta%=(rnd*36)*20
r = rnd*0.24
x = r*COS(theta%)
y = r*SIN(theta%)
z = (rnd*0.5)+1.25
? USING "X = +#.##### Y = +#.##### Z = +#.#####";x,y,z
next n
now, instead of running this program and entering the
values by hand in my sphere_sweep, how do I make a
macro in POV to generate a series of n points for the
sphere_sweep?
--
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------
Post a reply to this message
|
|