POV-Ray : Newsgroups : povray.general : Suggestion for new object : Re: Suggestion for new object Server Time
14 Aug 2024 01:17:46 EDT (-0400)
  Re: Suggestion for new object  
From: Nieminen Mika
Date: 13 Jul 1998 09:58:59
Message: <35aa0493.0@news.povray.org>
Chris Colefax <cco### [at] geocitiescom> wrote:
:       intersection {
:          plane {_MB_normaldir * _MB_normal1, 0 translate FP1}
:          plane {_MB_normaldir * _MB_normal2, 0 translate FP1}
:          plane {_MB_normaldir * _MB_normal3, 0 translate FP1}
:          plane {_MB_normaldir * _MB_normal4, 0 translate BP1}
:          plane {_MB_normaldir * _MB_normal5, 0 translate FP4}
:          plane {_MB_normaldir * _MB_normal6, 0 translate FP2}
:       }

  Wouldn't it be a good idea to bound that object with a bounding box?
  I have understood that povray tests the intersection of the viewing ray
with each one of those planes for each pixel since they are infinite shapes
(well, I don't know if pov3.1 has a better automatic bounding box generation
routine). A bounding box should speed up raytracing.
  I haven't tested this on pov3.1, so I'm sorry if this message is useless.

-- 
                                                              - Warp. -


Post a reply to this message

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