POV-Ray : Newsgroups : povray.general : Using trace() and rotation... : Re: Using trace() and rotation... Server Time
1 Aug 2024 00:22:46 EDT (-0400)
  Re: Using trace() and rotation...  
From: Warp
Date: 2 Jul 2006 02:28:00
Message: <44a76770$1@news.povray.org>
Artemia Salina wrote:
> Assuming a sphere at <0,0,0> and using it as the object being traced, how
> would I rotate other objects placed on its surface so that they are
> radiating directly outward from <0,0,0>?

   Tracing a sphere is overkill. In order to place an object on the
surface of a origin-centered sphere, just put it eg. on the x axis
at a distance equal to the radius of the sphere and rotate it around
two axes. The object will automatically rotate appropriately.

   But the answer to your question is the Reorient_Trans() in
transforms.inc.


Post a reply to this message

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