POV-Ray : Newsgroups : povray.advanced-users : Extract 2D screen coordinates from 3D : Re: Extract 2D screen coordinates from 3D Server Time
25 Sep 2021 14:26:04 EDT (-0400)
  Re: Extract 2D screen coordinates from 3D  
From: Mike Horvath
Date: 23 Feb 2020 08:03:23
Message: <5e52781b$1@news.povray.org>
On 2/22/2020 3:55 AM, kurtz le pirate wrote:
> However, some very small adjustments need to be made as you can see.
> Get_Screen_XY() return coordinates in "image unit" and they must be 
> reduced to [0..1] and vertical position must also be changed with 
> 1-value. Resulting in :
>    <ScreenXY/image_width, 1-(ScreenXY.y/image_height)>
> for the *location* parameter of the *Screen_Object* macro.
> 
> 
> Great !!
> 
> 

I don't quite understand your response. Are you satisfied with how the 
tool works, or do you think there need to be changes?



Michael


Post a reply to this message

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