POV-Ray : Newsgroups : povray.general : select, is this logical? : Re: select, is this logical? Server Time
28 Apr 2024 16:24:52 EDT (-0400)
  Re: select, is this logical?  
From: Thorsten Froehlich
Date: 3 Oct 2016 15:30:01
Message: <web.57f2b108df9cd0bfde6f60b40@news.povray.org>
"John Greenwood" <joh### [at] john-greenwoodcouk> wrote:
> The first parameter of the select function acts as a logic switch but does not
> respond correctly to a boolean variable, thus

This is *what you think* it does, but it is not meant to be a logical switch. It
is a mathematical selection, where two or three specific conditions matter in
functions. Please go and read the manual before you complain about behavior you
just don't understand!

BTW, you can get *what you want* with just a simple mathematical expression,
without any function. How to do that is left as an exercise to the reader.


Post a reply to this message

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