POV-Ray : Newsgroups : povray.general : Text objects orientation problem : Re: Text objects orientation problem Server Time
1 Aug 2024 20:10:37 EDT (-0400)
  Re: Text objects orientation problem  
From: kerosin
Date: 24 Apr 2005 18:55:01
Message: <web.426c23047e34b395c4fdd5a30@news.povray.org>
I found the correct way now:

First apply the inverse camera matrix, than rotate 180*y and x,
than apply the translation. Maybe someone else will have the same problem...

text{ ttf "font", "asdasd",0.2, 0
  texture{ pigment{color rgb<0.33, 0., 0., 0., 0.> }
  finish{ambient 0.15 diffuse 0.85} }
  matrix < 0, 1, 0, -0.860148, 0, 0.510045, 0.510045, 0, 0.860148, 0, 0, 0 >
rotate 180*y rotate 180*x
  translate < 13.1507, 88.4991, 9.21197  > }


Post a reply to this message

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