Hi Yun-Ta,

Have you disabled display list with setUseDisplayList(false)?
Otherwise the drawImplementation() method will be called only once to
create the display list. And the latter will be actually used for
rendering every frame.

Cheers,

Wang Rui


2010/8/25, Yun-Ta Tsai <bbns.t...@gmail.com>:
> Hi,
>
> I have tried to implement fade quad following the code of osgText::FadeText.
> However, I found my drawImplementation not being called every frame. The
> code is almost identical except using osg::Geometry instead of osg::Text.
>
> Code is attached. Would anyone please give me some light?
>
> Thank you! :-)
>
> Cheers,
> Yun-Ta
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=31021#31021
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/fadequad_168.h
> http://forum.openscenegraph.org//files/fadequad_127.cpp
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to