Hi Art,

I have considered implemented Texture LOD controls in the OSG before,
but haven't actually had a direct need for them, so following the
extreme programming principle of only implemented what you need I have
left this one till there was a concrete need... looks like the time
has come :-)

I don't have scope for running off and implemented new features of the
OSG right now, so you'll need to wait till I have a lull in work, or
get coding yourself.  The choice for implementation is to either place
the additional controls into osg::Texture or to introduce a new
TextureLOD state attribute that wraps up these controls.   The later
is more flexible as you can then alter it independently from the
texture.

Robert.

On Jan 9, 2008 9:33 PM, Art Tevs <[EMAIL PROTECTED]> wrote:
> Hi, folks!
>
> I am wonder why the current implementation do not
> provide any method to specify GL_TEXTURE_MIN_LOD,
> GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, and
> GL_TEXTURE_MAX_LEVEL (it exists already since OpenGL
> v1.2)
>
> I need to change the base and max level parameters of
> a texture (maybe I do not really need this, but there
> are some bugs which disapears when I use this texture
> parameters).
> Would it be a good idea if I provide a
> patch which do implement this to the osg core? This
> would probably introduce at least 4 more variables in
> the osg::Texture class and couple of methods.
> Are there some objections against this?
>
>
> Best,
> Art
>
>
>
>       Heute schon einen Blick in die Zukunft von E-Mails wagen? 
> www.yahoo.de/mail
> _______________________________________________
> 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