Hi Robert.

Currently I am also overloaded. I was asked to help
out with the upcoming Siggraph paper deadline to
create an animation (of course with osg again ;-) ) 

I thought also in that direction, either to implement
this as additional feature in the Texture class or as
some extra StateAttribute. StateAttribute would be
also my choice. However currently I do not have a real
idea of how to make sure that this StateAttribute
TextureLOD 
 is executed exactly after the according texture unit
was bound. But, I think, I can find it in TexEnv or
TexEnvCombine classes.

Since I am the one who only need that functionality, I
will implement them bymyself, if you are agreed with
that.


Cheers,
Art

> 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
> 



      Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel 
mehr bietet das neue Yahoo! Mail - www.yahoo.de/mail
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to