Hi Sukender,

On Sat, Dec 5, 2009 at 3:12 PM, Sukender <[email protected]> wrote:
> I experienced as some users before: I tried to rescale an image without a 
> valid rendering context... And had problems to unserstand what the 
> "GL_OUT_OF_MEMORY" meant! So I added a few comments for future users.

Thanks changes now merged and submitted to svn/trunk.

> BTW, do you think a context-free rescale function may be useful?

Yes very usuful.  A context-free and GLU free rescale function would
be great as it'll allow not only rescaling in plugins, but also enable
GLES and GL3 implementation to scale.

> I personally used a modified version of Mesa/SGI OpenGL implementation (which 
> is MIT-licenced and thus compatible with OSGPL). The only drawback is that 
> there is a lot of code and it looks more like a little library/plugin than a 
> 'normal' method.

How much code are we talking about?  Could we place a single gluScale
style function into include/osg/Image and then have the implementation
maintained in the src/osg/, here in the implementation it can safely
cover a couple of files.  This is the approach we've take for the
tristripper functionality.

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

Reply via email to