POV-Ray : Newsgroups : povray.newusers : image_map > solid object : Re: image_map > solid object Server Time
28 Apr 2024 13:03:13 EDT (-0400)
  Re: image_map > solid object  
From: Kenneth
Date: 3 May 2016 22:35:01
Message: <web.57295e912da27c2333c457550@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 03.05.2016 um 15:41 schrieb Stephen:
>
> > I would use CSG. The way I would try it is to use heightfields.
>
> Height fields are pretty lame for this purpose, as they would create
> very jagged sides.

That's generally true; but if your artwork is very 'clean' with sharp edges, a
height_field might work, as the HF's sides would be completely vertical. Not
perfect though, I admit, as the triangles on the sides can still be somewhat
visible, and not perfectly smooth.

Some years ago, I used *media* to try to get this effect (a method that Clipka
already mentioned.) The results were reasonably good (depending on how DENSE I
could make the scattering media.) But the code for doing it was quite complex--
involving the image's three RBG colors first being converted into three separate
functions...

If I can find my old POV-Ray file and/or image, I'll post it, to give you an
idea of what it looks like.


Post a reply to this message

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