Hi all,

I've been toying with the ffmpeg plugin and osg 2.9.5. As I was hoping, this is 
definitely a great improvement over the buggy xine plugin. I'm currently adding 
more playback controls, such as seek and pausing support. 

I did notice a surprising effect when using a regular (non-transparent) movie 
with a transparent StateSet. Apparently, the alpha value in the rgba texture 
remain at 0 by default, resulting in a fully transparent texture. It took me a 
while to figure this one out, but when I used a fragmentshader to override the 
alpha value, the movie becomes visible again. This behavior is not the case 
with regular images or when using xine.

Is this behavior by design, am I missing something or should we add code to 
correctly set the alpha value for non-transparent movies?

Cheers,
Gerwin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=15759#15759





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to