POV-Ray : Newsgroups : povray.general : text & trace() bug : Re: text & trace() bug Server Time
4 Nov 2024 17:36:15 EST (-0500)
  Re: text & trace() bug  
From: Christopher James Huff
Date: 24 Oct 2003 17:58:35
Message: <cjameshuff-E8D923.17562724102003@netplex.aussie.org>
In article <Xns### [at] 204213191226>,
 Alain <noe### [at] onca> wrote:

> Sounds good.  I was thinking of basing myself on the text's orientation.  
> Since the front and back of the text should always (I think) be flat, then 
> a collision with a text trace normal that is parallel with the front normal 
> would be used as is, all others would be negated.  This would mean that I 
> would need to keep track of the text orientation, but I think it might also 
> mean less computation in the sim loop.

This is a good idea...the normals are either perpendicular to the face 
axis or parallel to it, making them quite easy to distinguish.
Another possibility is to trace against an intersection of a text object 
and two planes or a box for the normal computation.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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