[osg-users] Vapsxt instrument insert into Osg?
Sebastian Messerschmidt
sebastian.messerschmidt at gmx.de
Mon Mar 21 02:07:17 PDT 2016
Hi Zhangfa,
I don't know the specific product, but usually you can wrap the "draw"
of the 3rd-party into an custom drawable and use the drawImplementation
to execute the libraries code.
Set
setUseVertexBufferObjects(false);
setUseDisplayList(false);
Also you should structure your call like this:
renderInfo.getState()->disableAllVertexArrays();
--YOUR CODE
renderInfo.getState()->dirtyAllVertexArrays();
Cheers
Sebastian
> Hi,
> How to insert instrument(or HUD) developed by vapsxt into OSG?
>
> Thank you!
>
> Cheers,
> Zhangfa
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=66571#66571
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
More information about the osg-users
mailing list