POV-Ray : Newsgroups : povray.general : Height field as displacement map? : Re: Height field as displacement map? Server Time
19 Nov 2024 05:44:43 EST (-0500)
  Re: Height field as displacement map?  
From: Hugo
Date: 29 Apr 2002 03:53:40
Message: <3cccfc04@news.povray.org>
> I am wondering something about the heightfield in POV-Ray 3.5. Is there a
> way to use a height field as a displacement map? That would require the
> height field to wrap an object using the object's UV coordinates just like
> an image map.

I suppose you mean *real* surface displacement - they're easier to fake. But
with an isosurface you can apply a displacement map to any shape. The tricky
thing will be UV mapping. Isosurfaces don't have UV coordinates. The only
other approch I can think of, is to tesselate an object (the tesselation
patch will soon be released). After this you have a grid of points that
follows the original objects shape.. And then it's easy to wrap a
heightfield around those points - with UV mapping included.

So for now, it's not easily going to work.. Unless UV are not so important
to you, then isosurfaces is the answer.

Regards,
Hugo


Post a reply to this message

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