POV-Ray : Newsgroups : povray.general : output file saving : Re: output file saving Server Time
19 Apr 2024 02:55:53 EDT (-0400)
  Re: output file saving  
From: GioSeregni
Date: 3 Mar 2020 19:25:00
Message: <web.5e5ef5187018a2442c923fbd0@news.povray.org>
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

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