POV-Ray : Newsgroups : povray.general : Blasted infernal image maps III : Re: Blasted infernal image maps III Server Time
9 Aug 2024 03:25:03 EDT (-0400)
  Re: Blasted infernal image maps III  
From: Chris Huff
Date: 21 Aug 2000 11:25:23
Message: <chrishuff-BFFD82.10264321082000@news.povray.org>
In article <39A12C03.67836EED@my-dejanews.com>, 
gre### [at] my-dejanewscom wrote:

> I want a mesh object to have a texture, say
>     #declare Texture001= .........................
> 
> And then to have an image map applied as a decal in one small place on
> it. (Application: a serial number on a military object).

One way: use a pigment_map to constrain the image_map to the area of the 
decal, scale/translate/rotate the image_map to fit, and leave the rest a 
transparent texture. Make this a texture layer on your object.


> Simply puting an image map ontop of or after the texture declaration
> makes the whole object transparent!

Did you put the image_map in it's own texture{...} block? Otherwise, I 
think you are just modifying the original texture, not creating a new 
one and layering it onto the object.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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