Re: [osg-users] probem in playing gif with osgdb_gif

2009-12-09 Thread Ren Liwei
Hi Martin, thank you for the advice.

But I have saved a simple gif file which has only two frames (dispaly a circle 
of red and blue) with the same configuration and it rendered well.
I used photoshop cs2.  What should I do to config the output as you discribed.

Thanks

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] probem in playing gif with osgdb_gif

2009-12-09 Thread Martin Scheffler
I'm sorry, I haven't used photoshop for years. You have to disable optimization 
or something.

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] probem in playing gif with osgdb_gif

2009-12-08 Thread Ren Liwei
Hi,  
   I have a gif animation which plays well in other pic viewer. But when I 
render it in osg with alpha blend on, I get the effect like this [Image: 
http://forum.openscenegraph.org/files/1_193.jpg ] . But when I turn off alpha 
blend, it gose well with the background color.
   And I also find that the first frame of this gif is rendered well like this 
[Image: http://forum.openscenegraph.org/files/2_103.jpg ].
   I think there is something wrong with the alpha value of the other frames of 
the gif file. But why? Is there anything to care when making a gif animation?


Thank you!

Cheers,
Ren[/img]

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




Attachments: 
http://forum.openscenegraph.org//files/2_103.jpg
http://forum.openscenegraph.org//files/1_193.jpg


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] probem in playing gif with osgdb_gif

2009-12-08 Thread Martin Scheffler
This looks like only the changes to the last animation frame are displayed. 
When you save a gif from Adobe ImageReady or similar programs, the frames of 
the gif only contain the changes from the last animation frame to reduce image 
size.  Maybe you can fiddle with the gif export settings so that full frames 
are saved.

Martin

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org