|
![](/i/fill.gif) |
Yes!!!
Thanks guys. Talking it out with others helped.
here is code that works:
#local Norm = <0,0,0>;
#local Degrees = 0;
#local SurfaceDirection =<-1,0-1,>;
#local SD = vnormalize(SurfaceDirection);
#local Surface = trace(testobject,0,SurfaceDirection,Norm);
// yes, the trace function from Superpatch. testobject: first a sphere,
then the world!
camera {
location 0 look_at z
rotate <-90,90,0>
translate -x*vlength(Surface)*1.01
look_at <-vlength(Surface),2000,0>
rotate <0,0,degrees(acos(SD.y))>
rotate <0,degrees(acos(SD.z)),0>
rotate vaxis_rotate(Surface,SurfaceDirection,90)
angle 50
}
Arthur Flint wrote:
>
> Steve,
> This was an attempt to get the positioning math right. I know that I
> could have rotated the sphere, but then I never would have found the
> right answer. And I am sure there must be one. So I keep looking.
> Mr. Art
>
--
Advanced means constantly wondering where reality gets its processing
power.
Post a reply to this message
|
![](/i/fill.gif) |