POV-Ray : Newsgroups : povray.general : Look_at_macro : Re: Look_at_macro Server Time
30 Jul 2024 22:25:18 EDT (-0400)
  Re: Look_at_macro  
From: H  Karsten
Date: 12 Mar 2008 07:20:01
Message: <web.47d7ca2ad9327eeb10a45770@news.povray.org>
"Tim Attwood" <tim### [at] comcastnet> wrote:
> I think you want something like Reorient_Trans
> from transforms.inc
>
> //+kff360
> #include "transforms.inc"
> #declare P = <2*sin(clock*60),3,4*sin(clock*36)>;
> sphere {P,0.05
>    pigment {Red}
> }
> cone {<0,0,0>,0.05,<0,0,0.5>,0
>    pigment {Cyan}
>    Reorient_Trans(z,vnormalize(P))
> }

Really helpful!!

And nice short ;)

Thanx!!!!!


Post a reply to this message

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