|
![](/i/fill.gif) |
Any suggestions how to make the last two tests below render faster?
And why the difference in times?
Mat is a union of 240 rounded triangles (each 7 objects) on the
y-plane. I want to cut out a circular section for a table-top.
All tests +w512 +h384 +a0.3, and include
torus{ 3,0.05 translate <3.5,0,3.5> pigment{ rgb <0,1,1> } }
// Total time: 5s - 39424PPS.
object{Mat}
// Time: 9m 11s - 357PPS.
// Rr is the triangle rounding radius.
object{ Mat
clipped_by{
cylinder{ <3.5,-Rr*1.05, 3.5>, <3.5, Rr*1.05, 3.5>, 3 } }
bounded_by{
cylinder{ <3.5,-Rr*1.1, 3.5>, <3.5, Rr*1.1, 3.5>, 3.01 } }
}
// Time: 12m 27s - 263PPS.
difference{
object{ Mat }
cylinder{ <3.5,-Rr*1.05, 3.5>, <3.5, Rr*1.05, 3.5>, 3 inverse }
bounded_by{
cylinder{ <3.5,-Rr*1.1, 3.5>, <3.5, Rr*1.1, 3.5>, 3.01 } }
}
The last render can be seen here:
http://www.qsl.net/gw3srg/bits/tabletop.jpg
--
Alf
Post a reply to this message
|
![](/i/fill.gif) |