POV-Ray : Newsgroups : povray.advanced-users : Finding an object=B4s location : Re: Finding an object=B4s location Server Time
28 Jul 2024 22:30:21 EDT (-0400)
  Re: Finding an object=B4s location  
From: Gilles Tran
Date: 18 Nov 2003 04:15:54
Message: <3fb9e34a$1@news.povray.org>

news:web.3fb9705e4b0664231e2d84430@news.povray.org...

> Is there any way to ask POV-Ray where exactly the last object is located?

The only way I know is to calculate the position using vector functions and
then using the value for screen output.
For example :
#declare
MyPos=vaxis_rotate(vaxis_rotate(<10,30,-20>,y,50)+<50,-10,12>,z,30);
#debug
concat(str(Mypos.x,0,3),",",str(Mypos.y,0,3),",",str(Mypos.z,0,3),"\n")

G.


-- 

**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

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