POV-Ray : Newsgroups : povray.general : Using trace() and rotation... : Re: Using trace() and rotation... Server Time
1 Aug 2024 00:24:18 EDT (-0400)
  Re: Using trace() and rotation...  
From: Artemia Salina
Date: 2 Jul 2006 03:42:23
Message: <pan.2006.07.02.07.42.23.304113@sheayright.com>
On Sun, 02 Jul 2006 09:28:01 +0300, Warp wrote:

> 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.

Thanks Warp,

I'm populating the entire surface of the object (the sphere was an example).
I'll read up on Reorient_Trans.


-- 
Today's Alliterative Monomania Headlines:
Ecliptic Easterling Earthworm Elegantly Enharbors Ecaudate Earthbank
Wallachian Wagnerian Whist Whizzingly Washes Welsbach Weismannism
Wide-angle Wallachian Waler Waitingly Whipsaws Wagnerian Wait-a-while


Post a reply to this message

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