POV-Ray : Newsgroups : povray.advanced-users : Simple one : Re: Simple one Server Time
28 Jul 2024 10:20:02 EDT (-0400)
  Re: Simple one  
From: Orchid XP v2
Date: 11 Mar 2006 16:37:42
Message: <44134326$1@news.povray.org>
> #declare O = object {with surface normal = +y};
> #declare K = <what you want the surface normal to become>;
> 
> object
> {
>   O
> 
>   rotate x*atan2(K.y, K.z)
>   rotate z*atan2(K.x, K.y)
> }

Hang it all... that doesn't actually work at all! >_<

My brain hurts...


Post a reply to this message

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