|
|
Are there plans to implement surface deformation or *real* surface
displacement in povray, or would this be too difficult with parametric
surfaces? If so, will it be implemented for meshes? I just think it would
be a neat addition, and I'll bet someone really smart with strong math
skills (ie, not me;-) could even write some clever macros for easy
deformation/displacement/blobbing of primitives using iso surfaces. Is
this possible?
Jordan
Post a reply to this message
|
|
|
|
Jordan <hookflash@hot(spamless)mail.com> wrote:
: Are there plans to implement surface deformation or *real* surface
: displacement in povray, or would this be too difficult with parametric
: surfaces?
AFAIK a real non-linear surface deformation which works with all possible
primitives is way too difficult to implement in raytracing.
Currently you can only do them to isosurfaces. You can also make an
approximation with meshes (by moving the vertices).
: If so, will it be implemented for meshes?
You can use the PCM macros for this:
http://www.geocities.com/ccolefax/pcm.html
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
|
|
|
Hi Jordan,
Warp wrote in message <3b918130@news.povray.org>...
> You can use the PCM macros for this:
>http://www.geocities.com/ccolefax/pcm.html
Perhaps you could try this, too:
http://www.flash.net/~drsledge/manual/mnindex.htm
Don't really know if it will help though: have not really tried it.
Hope this helps,
-Anoop
Post a reply to this message
|
|