POV-Ray : Newsgroups : povray.advanced-users : Extract 2D screen coordinates from 3D : Re: Extract 2D screen coordinates from 3D Server Time
25 Apr 2024 03:21:26 EDT (-0400)
  Re: Extract 2D screen coordinates from 3D  
From: Mike Horvath
Date: 16 Feb 2020 22:00:17
Message: <5e4a01c1$1@news.povray.org>
On 1/18/2020 12:16 PM, kurtz le pirate wrote:
> I found the "Updated screen.inc" in newsgroup.
>
<http://news.povray.org/povray.text.scene-files/attachment/%3C5b889a96%40news.povray.org%3E/screen.inc.txt>

> In this file there's the macro : *Get_Screen_XY(Loc)*. This macro return 
> <x,y> coordinates in the image from <x,y,z> coordinates of 3d scene. 
> That's exactly what I need.
> 

If it helps, the latest version of this script is on GitHub.

https://github.com/mjhorvath/POVRay-Updated-Screen-Inc

See if that solves your problem and let me know.


Michael


Post a reply to this message

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