I'm having similar issues while trying to display a png file with 
transparent background, maya turns it black(the background). Since the last 
post form this thread was in 2012, has there been any success with this?

Thanks!


On Sunday, September 2, 2012 at 11:36:32 AM UTC-7, Justin Israel wrote:
>
> I've seen other people post about this issue as well. I think maya uses 
> the window id to draw directly to the widget in OpenGL. So the solution 
> would probably involve drawing to it in a lower level way.
>
> The best I have thought about for now is having an event filter with a 
> widget just parented to the main window, that watches the viewport 
> resize/move/etc events and stays tacked on.
>
>
>
> On Sep 1, 2012, at 1:27 PM, Mike Malinowski (LIONHEAD) wrote:
>
> I was trying to do something similar ( drawing a non-square transparent bg 
> qt widget as a child of the viewport ) and hit exactly the same issue that 
> you describe. Sadly I never found a solution and couldn't spend masses of 
> time looking at it, so I can't really help but if you do find a solution 
> I'd certainly like to hear it!
>
>
> From: vux <[email protected] <javascript:>>
> Reply-To: "[email protected] <javascript:>" <
> [email protected] <javascript:>>
> Date: Saturday, 1 September 2012 10:41
> To: "[email protected] <javascript:>" <
> [email protected] <javascript:>>
> Subject: [Maya-Python] Re: Transparent QWidget on Viewport
>
> I need for example QLabel with text but without background on viewport. I 
> meen that widget is child of viewport. My attempts were unsuccessful.
> The background allways fill with noise of older refreshes of viewport :(
>
> пятница, 31 августа 2012 г., 22:54:27 UTC+3 пользователь vux написал: 
>>
>> Is it posible to draw qwidget with transparent background above maya 3d 
>> viewport?
>>
>>
> -- 
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings: 
> http://groups.google.com/group/python_inside_maya/subscribe
>
> -- 
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings: 
> http://groups.google.com/group/python_inside_maya/subscribe
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/8127ce91-bca9-443e-bd44-907bbc4ec645%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to