POV-Ray : Newsgroups : povray.text.scene-files : Updated screen.inc Server Time
24 Feb 2024 10:58:52 EST (-0500)
  Updated screen.inc (Message 11 to 18 of 18)  
<<< Previous 10 Messages Goto Initial 10 Messages
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

From: Mike Horvath
Subject: Re: Updated screen.inc
Date: 23 Jun 2019 22:40:00
Message: <5d103800$1@news.povray.org>
I discovered a lot of bugs that I didn't notice before.

These updated versions may work better. There are new test cases in the 
demo scene. Let me know if they're not working.


Michael


Post a reply to this message


Attachments:
Download 'screen_mjh.inc.txt' (9 KB) Download 'screen_mjh.pov.txt' (10 KB)

From: Mike Horvath
Subject: Re: Updated screen.inc
Date: 25 Jun 2019 03:32:00
Message: <5d11cdf0@news.povray.org>
Some small tweaks, as well as some notes.

NOTES (MJH)
* Camera_Angle and Camera_Zoom are ignored by Mode 2.
* Outputted Camera_Look_At is incorrect with Mode 2 when orthographic
   projection is disabled. Not sure this can be fixed.
* In my opinion, Set_Camera_Angle and Set_Camera_Zoom should disregard
   Camera_Aspect_Ratio. Instead, Camera_Aspect_Ratio should be handled
   at other points in the code. However, altering this behavior could
   affect old scenes.


Post a reply to this message


Attachments:
Download 'screen_mjh.inc.txt' (10 KB) Download 'screen_mjh.pov.txt' (10 KB)

From: Mike Horvath
Subject: Re: Updated screen.inc
Date: 25 Jun 2019 03:34:33
Message: <5d11ce89$1@news.povray.org>
On 6/25/2019 3:32 AM, Mike Horvath wrote:
> Some small tweaks, as well as some notes.
> 
> NOTES (MJH)
> * Camera_Angle and Camera_Zoom are ignored by Mode 2.
> * Outputted Camera_Look_At is incorrect with Mode 2 when orthographic
>    projection is disabled. Not sure this can be fixed.
> * In my opinion, Set_Camera_Angle and Set_Camera_Zoom should disregard
>    Camera_Aspect_Ratio. Instead, Camera_Aspect_Ratio should be handled
>    at other points in the code. However, altering this behavior could
>    affect old scenes.

Additional note:

Is it even possible to determine the look_at point when you are using 
location, direction, right, and up and perspective projection?


Michael


Post a reply to this message

From: Mike Horvath
Subject: Re: Updated screen.inc
Date: 25 Jun 2019 03:37:32
Message: <5d11cf3c$1@news.povray.org>
Oops, I forgot to trim some test code that causes experimental behavior. 
I have attached the unaffected code to this post.


Michael


Post a reply to this message


Attachments:
Download 'screen_mjh.inc.txt' (10 KB) Download 'screen_mjh.pov.txt' (10 KB) Download 'notes.txt' (1 KB)

From: Mike Horvath
Subject: Re: Updated screen.inc
Date: 25 Jun 2019 06:04:17
Message: <5d11f1a1@news.povray.org>
Made some minor tweaks, and updated the documentation. These are 
probably the last changes I will make unless there is feedback.


Michael


Post a reply to this message


Attachments:
Download 'screen_mjh.inc.txt' (11 KB) Download 'screen_mjh.pov.txt' (10 KB) Download 'notes.txt' (1 KB)

<<< Previous 10 Messages Goto Initial 10 Messages

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