jit.window transparency

cansuerd's icon

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?

Max Patch
Copy patch and select New From Clipboard in Max.

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

Rob Ramirez's icon

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.

cansuerd's icon

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

5526.2png
2png
Gary Lee Nelson's icon

I put this in my videoplane. Still no go. I used this in 2006 (before I knew about opengl)

This worked in...

yaniki's icon

GL domain works a bit different:

Max Patch
Copy patch and select New From Clipboard in Max.