POV-Ray : Newsgroups : povray.text.scene-files : Something weird with gamma and the camera : Re: Something weird with gamma and the camera Server Time
18 Apr 2024 14:09:40 EDT (-0400)
  Re: Something weird with gamma and the camera  
From: clipka
Date: 25 Jan 2016 09:15:00
Message: <web.56a62d0485b549bead6fa18f0@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:

> A question out of curiosity (and using your #include file example above of the
> variable name #ifndef(FOO_INC_TEMP) : Is the reason for using such 'odd'
> variable names in #include files (of which some *are* rather odd) so that the
> chances of it being an *actual* variable name in a scene file are very low? In
> other words, are they purposely odd so that they won't be confused with other
> scene file variables that we would normally think to use? OR does it matter at
> all? (as #include files use #local variables, not #declared ones)

Yes, that's exactly the rationale behind the variable name. This is of
particular importance if the include file use "#declare" instead of "#local",
which some files do (and actually all files should, unless they are supposed to
be included multiple times) to detect whether they have been included before.

> By the way, in the 3.7 documentation concerning #version for SCENE use, it says
> (in error?), "Naturally the default setting for this option is #version 3.5."
> Should that say 3.62 now?

Looks like that portion of the docs is very much outdated.


Post a reply to this message

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