POV-Ray : Newsgroups : povray.text.scene-files : Updated screen.inc Server Time
26 Apr 2024 14:19:36 EDT (-0400)
  Updated screen.inc (Message 4 to 13 of 18)  
<<< Previous 3 Messages Goto Latest 10 Messages Next 5 Messages >>>
From: Mike Horvath
Subject: Re: Updated screen.inc
Date: 30 Aug 2018 21:32:06
Message: <5b889a96@news.povray.org>
I updated the script slightly. There is now also the license, and I 
incorporated the official changes to the Screen_Object macro.


Mike


Post a reply to this message


Attachments:
Download 'screen.inc.txt' (8 KB)

From: dick balaska
Subject: Re: Updated screen.inc
Date: 30 Aug 2018 21:36:50
Message: <5b889bb2$1@news.povray.org>
On 08/30/2018 09:32 PM, Mike Horvath wrote:
> I updated the script slightly. There is now also the license, and I
> incorporated the official changes to the Screen_Object macro.
> 
> 
> Mike

Why does it save and restore the version, but not change it?

-- 
dik
Rendered 1024 of 921600 pixels (0%)


Post a reply to this message

From: Mike Horvath
Subject: Re: Updated screen.inc
Date: 30 Aug 2018 22:38:14
Message: <5b88aa16@news.povray.org>
On 8/30/2018 9:36 PM, dick balaska wrote:
> On 08/30/2018 09:32 PM, Mike Horvath wrote:
>> I updated the script slightly. There is now also the license, and I
>> incorporated the official changes to the Screen_Object macro.
>>
>>
>> Mike
> 
> Why does it save and restore the version, but not change it?
> 

I forgot about that. What should I do instead?


Mike


Post a reply to this message

From: dick balaska
Subject: Re: Updated screen.inc
Date: 30 Aug 2018 22:58:35
Message: <5b88aedb$1@news.povray.org>
On 08/30/2018 10:38 PM, Mike Horvath wrote:
> On 8/30/2018 9:36 PM, dick balaska wrote:
>> On 08/30/2018 09:32 PM, Mike Horvath wrote:
>>> I updated the script slightly. There is now also the license, and I
>>> incorporated the official changes to the Screen_Object macro.
>>>
>>
>> Why does it save and restore the version, but not change it?
>>
> 
> I forgot about that. What should I do instead?
> 

I would just delete those two lines, they are unnecessary.


-- 
dik
Rendered 1024 of 921600 pixels (0%)


Post a reply to this message

From: Mike Horvath
Subject: Re: Updated screen.inc
Date: 30 Aug 2018 23:07:48
Message: <5b88b104@news.povray.org>
On 8/30/2018 10:58 PM, dick balaska wrote:
> On 08/30/2018 10:38 PM, Mike Horvath wrote:
>> On 8/30/2018 9:36 PM, dick balaska wrote:
>>> On 08/30/2018 09:32 PM, Mike Horvath wrote:
>>>> I updated the script slightly. There is now also the license, and I
>>>> incorporated the official changes to the Screen_Object macro.
>>>>
>>>
>>> Why does it save and restore the version, but not change it?
>>>
>>
>> I forgot about that. What should I do instead?
>>
> 
> I would just delete those two lines, they are unnecessary.
> 
> 

Okay. Unfortunately, the file has never had any version numbers, so all 
the different versions floating around (I'm not the only one) are hard 
to keep straight.


Mike


Post a reply to this message

From: Mike Horvath
Subject: Re: Updated screen.inc
Date: 30 Aug 2018 23:10:09
Message: <5b88b191$1@news.povray.org>
Another update, with more of Dick's tips.


Mike


Post a reply to this message


Attachments:
Download 'screen.inc.txt' (8 KB)

From: clipka
Subject: Re: Updated screen.inc
Date: 31 Aug 2018 09:28:44
Message: <5b89428c$1@news.povray.org>
Am 31.08.2018 um 04:58 schrieb dick balaska:
> On 08/30/2018 10:38 PM, Mike Horvath wrote:
>> On 8/30/2018 9:36 PM, dick balaska wrote:
>>> On 08/30/2018 09:32 PM, Mike Horvath wrote:
>>>> I updated the script slightly. There is now also the license, and I
>>>> incorporated the official changes to the Screen_Object macro.
>>>>
>>>
>>> Why does it save and restore the version, but not change it?
>>>
>>
>> I forgot about that. What should I do instead?
>>
> 
> I would just delete those two lines, they are unnecessary.

A smarter approach would be to leave them in, and add a `#version 3.7`
(or some such) indicating the minimum version of POV-Ray known to work
with the include file.


Post a reply to this message

From: Mike Horvath
Subject: Re: Updated screen.inc
Date: 5 Sep 2018 17:43:47
Message: <5b904e13$1@news.povray.org>
I added the version check back in. It should work in POV 3.7 and later now.


Mike


Post a reply to this message


Attachments:
Download 'screen.inc.txt' (8 KB)

From: Mike Horvath
Subject: Re: Updated screen.inc
Date: 15 Sep 2018 02:29:53
Message: <5b9ca6e1$1@news.povray.org>
I noticed I let a bug slip in that was causing the "Screen_Object()" 
macro to fail. I have attached the updated script.


Mike


Post a reply to this message


Attachments:
Download 'screen.inc.txt' (8 KB)

From: Kenneth
Subject: Re: Updated screen.inc
Date: 15 Sep 2018 18:50:00
Message: <web.5b9d8c4ad61dfd43a47873e10@news.povray.org>
Mike Horvath <mik### [at] gmailcom> wrote:
> I noticed I let a bug slip in that was causing the "Screen_Object()"
> macro to fail. I have attached the updated script.
>
>
> Mike

Thanks! Haven't tried it out yet, but will.

I made a few changes of my own to the original screen.inc years ago-- to improve
its precision with HIGH-res cylindrical height_fields and such, when made there.
(and also figured out where to add an 'inside vector' to such things, for use in
CSG.) I hope I can find the old code at some point; I think I lost it :-(


Post a reply to this message

<<< Previous 3 Messages Goto Latest 10 Messages Next 5 Messages >>>

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