|
![](/i/fill.gif) |
In article <400c3aa6@news.povray.org>,
Warp <war### [at] tag povray org> writes:
> Wouter Verhelst <wou### [at] grep be> 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
|
![](/i/fill.gif) |