POV-Ray : Newsgroups : povray.general : Patch idea : Patch idea Server Time
4 Nov 2024 23:15:58 EST (-0500)
  Patch idea  
From: Micheal (Mike) Williams
Date: 26 Aug 2003 00:40:52
Message: <3f4ae4d4$1@news.povray.org>
For anyone who plays with the povray source:

I have been toying with an idea. All objects in real life have a thickness
to them. The metal of a car is thick enough that we can see it rounded at
the edges. The idea is to treat triangles as though they have a thickness.
Rather than the ray calculated to strike the triangle it is calculated at a
point near the triangle. I was kind of thanking that this is how it worked
anyway. The ray is incremented at a constant value. The triangle strike
point might just lay between he ray steps. I would be guessing but is it not
already calculated on the assumption of when it got with in a step of the
triangle. Am I wrong here? In any case the idea that came out of my feeble
try at understanding retracing was to make the triangle thick some how. The
thickness could be a setting with in the triangle command. The edge could be
calculated by blending from a norm parallel to the triangle and the norm of
the triangle. I know I am talking as if it is simple but I do understand the
programming might be complicated.
Any one interested? If you are take it and run. I will be glad to use it.

--
Mike Williams


IBO#770070
www.quixtar.com
www.espring.com
www.nutrilite.com
www.blionline.com


Post a reply to this message

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