|
|
sorry if I insist on off topic but I think it's something to know.
I am reviewing the code of my libraries. I have had confirmation that removing
the "difference" from the loops is gaining 3/4 of the time.
Another example, the basic atom of my Palm Washingtonia (Washingtonia) revised
and corrected.
#declare Subpalm0_Old = object {difference {difference {
sphere{<0,0,0>,1 scale<.5,.2,1>}
plane{<1.2,1,0>,0} plane{<1.2,-1,0>,0 inverse}}
sphere{<0,0,0>,1 scale<.5,.2,1>}}
translate<0,0,1> scale<.09,.3,.3> rotate<0,-100,0>
pigment{colour OLIVE} finish{ambient (0.45 * AmbientFact) diffuse .7}
normal{bumps .25 scale .04}
}
#declare Subpalm0 = object{sphere{<0,0,0>,1
scale<.5,.2,1>clipped_by{plane{<1.2,-1,0>,0}} clipped_by{plane{<1.2,1,0>,0
inverse}}}
translate<0,0,1> scale<.09,.3,.3> rotate<0,-100,0>pigment{colour OLIVE}
finish{ambient (0.45 * AmbientFact) diffuse .7}
normal{bumps .25 scale .04}
}
Post a reply to this message
|
|