|
![](/i/fill.gif) |
Wasn't it Larp who wrote:
>Mike Williams wrote:
>
>> The situation with the speed of holes is quite
>> complicated. I have a series of pages about the situation
>> here:
>> http://www.econym.demon.co.uk/holetut/index.htm
>>
>> Because your holes are randomly placed, the first three
>> tricks won't work, but the fourth trick might:
>> http://www.econym.demon.co.uk/holetut/holes4.htm
>>
>
>Wow! I have been studying those tutorials several times
>during my Povray years and found the Isosurface Tutorial
>particularly useful. It feels strange now, suddenly, to be
>writing to the author. Hmm, thank you for your work!
>
>I have been reading Holes Tutorials too, but forgot the blob
>technique.
>
>So, what comes to the energy drink can holes... - I made the
>holes as cylinders at first:
>
>cylinder { <0,0.6,0><0,0.6,2>, 0.03
> rotate <0,RotY2,0>
> translate <0,PosY,0>
>}
>
>...and then I changed those to blobs:
>
>blob { threshold 1
> cylinder { <0,0.6,0><2,0.6,2>, 0.03, 10000 }
> rotate <0,RotY2,0>
> translate <0,PosY,0>
>}
It looks like you might be attempting to difference the can with a union
of blobs each of which have a single element. That doesn't gain you the
advantage of the blob trick. What you have to do is difference the can
with a single blob object that has lots of components.
blob { threshold 1
cylinder { <0,0.6,0><2,0.6,2>, 0.03, 10000 }
rotate <0,RotY1,0>
translate <0,PosY1,0>
cylinder { <0,0.6,0><2,0.6,2>, 0.03, 10000 }
rotate <0,RotY2,0>
translate <0,PosY2,0>
cylinder { <0,0.6,0><2,0.6,2>, 0.03, 10000 }
rotate <0,RotY3,0>
translate <0,PosY3,0>
...
}
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |