POV-Ray : Newsgroups : povray.general : Bounded_by and shape2.inc (performance enhancement) Server Time
7 Aug 2024 19:19:56 EDT (-0400)
  Bounded_by and shape2.inc (performance enhancement) (Message 1 to 1 of 1)  
From: Tom A 
Subject: Bounded_by and shape2.inc (performance enhancement)
Date: 16 Aug 2001 14:24:22
Message: <3B7C0FD5.35365D6E@my-deja.com>
I have modified the shapes2.inc file with bounding boxes for the regular
polyhedrons.  

In a picture I was rending (where I think I used about 24 of these
things) the render time had a very noticeable speedup.

Tetrahedron     bounded_by {box {< -2.5,-1.15,-1.5>, <2.5,3,2.85> } }
Octahedron      bounded_by {box {< -1.25,-1.75,-1.25>, <1.25,1.75,1.25>
}}
Dodecahedron    bounded_by {box {< -1.25,-1.25,-1.25>, <1.25,1.25,1.25>
}}
Icosahedron     bounded_by {box {< -1.25,-1.25,-1.25>, <1.25,1.25,1.25>
}}

-- 
Tom A.
See everything; over look a great deal; correct a little.  -Blessed Pope
John XXIII


Post a reply to this message

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