POV-Ray : Newsgroups : povray.unofficial.patches : #version in UberPOV Server Time
4 Dec 2024 13:53:11 EST (-0500)
  #version in UberPOV (Message 1 to 5 of 5)  
From: Mike Horvath
Subject: #version in UberPOV
Date: 6 Feb 2018 20:32:31
Message: <5a7a572f$1@news.povray.org>
UberPOV has lengthy #version declarations such as the following:

#version unofficial patch 3.71;
#patch 0.99;

How do I store the version in a variable? For instance

#declare MyVersion = version;

Does that still work properly?


Mike


Post a reply to this message

From: clipka
Subject: Re: #version in UberPOV
Date: 7 Feb 2018 15:57:22
Message: <5a7b6832$1@news.povray.org>
Am 07.02.2018 um 02:32 schrieb Mike Horvath:
> UberPOV has lengthy #version declarations such as the following:
> 
> #version unofficial patch 3.71;
> #patch 0.99;
> 
> How do I store the version in a variable? For instance
> 
> #declare MyVersion = version;
> 
> Does that still work properly?

It should. Let me know if it doesn't.


Post a reply to this message

From: Mike Horvath
Subject: Re: #version in UberPOV
Date: 8 Feb 2018 18:33:24
Message: <5a7cde44$1@news.povray.org>
On 2/7/2018 3:57 PM, clipka wrote:
> Am 07.02.2018 um 02:32 schrieb Mike Horvath:
>> UberPOV has lengthy #version declarations such as the following:
>>
>> #version unofficial patch 3.71;
>> #patch 0.99;
>>
>> How do I store the version in a variable? For instance
>>
>> #declare MyVersion = version;
>>
>> Does that still work properly?
> 
> It should. Let me know if it doesn't.
> 


I just tried

     #debug concat("\n\nMike's version: ", str(version, 0, -1), "\n\n")

And it outputted

     Mike's version: 3.620000



Mike


Post a reply to this message

From: clipka
Subject: Re: #version in UberPOV
Date: 9 Feb 2018 06:51:33
Message: <5a7d8b45$1@news.povray.org>
Am 09.02.2018 um 00:33 schrieb Mike Horvath:
> On 2/7/2018 3:57 PM, clipka wrote:
>> Am 07.02.2018 um 02:32 schrieb Mike Horvath:
>>> UberPOV has lengthy #version declarations such as the following:
>>>
>>> #version unofficial patch 3.71;
>>> #patch 0.99;
>>>
>>> How do I store the version in a variable? For instance
>>>
>>> #declare MyVersion = version;
>>>
>>> Does that still work properly?
>>
>> It should. Let me know if it doesn't.
>>
> 
> 
> I just tried
> 
>     #debug concat("\n\nMike's version: ", str(version, 0, -1), "\n\n")
> 
> And it outputted
> 
>     Mike's version: 3.620000

Is that with or without the `#version unofficial patch 3.71;" ??

Because if you don't specify a `#version` statement nor `Version` INI
setting, 3.62 is the default you get.


Post a reply to this message

From: Mike Horvath
Subject: Re: #version in UberPOV
Date: 9 Feb 2018 07:14:45
Message: <5a7d90b5$1@news.povray.org>
On 2/9/2018 6:51 AM, clipka wrote:
> Is that with or without the `#version unofficial patch 3.71;" ??
> 
> Because if you don't specify a `#version` statement nor `Version` INI
> setting, 3.62 is the default you get.
> 

Oops, you're right. If I set the version number first it reports 3.710000.


Mike


Post a reply to this message

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