POV-Ray : Newsgroups : povray.general : Identifying engine version Server Time
5 Nov 2024 09:26:01 EST (-0500)
  Identifying engine version (Message 1 to 2 of 2)  
From: Peter Houston
Subject: Identifying engine version
Date: 21 Jun 1999 15:10:10
Message: <376e8e12@news.povray.org>
Is there any way to identify in the scene files what version of POV is being
used ?

What I'm getting at is if a scene is rendered using either SuperPatch, UVPov
or the official release can it identify what the engine is and thus  trigger
events.

What I would like to do is write one scene that could use photons but if
UVPov is not used it will still render without errors just ignoring the
photon commands.

I know it can be done with a declared variable and #if switches but this
requires the scene being edited before rendering.

If this can't be done currently, would this be useful enough to be suggested
for future inclusion in the official version and all future patches ?

A keyword "engine" could be defined internally that would equate to a string
e.g.. 3.1e Official, 3.1e Superpatch, 3.1e UVPov etc. this could then be
used in switches.

Regards,

Peter H.

[ Peter Houston               ICQ# 8770407              Houston Graphics ]
[ ====================================================================== ]
[ Hou### [at] inamecom           http://welcome.to/HoustonGraphics ]


Post a reply to this message

From: Lance Birch
Subject: Re: Identifying engine version
Date: 21 Jun 1999 22:49:49
Message: <376ef9cd@news.povray.org>
Good idea I think.

Or even perhaps the syntax could be something like engine and engine_version
(so that you can easily detect the patch... rather than distinguishing
between "3.1e Official" and "3.1 Official", if that made sense)

Definately worth investigating.

--
Lance.


---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone
For a totally different experience, visit my Chroma Key Website:
Colorblind - http://listen.to/colorblind

Peter Houston wrote in message <376e8e12@news.povray.org>...
>Is there any way to identify in the scene files what version of POV is
being
>used ?
>
>What I'm getting at is if a scene is rendered using either SuperPatch,
UVPov
>or the official release can it identify what the engine is and thus
trigger
>events.
>
>What I would like to do is write one scene that could use photons but if
>UVPov is not used it will still render without errors just ignoring the
>photon commands.
>
>I know it can be done with a declared variable and #if switches but this
>requires the scene being edited before rendering.
>
>If this can't be done currently, would this be useful enough to be
suggested
>for future inclusion in the official version and all future patches ?
>
>A keyword "engine" could be defined internally that would equate to a
string
>e.g.. 3.1e Official, 3.1e Superpatch, 3.1e UVPov etc. this could then be
>used in switches.
>
>Regards,
>
>Peter H.
>
>[ Peter Houston               ICQ# 8770407              Houston Graphics ]
>[ ====================================================================== ]
>[ Hou### [at] inamecom           http://welcome.to/HoustonGraphics ]
>
>


Post a reply to this message

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