|
|
hello all!
when i went on with my test-scene, i thought that a picture on the wall
would look nice. so i made a picture, a nail and a string and put it
together.
but the string looks ugly. i took a sine curve and sticked a lot of blobs
on it. but to hang it on a nail the curve radius is too wide.
the last i remember on mathem is a big red pillow on my table.
so is there anybody who may tell me how to sharpen only the curve of my
sine?
the code of my string:
------------------------------
//sinus
#declare kurve=
union{
#declare anx = -0.4; //start point
#declare bnx = anx; //last point
#declare cu_rad = 0.02; //radius of spheres
#while (anx <= 3)
blob{
threshold 0.8
sphere {
<0.2*anx,0.5*sin (anx),0>,cu_rad, 1
pigment{ Gray}
}//sphere
sphere {
<0.2*bnx,0.5*sin (bnx),0>,cu_rad, 1
pigment{ Gray}
}//sphere
}//blob
#declare bnx = anx;
#declare anx = anx + cu_rad;
#end
}//union kurve
object {kurve
scale 0.5
}
------------------------------
thanks.
Post a reply to this message
|
|