POV-Ray : Newsgroups : povray.general : question on the if loop : question on the if loop Server Time
29 Jul 2024 14:13:08 EDT (-0400)
  question on the if loop  
From: Brandeis University
Date: 15 Apr 2011 14:05:01
Message: <web.4da8879abf3208095273643f0@news.povray.org>
Hi,
I'm making a while loop that goes from n=1 to 100.
for each n I'm drawing an object
However for n=2, 8 and 10 I would like not to draw this object how to I do?
I can do an If loop:
If n=2 then don't draw else draw end. Problem: that just deals with n=2.
but I don't know how to do if n=2 or 8 or 9, ... else ... end
Could someone please help me?
Thank you, Thomas


Post a reply to this message

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