|
|
Many thanks, found it. worked a treat
Stephen
"Thorsten Froehlich" <tho### [at] trfde> wrote in message
news:39ca74b7$1@news.povray.org...
> In article <39ca7124@news.povray.org> , "sacrofts"
> <sac### [at] tinyonlinecouk> wrote:
>
> > Can anyone help? If I have a sphere, and touching at any one point
on that
> > sphere I have another >object, is there any way I could control the
rotation
> > of that object relative >to the axis of the sphere's normal at that
point? For
> > the image I'm working on, I have the radius of the sphere, the angle
of the
> > object from the 'north-pole' of the sphere, and the angle around the
sphere
> > measured from the positive x-axis.
>
> What you are looking for is the vaxis_rotate function. You find it
> explained in the documentation under: Scene Description Language >
Language
> Basics > Vector Expressions > Vector Functions
>
> The parameters in your case would be as follows (I think):
>
> vaxis_rotate(point, normal, degrees)
>
>
> Thorsten
Post a reply to this message
|
|