POV-Ray : Newsgroups : povray.general : Graininess : Re: Graininess Server Time
31 Jul 2024 08:31:37 EDT (-0400)
  Re: Graininess  
From: SharkD
Date: 14 Jan 2008 23:25:01
Message: <web.478c358022fbe8cfa46b932a0@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> You could try:
>
> #declare LATRANGE=select(90-SphereGrid_value,1,2,3);
>
> #switch (LATRANGE)
>   #case(1) //Do this for angle < 90
>   #break
>   #case(2) //Do this for angle = 90
>   #break
>   #case(3)  /Do this for angle > 90
>   #break
> #end
>
>
> There may be other more elegant ways...
> -tgq

No, I was wondering if it would be possible to pass conditional statements to
the #case calls. This is not the case, so I'll just stick with what I've got.


Post a reply to this message

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