|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi,
I'm pretty new with textures...
I have a PNG image that is composed of white shapes on transparent background...
and the white fades to transparent...
Now, can I put this PNG and use its alpha channel in povray for transparency?
I tried "transmit all 1" and "filter all 1", didn't work... maybe I'm not using
it correctly?...
Please help!
Thanks,
Simon
--
+-------------------------+----------------------------------+
| Simon Lemieux | Website : http://www.666Mhz.net |
| Email : Sin### [at] 666Mhznet | POV-Ray, OpenGL, C++ and more... |
+-------------------------+----------------------------------+
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Simon Lemieux wrote:
> Now, can I put this PNG and use its alpha channel in povray for transparency?
> I tried "transmit all 1" and "filter all 1", didn't work... maybe I'm not using
> it correctly?...
Simon, if I understand correctly, you can only use transparency with a
paleted color graphic. Filter all and transmit all make /all/ of the
colors in your graphic transparent or translucent.
You need to use a graphics program such as draw or paintshop to convert
the image coloring scheme to paletted, determine which palette number
the color you want not to appear is, and set /that/ to transmit.
--
Dawn McKnight | "Who cares what the hipbone's connected to? I'm in Neurology!"
McK### [at] maccom | -- Justine Devlin, M.D.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Simon Lemieux" wrote:
> I have a PNG image that is composed of white shapes on
> transparent background... and the white fades to transparent...
>
> Now, can I put this PNG and use its alpha channel in povray
> for transparency? I tried "transmit all 1" and "filter all 1",
> didn't work... maybe I'm not using it correctly?...
If I recall correctly, POV-Ray always use the alpha channel if present. You
shouldn't use transmit all 1 or filter all 1, since those keywords are
related to images with palettes only.
Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated October 9)
/ Also visit http://www.povrayusers.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> If I recall correctly, POV-Ray always use the alpha channel if present. You
> shouldn't use transmit all 1 or filter all 1, since those keywords are
> related to images with palettes only.
Yes it's true... it wasn't working but then I got the keywords out and there it
worked!
Thanks,
Simon
--
+-------------------------+----------------------------------+
| Simon Lemieux | Website : http://www.666Mhz.net |
| Email : Sin### [at] 666Mhznet | POV-Ray, OpenGL, C++ and more... |
+-------------------------+----------------------------------+
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|