POV-Ray : Newsgroups : povray.newusers : Layered transparency : Layered transparency Server Time
30 Jul 2024 16:18:22 EDT (-0400)
  Layered transparency  
From: Wouter Verhelst
Date: 19 Jan 2004 14:28:58
Message: <fontd1-bqa.ln1@worldmusic.grep.be>
Hi,

I'm trying to create a wall with a graffiti image on it. To that
end, I downloaded a grafitti image from a website, converted it to a
.png, made some part of it transparent, and layered it over a brick
pattern. That didn't work, however; the transparent pixels in the .png
caused the brick pattern to become transparent as well.

Thus, I converted the .png to a .gif, and would want to use the
transmit bitmap modifier to get the desired effect, but I can't seem
to guess the right color number, and I'm reluctant to try all 256
possibilities; I'm not even sure whether what I'm doing is the right
way.

Could any kind soul tell me what the best way to layer a
partially-transparent image map over a patterned pigment is? And if
I'm doing the best possible thing with those "transmit" modifiers, how
I can efficiently determine the right color index to make it work?

TIA,

-- 
Wouter Verhelst
Debian GNU/Linux -- http://www.debian.org
Nederlandstalige Linux-documentatie -- http://nl.linux.org
"Stop breathing down my neck." "My breathing is merely a simulation."
"So is my neck, stop it anyway!"
  -- Voyager's EMH versus the Prometheus' EMH, stardate 51462.


Post a reply to this message

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