POV-Ray : Newsgroups : povray.general : Feature request : Re: Feature request Server Time
12 Aug 2024 07:26:08 EDT (-0400)
  Re: Feature request  
From: Lance Birch
Date: 12 Mar 1999 00:49:39
Message: <36e8aaf3.0@news.povray.org>
No, displacement mapping is the same as a bump map only it actually bends
the object's surface (the Isosurface patch can do this).

In respect to having the texture erode the object however, this is quite
complex.

Basically what it would mean is the the renderer would have to (when it hit
the texture with the erode keyword on whatever colour you've chosen) keep
tracing the path until it hit an area of a different colour (determine the
colour of each point through the object).  The problem with this is, while
it being very slow, it also has to have a way to determine if it's actually
hit the colour boundary... for instance, you could have an erode fade to a
solid colour, in which case the renderer would have to do a huge amount of
work!!!  Also, it then has to determine a surface normal for this newly
found point of colour which would be nearly impossible!

So basically, it's not possible by using a texture.  The only real way I
could see is to use the Isosurface patch to recreate the colour pattern as
an object and then difference this from the object which you want to erode.

--
Lance.


---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone


Post a reply to this message

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