> Hello all, and long time no see!
> 
> I am trying to create an osgText::Text object and call
> drawImplementation on it manually. I think it is almost working. Here
> is how I am setting up the RenderInfo that I am passing in:
> 
>          spState = new osg::State();
>          spViewState = spSceneView->getRenderInfo().getState();
>          if( spViewState.valid() )
>          {
>             spState->setGraphicsContext(
> spViewState->getGraphicsContext() );
>             spState->setContextID( spViewState->getContextID() );
>          }
>          renderInfo = osg::RenderInfo( spState.get(),
> spSceneView->getView() );
> 
> The problem is, that the textures are being lost. Can anyone help me
> to accomplish this without adding the osgText::Text to the sceneview's
> scene data?
> 
> 
> Much appreciated!
> John
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to