POV-Ray : Newsgroups : povray.general : Transparent PNGs : Re: Transparent PNGs Server Time
21 May 2024 09:36:33 EDT (-0400)
  Re: Transparent PNGs  
From: Bald Eagle
Date: 11 Oct 2017 09:35:00
Message: <web.59de1d6bc5de9ff4c437ac910@news.povray.org>
Sven Littkowski <I### [at] SvenLittkowskiname> wrote:
> Okay, here is the latest problem and also the scene code.
>
> The value "AmountLines" allows me to set the amount of oar lines above
> each other, but strangely, I always get just one line. I am very sure,
> the fault is with me: "I am not seeing the forest because of all the
> trees in my eyesight". Means, I am looking at the scene code, and just
> can't discover the error in thinking/writing. Can you help?


>  #declare ThisLine = 0;
>  #while(ThisLine<AmountLines)

You never have a line that increments ThisLine.

Add
#declare ThisLine = ThisLine + 1;

or use a

#for (ThisLine, 1, 3)
 ....
#end

loop.


Post a reply to this message

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