|
|
Consider
union{
sphere{<0,0,0>,1}
sphere{<1,0,0>,1}
sphere{<2,0,0>,1}
.... 10,000th sphere
texture{}
}
Is the rendering faster if we write it as
#declare S=sphere{<0,0,0>,1}
union{
object{S translate<0,0,0>}
object{S translate<1,0,0>}
object{S translate<2,0,0>}
.... 10,000th object
texture{}
}
Note that the question is not about applying texture and normals, as they are
applied after the union.
I understand that the latter case consumes less memory, but the key problem is
the rendering time.
To my understanding, the time-consuming process is when POVRAY applies the
light. Otherwise, placing the object is the rapid step.
Post a reply to this message
|
|