|
|
this image is working sample what I'm working on
this is achived from such code:
#declare L=<2.0, 2.0, -5.0>;
camera { location L direction 1.5*z right 4/3*x look_at 0 }
light_source { <2,-2,-1.1> }
light_source { L color rgb 0.7 }
#declare Map=color_map{[0 color rgb 1][0.5 color rgb 0.5][1 color rgb
1]}
#declare Pigment=pigment{gradient y color_map{Map}}
#declare Texture=texture{pigment{Pigment} scale y/40}
deform
{
/* define type of deformation and base object */
turn box{-1 1 texture{Texture}}
/* define container */
contained_by { cylinder{ <0,-1,0> <0,1,0> 3 }}
/* optional parameters for all deformations */
accuracy 0.05
normal_accuracy 3, 0.01
normal_weighted
/* parameters proper for type of deformation */
full_after 8
}
ABX
Post a reply to this message
Attachments:
Download 'twist.jpg' (53 KB)
Preview of image 'twist.jpg'
|
|
|
|
Wlodzimierz ABX Skiba wrote:
>
> this image is working sample what I'm working on
> this is achived from such code:
> [...]
I must admit that i don't understand much of the code. I thought it would
be something like a displace warp for objects but it does look different.
Could you explain it a bit more detailed?
Christoph
--
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
|