POV-Ray : Newsgroups : povray.bugreports : Blobs: Error 1: Negative Values: Holes! / Error 2: Alpha Value Overwriting? : Re: Blobs: Error 1: Negative Values: Holes! / Error2:AlphaValueOverwriting? Server Time
20 Oct 2021 15:41:18 EDT (-0400)
  Re: Blobs: Error 1: Negative Values: Holes! / Error2:AlphaValueOverwriting?  
From: Sven Littkowski
Date: 23 Dec 2015 03:03:58
Message: <567a556e$1@news.povray.org>
I tried to fill the blob with many additional cylinders, but that didn't
help, either. The blob had an original design of many cylinders arranged
on four sides, like a square, and no cylinder was inside. Now it is.
Still, those black edges remain.

------------------------------

#declare MyMidshipBlob = blob
{
 #declare MyWidth     = 1.75;
 #declare MyThickness = 0.01;
 #declare MyZ         = 0.20;
 threshold 0.5
 cylinder { < -0.2, 0.0, 0.0 > < 0.2, 0.0, 0.0 > 2.0, 1 scale < 0.12,
1.00, 1.0 > translate < 0.0, 0.0, -0.50 > }
 cylinder { < -0.2, 0.0, 0.5 > < 0.2, 0.0, 0.5 > 0.75, 1 scale < 0.5,
1.00, 1.0 > translate < 0.0, 0.0, -0.50 > }

 cylinder { < -0.2, 0.0, 0.0 > < 0.2, 0.0, 0.0 > 2.0, 1 scale < 0.10,
0.50, 0.5 > translate < 0.0, 0.0, -0.25 > }

 cylinder { < -MyWidth,  MyThickness+0.150,   MyZ+0.00 > < MyWidth,
MyThickness+0.150,   MyZ+0.00 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.120, MyZ+0.00 > < MyWidth,
MyThickness/2+0.120, MyZ+0.00 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.090, MyZ+0.00 > < MyWidth,
MyThickness/2+0.090, MyZ+0.00 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.060, MyZ+0.00 > < MyWidth,
MyThickness/2+0.060, MyZ+0.00 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.030, MyZ+0.00 > < MyWidth,
MyThickness/2+0.030, MyZ+0.00 > 0.25, 1 }
 cylinder { < -MyWidth,  0.00,                MyZ+0.00 > < MyWidth,
0.00,                MyZ+0.00 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.030, MyZ+0.00 > < MyWidth,
-MyThickness/2-0.030, MyZ+0.00 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.060, MyZ+0.00 > < MyWidth,
-MyThickness/2-0.060, MyZ+0.00 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.090, MyZ+0.00 > < MyWidth,
-MyThickness/2-0.090, MyZ+0.00 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.120, MyZ+0.00 > < MyWidth,
-MyThickness/2-0.120, MyZ+0.00 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness-0.150,   MyZ+0.00 > < MyWidth,
-MyThickness-0.150,   MyZ+0.00 > 0.25, 1 }

 cylinder { < -MyWidth,  MyThickness+0.150,   MyZ+0.075 > < MyWidth,
MyThickness+0.150,   MyZ+0.075 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.120, MyZ+0.075 > < MyWidth,
MyThickness/2+0.120, MyZ+0.075 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.090, MyZ+0.075 > < MyWidth,
MyThickness/2+0.090, MyZ+0.075 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.060, MyZ+0.075 > < MyWidth,
MyThickness/2+0.060, MyZ+0.075 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.030, MyZ+0.075 > < MyWidth,
MyThickness/2+0.030, MyZ+0.075 > 0.25, 1 }
 cylinder { < -MyWidth,  0.00,                MyZ+0.075 > < MyWidth,
0.00,                MyZ+0.075 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.030, MyZ+0.075 > < MyWidth,
-MyThickness/2-0.030, MyZ+0.075 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.060, MyZ+0.075 > < MyWidth,
-MyThickness/2-0.060, MyZ+0.075 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.090, MyZ+0.075 > < MyWidth,
-MyThickness/2-0.090, MyZ+0.075 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.120, MyZ+0.075 > < MyWidth,
-MyThickness/2-0.120, MyZ+0.075 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness-0.150,   MyZ+0.075 > < MyWidth,
-MyThickness-0.150,   MyZ+0.075 > 0.25, 1 }

 cylinder { < -MyWidth,  MyThickness  , MyZ+0.15 > < MyWidth,
MyThickness  , MyZ+0.15 > 0.5, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.120, MyZ+0.15 > < MyWidth,
MyThickness/2+0.120, MyZ+0.15 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.090, MyZ+0.15 > < MyWidth,
MyThickness/2+0.090, MyZ+0.15 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.060, MyZ+0.15 > < MyWidth,
MyThickness/2+0.060, MyZ+0.15 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.030, MyZ+0.15 > < MyWidth,
MyThickness/2+0.030, MyZ+0.15 > 0.25, 1 }
 cylinder { < -MyWidth,  0.00,                MyZ+0.15 > < MyWidth,
0.00,                MyZ+0.15 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.030, MyZ+0.15 > < MyWidth,
-MyThickness/2-0.030, MyZ+0.15 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.060, MyZ+0.15 > < MyWidth,
-MyThickness/2-0.060, MyZ+0.15 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.090, MyZ+0.15 > < MyWidth,
-MyThickness/2-0.090, MyZ+0.15 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.120, MyZ+0.15 > < MyWidth,
-MyThickness/2-0.120, MyZ+0.15 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness  , MyZ+0.15 > < MyWidth,
-MyThickness  , MyZ+0.15 > 0.5, 1 }

 cylinder { < -MyWidth,  MyThickness  , MyZ+0.30 > < MyWidth,
MyThickness  , MyZ+0.30 > 0.5, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.120, MyZ+0.30 > < MyWidth,
MyThickness/2+0.120, MyZ+0.30 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.090, MyZ+0.30 > < MyWidth,
MyThickness/2+0.090, MyZ+0.30 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.060, MyZ+0.30 > < MyWidth,
MyThickness/2+0.060, MyZ+0.30 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.030, MyZ+0.30 > < MyWidth,
MyThickness/2+0.030, MyZ+0.30 > 0.25, 1 }
 cylinder { < -MyWidth,  0.00,                MyZ+0.30 > < MyWidth,
0.00,                MyZ+0.30 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.030, MyZ+0.30 > < MyWidth,
-MyThickness/2-0.030, MyZ+0.30 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.060, MyZ+0.30 > < MyWidth,
-MyThickness/2-0.060, MyZ+0.30 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.090, MyZ+0.30 > < MyWidth,
-MyThickness/2-0.090, MyZ+0.30 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.120, MyZ+0.30 > < MyWidth,
-MyThickness/2-0.120, MyZ+0.30 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness  , MyZ+0.30 > < MyWidth,
-MyThickness  , MyZ+0.30 > 0.5, 1 }

 cylinder { < -MyWidth,  MyThickness  , MyZ+0.45 > < MyWidth,
MyThickness  , MyZ+0.45 > 0.5, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.120, MyZ+0.45 > < MyWidth,
MyThickness/2+0.120, MyZ+0.45 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.090, MyZ+0.45 > < MyWidth,
MyThickness/2+0.090, MyZ+0.45 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.060, MyZ+0.45 > < MyWidth,
MyThickness/2+0.060, MyZ+0.45 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.030, MyZ+0.45 > < MyWidth,
MyThickness/2+0.030, MyZ+0.45 > 0.25, 1 }
 cylinder { < -MyWidth,  0.00,                MyZ+0.45 > < MyWidth,
0.00,                MyZ+0.45 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.030, MyZ+0.45 > < MyWidth,
-MyThickness/2-0.030, MyZ+0.45 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.060, MyZ+0.45 > < MyWidth,
-MyThickness/2-0.060, MyZ+0.45 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.090, MyZ+0.45 > < MyWidth,
-MyThickness/2-0.090, MyZ+0.45 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.120, MyZ+0.45 > < MyWidth,
-MyThickness/2-0.120, MyZ+0.45 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness  , MyZ+0.45 > < MyWidth,
-MyThickness  , MyZ+0.45 > 0.5, 1 }

 cylinder { < -MyWidth,  MyThickness  , MyZ+0.60 > < MyWidth,
MyThickness  , MyZ+0.60 > 0.5, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.120, MyZ+0.60 > < MyWidth,
MyThickness/2+0.120, MyZ+0.60 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.090, MyZ+0.60 > < MyWidth,
MyThickness/2+0.090, MyZ+0.60 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.060, MyZ+0.60 > < MyWidth,
MyThickness/2+0.060, MyZ+0.60 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.030, MyZ+0.60 > < MyWidth,
MyThickness/2+0.030, MyZ+0.60 > 0.25, 1 }
 cylinder { < -MyWidth,  0.00,                MyZ+0.60 > < MyWidth,
0.00,                MyZ+0.60 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.030, MyZ+0.60 > < MyWidth,
-MyThickness/2-0.030, MyZ+0.60 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.060, MyZ+0.60 > < MyWidth,
-MyThickness/2-0.060, MyZ+0.60 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.090, MyZ+0.60 > < MyWidth,
-MyThickness/2-0.090, MyZ+0.60 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.120, MyZ+0.60 > < MyWidth,
-MyThickness/2-0.120, MyZ+0.60 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness  , MyZ+0.60 > < MyWidth,
-MyThickness  , MyZ+0.60 > 0.5, 1 }

 cylinder { < -MyWidth,  MyThickness  , MyZ+0.75 > < MyWidth,
MyThickness  , MyZ+0.75 > 0.5, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.120, MyZ+0.75 > < MyWidth,
MyThickness/2+0.120, MyZ+0.75 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.090, MyZ+0.75 > < MyWidth,
MyThickness/2+0.090, MyZ+0.75 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.060, MyZ+0.75 > < MyWidth,
MyThickness/2+0.060, MyZ+0.75 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.030, MyZ+0.75 > < MyWidth,
MyThickness/2+0.030, MyZ+0.75 > 0.25, 1 }
 cylinder { < -MyWidth,  0.00,                MyZ+0.75 > < MyWidth,
0.00,                MyZ+0.75 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.030, MyZ+0.75 > < MyWidth,
-MyThickness/2-0.030, MyZ+0.75 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.060, MyZ+0.75 > < MyWidth,
-MyThickness/2-0.060, MyZ+0.75 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.090, MyZ+0.75 > < MyWidth,
-MyThickness/2-0.090, MyZ+0.75 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.120, MyZ+0.75 > < MyWidth,
-MyThickness/2-0.120, MyZ+0.75 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness  , MyZ+0.75 > < MyWidth,
-MyThickness  , MyZ+0.75 > 0.5, 1 }

 cylinder { < -MyWidth,  MyThickness+0.150,   MyZ+0.825 > < MyWidth,
MyThickness+0.150,   MyZ+0.825 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.120, MyZ+0.825 > < MyWidth,
MyThickness/2+0.120, MyZ+0.825 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.090, MyZ+0.825 > < MyWidth,
MyThickness/2+0.090, MyZ+0.825 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.060, MyZ+0.825 > < MyWidth,
MyThickness/2+0.060, MyZ+0.825 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.030, MyZ+0.825 > < MyWidth,
MyThickness/2+0.030, MyZ+0.825 > 0.25, 1 }
 cylinder { < -MyWidth,  0.00,                MyZ+0.825 > < MyWidth,
0.00,                MyZ+0.825 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.030, MyZ+0.825 > < MyWidth,
-MyThickness/2-0.030, MyZ+0.825 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.060, MyZ+0.825 > < MyWidth,
-MyThickness/2-0.060, MyZ+0.825 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.090, MyZ+0.825 > < MyWidth,
-MyThickness/2-0.090, MyZ+0.825 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.120, MyZ+0.825 > < MyWidth,
-MyThickness/2-0.120, MyZ+0.825 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness-0.150,   MyZ+0.825 > < MyWidth,
-MyThickness-0.150,   MyZ+0.825 > 0.25, 1 }

 cylinder { < -MyWidth,  MyThickness+0.150,   MyZ+0.90 > < MyWidth,
MyThickness+0.150,   MyZ+0.90 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.120, MyZ+0.90 > < MyWidth,
MyThickness/2+0.120, MyZ+0.90 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.090, MyZ+0.90 > < MyWidth,
MyThickness/2+0.090, MyZ+0.90 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.060, MyZ+0.90 > < MyWidth,
MyThickness/2+0.060, MyZ+0.90 > 0.25, 1 }
 cylinder { < -MyWidth,  MyThickness/2+0.030, MyZ+0.90 > < MyWidth,
MyThickness/2+0.030, MyZ+0.90 > 0.25, 1 }
 cylinder { < -MyWidth,  0.00,                MyZ+0.90 > < MyWidth,
0.00,                MyZ+0.90 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.030, MyZ+0.90 > < MyWidth,
-MyThickness/2-0.030, MyZ+0.90 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.060, MyZ+0.90 > < MyWidth,
-MyThickness/2-0.060, MyZ+0.90 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.090, MyZ+0.90 > < MyWidth,
-MyThickness/2-0.090, MyZ+0.90 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness/2-0.120, MyZ+0.90 > < MyWidth,
-MyThickness/2-0.120, MyZ+0.90 > 0.25, 1 }
 cylinder { < -MyWidth, -MyThickness-0.150,   MyZ+0.90 > < MyWidth,
-MyThickness-0.150,   MyZ+0.90 > 0.25, 1 }

 sphere { < 0.0, 0.0, 0.0 > 0.5, 1 scale < 1.00, 1.00, 0.5 > translate <
 MyWidth-0.2, 0.0, MyZ-0.25 > }
 sphere { < 0.0, 0.0, 0.0 > 0.5, 1 scale < 1.00, 1.00, 0.5 > translate <
-MyWidth+0.2, 0.0, MyZ-0.25 > }
 sphere { < 0.0, 0.0, 0.0 > 0.5, 1 scale < 1.25, 1.75, 2.5 > translate <
 MyWidth-0.3, 0.0, MyZ+0.9 > }
 sphere { < 0.0, 0.0, 0.0 > 0.5, 1 scale < 1.25, 1.75, 2.5 > translate <
-MyWidth+0.3, 0.0, MyZ+0.9 > }

 sphere { < 0.0, 0.0, 1.5 > 0.5, -4 } // Heckeinschnitt
 sphere { <  0.35,  0.25, MyZ+0.08 > 0.275, -1.5 }
 sphere { <  0.35, -0.25, MyZ+0.08 > 0.275, -1.5 }
 sphere { < -0.35,  0.25, MyZ+0.08 > 0.275, -1.5 }
 sphere { < -0.35, -0.25, MyZ+0.08 > 0.275, -1.5 }
 sphere { <  0.85,  0.25, MyZ+0.06 > 0.225, -1.75 }
 sphere { <  0.85, -0.25, MyZ+0.06 > 0.225, -1.75 }
 sphere { < -0.85,  0.25, MyZ+0.06 > 0.225, -1.75 }
 sphere { < -0.85, -0.25, MyZ+0.06 > 0.225, -1.75 }
 sphere { <  1.10,  0.23, MyZ-0.04 > 0.175, -1.50 }
 sphere { <  1.10, -0.23, MyZ-0.04 > 0.175, -1.50 }
 sphere { < -1.10,  0.23, MyZ-0.04 > 0.175, -1.50 }
 sphere { < -1.10, -0.23, MyZ-0.04 > 0.175, -1.50 }

 sturm 1.0
 texture { AntennaRed }
 scale 450.0
 translate < 0.0, 0.0, 250.0 >
}


Post a reply to this message

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