|
|
Wasn't it Paolo Gibellini who wrote:
>Hallo!
>Is possible in POV-Ray perform a topological transformation on the surface
>of a generical object in order to make it assuming the conformation of
>another generical object?
>For example, I have object A (e.g. a house) and I want to give it the
>conformation of another object (e.g. a cone).
>Thank you in advance,
I don't believe you can do it for general objects, but you can
theoretically morph any isosurface into any other isosurface.
#declare F1=function{F_House( ... )}
#declare F_Cone=function(x,y,z,a){x*x+z*z-y*y*a}
#declare F2=function{F_Cone( ... )}
isosurface {
function { (1-clock)*F1(x,y,z) + clock*F2(x,y,z) }
...
This technique sometimes causes the first shape to morph away to
nothing, and the second shape to morph into existence from nothing. It's
possible to use tricks to fix this for some cases, but there may not be
a universal solution.
Good luck trying to write the F_House function.
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|