|
|
> "Jim Charter"<jrc### [at] msncom> schreef in bericht
> news:4b5b0875$1@news.povray.org...
>>>
>> Beautiful effect, makes me think, a little, of soapstone carving. The
>> method gives an interesting insight also. Applying the shearing macro to
>> an iso-surface is something I would not have expected. Being a mere
>> mortal with maths, I would have guessed, rather, that you'd done the
>> shearing with the iso-surface function somehow.
>
> Yes indeed, and within the isosurface function, there is a shear code that
> can be used, I remember from my *ancient* geomorph macro. It is explained in
> the isosurface part of the docs iirc :)
>
> Thomas
>
>
Prety simple:
you just call the function like this:
My_function( x+y/2, y, z)
This will shear toward -x as y get larger.
You can do something like this:
My_function( x+(cos(y*3)+sin(z*2))*2, y, z-sin(y*3) )
and have your shape twists around.
Alain
Post a reply to this message
|
|