Hi Matt,

This topic has been covered a number of times of the last year, so
it'd be useful for you to visit the archives and do some background
reading on the topic.

I would also recommend using the last version of the OSG such as 2.9.6
or svn/trunk as this has some improvements to the way that texture
objects are handling when closing and re-opening graphics contexts.
This doesn't address all the issues, but the background reading will
hopefully point to the rest.

Robert.

On Wed, Jan 13, 2010 at 2:03 PM, Matthew Howell <[email protected]> wrote:
> Hi All,
>
> I am new to osg so I apologise if this is a simple question.
>
> We have put together an application that allows multiple views/cameras over a 
> common loaded Terra Vista terrain model. We would like be able to dynamically 
> create and kill off the views over this common loaded model.
>
> If we create the views first before allowing updates to the viewers they 
> display the terrain correctly. However if we dynamically create a second view 
> when the first is already accepting updates we lose textures on certain 
> terrain items, e.g. buildings appear as white boxes.
>
> I have tried forcing a model reload when a new view is created though this 
> didn't solve the problem.
>
> Also, I have just noticed that closing a view and re-opening that same view 
> causes buildings to appear as white blocks also.
>
> Can anyone please point me in the right direction?
>
> Cheers,
> Matt
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=22536#22536
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to