POV-Ray : Newsgroups : povray.advanced-users : Box pointing to target vector : Re: Box pointing to target vector Server Time
2 Jul 2024 18:58:29 EDT (-0400)
  Re: Box pointing to target vector  
From: MadKairon
Date: 28 Mar 2010 12:25:01
Message: <web.4baf8288cd7385dc5e975f010@news.povray.org>
well...  can't do the math for myself so I found an easy way out :P

#include "transforms.inc"
box { <-.025,0,-.025>, <.025,VDist(<0,0,0>, vect),.025> pigment { rgb <0,.2,0>}
     Point_At_Trans(vect)
    }

just in case somebody else needs it.


Post a reply to this message

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