POV-Ray : Newsgroups : povray.general : Rotate to face camera : Re: Rotate to face camera Server Time
5 Nov 2024 07:15:56 EST (-0500)
  Re: Rotate to face camera  
From: Warp
Date: 27 May 2003 07:24:06
Message: <3ed34ad6@news.povray.org>
Sir Charles W. Shults III <aic### [at] cflrrcom> wrote:
> Rotate
> the triangle so that its normal is aimed at the camera location.

  You should have given some hint on how to do this (it's not that trivial,
after all).
  For a way, see the documentation about transforms.inc (specially about
the Reorient_Trans() macro).

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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