POV-Ray : Newsgroups : povray.general : calculate and print coordinates : Re: calculate and print coordinates Server Time
31 Jul 2024 16:21:16 EDT (-0400)
  Re: calculate and print coordinates  
From: Thorsten Froehlich
Date: 20 Nov 2006 15:57:32
Message: <456216bc$1@news.povray.org>
Maarten wrote:
> Hi,
> 
> Is it possible to do transformations (basic rotate, scale, translate) on a
> vector and then print out the result? e.g. something like
> 
> #warning <1,0,0> rotate z*90

Check out vrotate, one of the available vector functions:
<http://www.povray.org/documentation/view/3.6.1/229/>

Further, check out vstr, one of the available string functions:
<http://www.povray.org/documentation/view/3.6.1/232/>

	Thorsten


Post a reply to this message

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