On Mon, Jan 12, 2009 at 11:08 AM, Robert Osfield
<[email protected]>wrote:

> Hi Alessandro,
>
> The Extension structure is a per graphics context structure that can
> only be initialized from the thread that has the associated graphics
> context current.  Values such as the max texture size for each context
> as queried as stored in the extension structure on initialization of
> that structure, this typically happens when you call viewer.realize();
>

Thank you for this useful explanation.


>
> The DisplaySettings structure has a singleton which you typically will
> use to set global settings, but you can also assign a DisplaySettings
> object per per View as well in case you want different behaviour in a
> app with multiple views.
>

I wanted to try your last suggestion, but maybe I'm missing something,
because I could not find setMaxTextureSize(.) in osg::DisplaySettings class,
I looked in OSG's source v2.6.0 or v2.2.0.

Alessandro
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to