Forums > Jitter

jit.window transparency

April 29, 2013 | 4:06 pm

Hello,

I try to work a png sequence as a texture on a mesh, and play this in front of a background image.
I have put a background image but I can not manage to make my png sequence look transparent on it. (png sequence is the rectangle going left and right). A black rectangle always appears. I saved my pngs transparent in photoshop.

Does anyone have any ideas about why this happens and how can i solve it? Is it because the jit window cannot be made transparent? Do i need to use other jit gl objects?

I’d really appreciate any help about this issue.
Thanks in advance.
Cansu

– Pasted Max Patch, click to expand. –

April 29, 2013 | 10:16 pm

on the gl objects you wish to make transparent, set @blend_enable 1 @depth_enable 0, and control the drawing order with the @layer attribute.
please search the forum before posting, this has been answered many times.


May 1, 2013 | 6:32 pm

I have checked the forum before but still I couldn't solve my problem. Sorry if I am missing something.
I tried to do what you've said, it doesn't work. When i do it, it doesnt show my texture on it and it is not transparent. I am sending the screen shots of how it looks. Am i doing something wrong?

Thanks a lot.
Cansu

[attachment=222548,5525] [attachment=222548,5526]

Attachments:
  1. 2png

Viewing 3 posts - 1 through 3 (of 3 total)