POV-Ray : Newsgroups : povray.newusers : image_map > solid object : Re: image_map > solid object Server Time
15 Jul 2024 19:59:31 EDT (-0400)
  Re: image_map > solid object  
From: clipka
Date: 3 May 2016 08:56:54
Message: <5728a016$1@news.povray.org>
Am 03.05.2016 um 13:54 schrieb Paul:

> The result image looks like 2 very thin sheets, just surfaces (left side, see
> attachment below).
> I need a solid object, the 2 surfaces joined - the transparent yellow things on
> the right side.
> Of course, the "joining" part should be same color (green, red) and not
> transparent - that is just for demonstration purposes.

That's not an easy thing to do. You might be able to transform the image
into a function (using a so-called "function pattern"), and from that
generate an isosurface object, but that's tricky and might suffer from
artifacts.

You might be better off trying to approximate the shape with a spline
curve (bezier splines are the easiest to tame), and use three "prism"
objects.

Alternatively you can use CSG, but that'll require a bit of puzzling how
to best achieve the desired shape with intersections, differences and
unions, and it may also render slower. On the other hand, if the curved
sections are supposed to be circular arcs, it'll be more exact than what
you can achieve with splines (they can't give you exact circles).


Post a reply to this message

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