POV-Ray : Newsgroups : povray.newusers : Adding text in a local coordinate system : Re: Adding text in a local coordinate system Server Time
29 Jul 2024 08:14:04 EDT (-0400)
  Re: Adding text in a local coordinate system  
From: Charles C
Date: 9 Apr 2006 21:35:01
Message: <web.4439b57713f8e9b160ffde0@news.povray.org>
There's an include file for putting things in front of the camera, but I
can't remember what it's called.  It's there though.

You could also put both the text and the camera in a known coordinate system
and then put both where you need them after the fact:  Center your text at
the origin, and put the camera a short distance out along one of the axis
looking at the text straight on...  Then you could rotate both to the angle
of your liking. Also do the same rotation to some vector.  (Initial vector
should equal the location of the camera.) Translate the camera (and text)
out to your Scene_Center, minus the vector value.   Finally translate the
camera (and text) one more time by the vector value * some multiplier to
get it however far away you want it to be from the Scene_Center.  If what I
just said is all wrong, somebody else correct :-)

Charles


Post a reply to this message

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