POV-Ray : Newsgroups : povray.newusers : a question about image map projection : Re: a question about image map projection Server Time
30 Jul 2024 16:26:26 EDT (-0400)
  Re: a question about image map projection  
From: nospam
Date: 16 Jan 2004 19:55:10
Message: <400886ef.18626532@localhost>
On Fri, 16 Jan 2004 09:09:22 EST, "Uhu" <Rea### [at] gmxnet> wrote:

>is there a way to prevent an image map from re-appearing mirrored on the
>opposite side of an object? a work-around i used up to now is to create a
>copy of the actual object, put the image map on it and position it at the
>same coordinates with a slight offset. this seems to me a rather awkward
>way, though, and often it doesn't work if the surface is complicated. so,
>is there a better way to do this?
>


Define one pigment that is your image map.  Define a
second pigment to be the back side of your shape.
Now make a pigment that is a front-to-back gradient
with a pigment_map from your image pigment to your
second pigment.

Tha will work for simple objects (IE, the "front" is
flat).  UV-mapping will work for more complicated
(mesh, most likely) objects.


Post a reply to this message

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