POV-Ray : Newsgroups : povray.general : Look_at_macro : Re: Look_at_macro Server Time
30 Jul 2024 22:24:42 EDT (-0400)
  Re: Look_at_macro  
From: Tim Attwood
Date: 12 Mar 2008 06:57:50
Message: <47d7c53e$1@news.povray.org>
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))
}


Post a reply to this message

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