POV-Ray : Newsgroups : povray.newusers : Layered transparency : Re: Layered transparency Server Time
30 Jul 2024 16:16:49 EDT (-0400)
  Re: Layered transparency  
From: Wouter Verhelst
Date: 19 Jan 2004 20:00:15
Message: <m78ud1-1a2.ln1@worldmusic.grep.be>
In article <400c3aa6@news.povray.org>,
	Warp <war### [at] tagpovrayorg> writes:
> Wouter Verhelst <wou### [at] grepbe> wrote:
>> 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.
> 
>   That's not because there would be something wrong with using a png.
> It's because you defined your texture wrong.

Ah.

>   You should post a small (but complete, ie. renderable) piece of code
> demonstrating what you are doing.

Heh. Well, trying to reconstruct what I did with the .png file before
(I had since switched to a different setup using a .gif) didn't work.
Instead, I accidentally seem to have done the right thing; it now
nicely gives me the graffiti image on a background of a brick pattern,
which is what it should be doing.

I don't even remember how it was when it didn't work; but as it now
does what I want it to do, I'd say we can consider this issue
fixed. Thanks!

-- 
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.