[solved] transparency on image

hi,

I know it is possible to add an image to a directFrame. But is it possible to apply a transparency coefficient or alpha channel (like for frameColor(r,g,b,A)?

Same question on a onScreenImage?

Thanks

Set the alpha scale of an OnscreenImage like this:

myImage = OnscreenImage(image="my_image.jpg", pos=(1,1,1), scale=.25, parent=aspect2d)
myImage.setTransparency(TransparencyAttrib.MAlpha)
myImage.setAlphaScale(.85)

Check this manual page for more info:
http://www.panda3d.org/manual/index.php/Common_State_Changes

Yeap, it is more clear in the manual than in the reference manual.

Thanks