jit.window transparency

Apr 29, 2013 at 4:06pm

jit.window transparency

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. –
#68008
Apr 29, 2013 at 10:16pm

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.

#244369
May 1, 2013 at 6:32pm

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
#244370

You must be logged in to reply to this topic.