POV-Ray : Newsgroups : povray.unofficial.patches : A question on image_width : Re: A question on image_width Server Time
2 Sep 2024 04:19:26 EDT (-0400)
  Re: A question on image_width  
From: Chris Huff
Date: 19 May 2000 06:37:03
Message: <chrishuff_99-247F72.05403719052000@news.povray.org>
In article <3924C902.AEAF39A9@gci.net>, "Mr. Art" <mr.### [at] gcinet> 
wrote:

> Is there any way for the scene file to
> recognize that it is on the official as opposed to MegaPOV?

From the manual, towards the top:
"Changing the unofficial version number has no affect on the official 
language version number.  You can also retreive the unofficial version 
number using unofficial_version.   The unofficial_version variable 
returns -1 if unnofficial features are diabled."

You might be able to use #ifdef on unofficial_version, otherwise, you 
will just have to include a flag in your include file that the person 
rendering the file would have to change.

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/


Post a reply to this message

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