|
|
Hi,
I have a (red) cylinder, and want to add - with smooth transitions - a
number of (purple) cylinders at its end. But my understanding of the
blob object is not very good, and so i simply don't succeed.
Please see below the code as it exists now, after endless attempts.
--------------------------------------
#declare MyStrength = 2.00;
#declare MyDiameter = 150.0;
blob
{
threshold 1.65
cylinder { < -62.5, 0.0, 0.0 > < 62.5, 0.0, 0.0 > 500.0, 2.75 pigment {
rgb < 1, 0, 0 > } scale < 0.025, 2.105, 2.105 > translate < -60.0, 0.0,
0.0 > }
cylinder { < -62.5, 0.0, 0.0 > < 62.5, 0.0, 0.0 > 500.0, 2.75 pigment {
rgb < 1, 0, 0 > } scale < 0.025, 2.105, 2.105 > translate < 60.0, 0.0,
0.0 > }
cylinder { < -700.0, 100.0, 250.0 > < 700.0, 100.0, 250.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } scale < 10.0, 1.0,
1.0 > }
cylinder { < -700.0, 050.0, 250.0 > < 700.0, 050.0, 250.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, 000.0, 250.0 > < 700.0, 000.0, 250.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, -050.0, 250.0 > < 700.0, -050.0, 250.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, -100.0, 250.0 > < 700.0, -100.0, 250.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, 100.0, 300.0 > < 700.0, 100.0, 300.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, 050.0, 300.0 > < 700.0, 050.0, 300.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, 000.0, 300.0 > < 700.0, 000.0, 300.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, -050.0, 300.0 > < 700.0, -050.0, 300.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, -100.0, 300.0 > < 700.0, -100.0, 300.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, 100.0, 350.0 > < 700.0, 100.0, 350.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, 050.0, 350.0 > < 700.0, 050.0, 350.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, 000.0, 350.0 > < 700.0, 000.0, 350.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, -050.0, 350.0 > < 700.0, -050.0, 350.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, -100.0, 350.0 > < 700.0, -100.0, 350.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, 100.0, 400.0 > < 700.0, 100.0, 400.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, 050.0, 400.0 > < 700.0, 050.0, 400.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, 000.0, 400.0 > < 700.0, 000.0, 400.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, -050.0, 400.0 > < 700.0, -050.0, 400.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, -100.0, 400.0 > < 700.0, -100.0, 400.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, 100.0, 450.0 > < 700.0, 100.0, 450.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, 050.0, 450.0 > < 700.0, 050.0, 450.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, 000.0, 450.0 > < 700.0, 000.0, 450.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, -050.0, 450.0 > < 700.0, -050.0, 450.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
cylinder { < -700.0, -100.0, 450.0 > < 700.0, -100.0, 450.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
}
cylinder { < -62.5, 0.0, 0.0 > < 62.5, 0.0, 0.0 > 500.0 pigment { rgbf <
1, 0, 0,0.5 > } }
--------------------------------------
Can you give me advises, how to create a smoother transition between the
purple and red cylinders? Thanks a lot.
Post a reply to this message
|
|