POV-Ray : Newsgroups : povray.binaries.images : Leuchtekugeln : Re: Leuchtekugeln Server Time
20 Nov 2024 04:18:04 EST (-0500)
  Re: Leuchtekugeln  
From: Simon
Date: 8 Oct 2001 15:06:16
Message: <3bc1f928@news.povray.org>
> Can u please post the source?
>
I'm sorry that I can't do this because it is now a totally different image
and I haven't downloaded beta 5 yet so I can't make a new one.
But from what I remember it must have been something like this:

global_settings{
    assumed_gamma 1}

camera{
    orthographic
    location<0,0,-10>
    right x*10
    up y*10
    look_at<0,0,0>}

#declare Popi=
array[9]
{<-6,6,0>,<0,6,0>,<6,6,0>,
  <-6,0,0>,<0,0,0>,<6,0,0>,
  <-6,-6,0>,<0,-6,0>,<6,-6,0>}

#declare Kugi=
sphere{0,4
    pigment{rgbt 1}
    finish{diffuse 0 ambient 0 specular 1 roughness 0.003}}

#declare R=seed(12345)

#declare Z=0;
#while(Z<9)

#declare X=0;
#while(X<1)
object{Kugi scale 1-X translate Popi[Z]}
#declare X=X+1/3;
#end
light_source{Popi[Z] rgb<rand(R),rand(R),rand(R)>}

#declare Z=Z+1;
#end


Post a reply to this message

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