POV-Ray : Newsgroups : povray.general : Deformers/displacement? Server Time
20 Nov 2024 10:38:57 EST (-0500)
  Deformers/displacement? (Message 1 to 3 of 3)  
From: Jordan
Subject: Deformers/displacement?
Date: 31 Aug 2001 23:13:51
Message: <Xns910ECE7514772hookflashhotmailcom@204.213.191.226>
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

From: Warp
Subject: Re: Deformers/displacement?
Date: 1 Sep 2001 20:45:37
Message: <3b918130@news.povray.org>
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

From: Anoop Kumar
Subject: Re: Deformers/displacement?
Date: 2 Sep 2001 09:19:14
Message: <3b9231d2@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.