|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In my animation I need to show an image which is transparent and very few
visible in the beginning, and gradually becomes less transparent brighter. I've
tried with the 'filter' and 'transmit' keywords, but I haven't the result I
expect; with filter 1 the image is too much visible, and I want it to appear
gradually.
I know that the .png images can have the information about transparency , that
is I can decide how many transparent can be a determinate color, but when I use
this image as image_map texture, Pov-Ray tells me that I can't do it, because
the image isn't a mapped image. The .gif image is too low resolution color.
For my animation I thought to use the same image with different brightness and
transparency, but for the reasons above described, I can't do.
Has someone suggest me how can I do?
Thanks
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Giuela" <mgi### [at] selex-sicom> wrote:
> In my animation I need to show an image which is transparent and very few
> visible in the beginning, and gradually becomes less transparent brighter. I've
> tried with the 'filter' and 'transmit' keywords, but I haven't the result I
> expect; with filter 1 the image is too much visible, and I want it to appear
> gradually.
>
> I know that the .png images can have the information about transparency , that
> is I can decide how many transparent can be a determinate color, but when I use
> this image as image_map texture, Pov-Ray tells me that I can't do it, because
> the image isn't a mapped image. The .gif image is too low resolution color.
>
> For my animation I thought to use the same image with different brightness and
> transparency, but for the reasons above described, I can't do.
>
> Has someone suggest me how can I do?
>
> Thanks
Use transmit all in the image map, e.g.:
#declare TRANS_AMT = 0.5;
plane { z, 0
pigment {
image_map { jpeg "myfile.jpg" once transmit all TRANS_AMT }
translate -0.5
scale x*1600/1200 // set apect ratio: image width/image height
}
finish { ambient 1 emission 1 diffuse 0 }
}
----------------------------------------------------------
www.McGregorFineArt.com
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Giuela wrote:
> In my animation I need to show an image which is transparent and very few
> visible in the beginning, and gradually becomes less transparent brighter. I've
> tried with the 'filter' and 'transmit' keywords, but I haven't the result I
> expect; with filter 1 the image is too much visible, and I want it to appear
> gradually.
>
> I know that the .png images can have the information about transparency , that
> is I can decide how many transparent can be a determinate color, but when I use
> this image as image_map texture, Pov-Ray tells me that I can't do it, because
> the image isn't a mapped image. The .gif image is too low resolution color.
>
> For my animation I thought to use the same image with different brightness and
> transparency, but for the reasons above described, I can't do.
>
> Has someone suggest me how can I do?
>
> Thanks
>
What I've done is have two set of images one of the animation and one of
a still.
Then use average the two pigments per frame. I have a whole system on my
web site http://leroywhetstone.s5.com/PovINC/LRfader.zip
Hope this helps!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Giuela" <mgi### [at] selex-sicom> wrote:
> In my animation I need to show an image which is transparent and very few
> visible in the beginning, and gradually becomes less transparent brighter. I've
> tried with the 'filter' and 'transmit' keywords, but I haven't the result I
> expect; with filter 1 the image is too much visible, and I want it to appear
> gradually.
>
> I know that the .png images can have the information about transparency , that
> is I can decide how many transparent can be a determinate color, but when I use
> this image as image_map texture, Pov-Ray tells me that I can't do it, because
> the image isn't a mapped image. The .gif image is too low resolution color.
>
> For my animation I thought to use the same image with different brightness and
> transparency, but for the reasons above described, I can't do.
>
> Has someone suggest me how can I do?
>
> Thanks
Add clock to transmit 0.
transmit 0+clock
It could be done more simply with
transmit clock
which simply uses clock as the transmit value. In this case transmit goes from 0
to 1, fading the material out. Subtracting clock from transmit would probably
fade it in.
transmit 1-clock
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|