POV-Ray : Newsgroups : povray.object-collection : Yes-library : Re: Yes-library Server Time
30 Apr 2024 23:04:52 EDT (-0400)
  Re: Yes-library  
From: Mike Miller
Date: 24 Feb 2023 15:35:00
Message: <web.63f91ee57f290431a30d213ddabc9342@news.povray.org>
yesbird <sya### [at] gmailcom> wrote:
> Btw, how did you this 'wormish' shapes ? I like them so much !
>
> https://639cef3628e1f.site123.me/p-o-v-r-a-y/item-id-63ab2ae03b610
> --
> YB


Thanks, below are the definitions. I plot these out of CAD and convert using a
utility I wrote. I think these are the right ones.


//--- weed
#declare weed3 =
 union {
   sphere_sweep {
       cubic_spline
       7,
       <-0.0133141,-0.000790786,0.0>,0.131825,
       <-0.0133141,-0.000790786,0.0>,0.131825,
       <0.0852752,0.426277,-0.118113>,0.102224,
       <-0.0994501,1.01313,0.0504987>,0.0503133,
       <-0.082195,1.2748,0.0306135>,0.0251861,
       <-0.0270831,1.38204,-0.0239959>,0.0551861,
       <-0.0270831,1.38204,-0.0239959>,0.0551861
       tolerance 0.000001
       }

}


//--- mushroom
#declare shroom =
lathe {
    cubic_spline
    10
    < 0.0  ,  0.287761 >,
    < 0.0  ,  0.287761 >,
    < 0.110804  ,  0.270507 >,
    < 0.210494  ,  0.199574 >,
    < 0.203634  ,  0.142057 >,
    < 0.0925914  ,  0.13631 >,
    < 0.124224  ,  0.0251171 >,
    < 0.180055  ,  -0.00454055 >,
    < 0.000391543  ,  -0.0259348 >,
    < 0.000391543  ,  -0.0259348 >
    }


Post a reply to this message

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