POV-Ray : Newsgroups : povray.newusers : a question about image map projection Server Time
26 Nov 2024 19:22:48 EST (-0500)
  a question about image map projection (Message 1 to 2 of 2)  
From: Uhu
Subject: a question about image map projection
Date: 16 Jan 2004 09:10:03
Message: <web.4007f092e0e38790999617420@news.povray.org>
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?


Post a reply to this message

From: nospam
Subject: Re: a question about image map projection
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.