POV-Ray : Newsgroups : povray.newusers : image map placement problem : Re: image map placement problem Server Time
4 Nov 2024 17:37:00 EST (-0500)
  Re: image map placement problem  
From: Christopher James Huff
Date: 9 Jun 2003 18:32:23
Message: <cjameshuff-7735E2.17235109062003@netplex.aussie.org>
In article <3edcbc0d$1@news.povray.org>,
 "Bob Frew" <rob### [at] ntlworldcom> wrote:

> How do I map an image onto an object so that it only appears once and is not
> visible on the other side of the object.

You could use the object pattern:

texture {
    object {ImageAreaObject MainTexture, ImageTexture}
}
Where ImageAreaObject is an object that contains the area you want the 
image map on, ImageTexture is the image_map texture itself, and 
MainTexture is whatever you want the rest of the texture to be.


> e.g. for a face.

Ah...for that, you probably want UV mapping. A simple explanation is 
that it is a way to wrap the texture onto the surface of the object.
http://povray.org/documentation/view/191/

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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