POV-Ray : Newsgroups : povray.beta-test : blob on insert menu : blob on insert menu Server Time
4 Nov 2024 13:42:37 EST (-0500)
  blob on insert menu  
From: Tom Melly
Date: 3 Oct 2001 12:18:42
Message: <3bbb3a62$1@news.povray.org>
Has this one come up before?

The blob on the insert menu is wrong (doesn't parse due to two radius params):

blob
{
  // threshold (0.0 < threshold <= StrengthVal) surface falloff threshold #
  threshold 0.6
  sphere { < 0.75,   0,    0>, StrengthVal, RadiusVal }
  sphere { <-0.375,  0.65, 0>, StrengthVal, RadiusVal }
  sphere { <-0.375, -0.65, 0>, StrengthVal, RadiusVal }
  cylinder { -z, +z, 0.1, StrengthVal, RadiusVal } // no good!!!!
  // [sturm]
  scale 2
}

--
#macro G(D,E,F)#local I=array[3]{D,E,F}#local B=0;triangle{#while(
B<3)#while(I[B])A[mod(I[B],10)]+#local I[B]=div(I[B],10);#end<-5,-
2,9>#local B=B+1;#end}#end #local A=array[7]{x,x*2,x*4,y,y*2,y*4,z
}light_source{-x*6-z*9,1}mesh{G(105,10,146)G(105,246,10)G(105,56,
146)G(105,1256,246)G(1256,126,220)G(22156,2216,201)pigment{rgb 1}}//TM


Post a reply to this message

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