Transparency in jit.pwindow
Im creating a basic driving element to a max patch.
I have a still image of a truck that i want to rotate using player controls.
For now i am running this picture through a jit.qt.movie>Jit.rota>jit.pwindow
The rotation works fine, but my problem is that i want to image to have a transparent background.
The image is a png with a transparent background (alpha is yes) when loaded in preview, but when displayed in the pwindow, there is a black background, which is completely undesirable.
This pwindow is overlayed onto a fpic of my background area for driving around.
I have been able to use fpic to create a transparent background, but i don’t think that fpic allows for rotation of the image, well i haven’t been able to find a way.
I have looked around on the forums, there are a few similar topics to this, but i haven’t been able to sort my problem out.
Anyway my questions are;
How do i make the background colour of a jit.pwindow transparent?
Is there a different type of window where i can display a transparent picture, and still rotate it?
Or, Is there a better way of me overlaying two images, one which can rotate, and the other which can displace?
Bellow is the text for an extraction of my patch.
[ mod - removed patch - please use copy compressed ]
please copy compressed your patch
Woah, sorry for anyone reading all that. I have figured out a way around it, using a jpict and a large file showing all rotations of the truck. I have then just moved the image around to show the correct rotation in the active window.
I’m dumping this topic because Aidenfry solved his issue by changing his approach.
However, I’m wondering if it’s even possible to keep the alpha channel of a pwindow in order to see the objects under it.
jit.pwindow does not support transparency.
However, if it’s only simple drawing / text that you’d like to lay over the top of the Max GUI, you can use the [lcd] object with transparent background.