POV-Ray : Newsgroups : povray.general : Problem with small white dots : Re: Problem with small white dots Server Time
30 Jul 2024 18:12:27 EDT (-0400)
  Re: Problem with small white dots  
From: Peter Hertel
Date: 13 Aug 2008 11:25:00
Message: <web.48a2fc2bdea755fba117bd700@news.povray.org>
> > > I have a further problem down the line. That is, if I make the
> > > sphere_sweep (semi) transparent then the white dots remain even when no

Try changing the sphere sweep into a simple merged while loop of spheres and
cylinders. Decrease the addition of X if you need higher resolution.
Hope this helps.
-Peter

camera{location z*-15 look_at 0}

light_source{<5,10,-20>,1}

merge{
    #local X = -6;
    #while (X<6)
        #local P = <X,sin(X),0>;
        sphere{P,0.25}
        #ifdef(P2)
            cylinder{P,P2,0.25}
        #end
        #local P2 = P;
    #local X = X+0.1;
    #end
pigment {rgb x*1 transmit 0.5}
}


Post a reply to this message

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