Hi John,

On 9/15/07, John Steinbis <[EMAIL PROTECTED]> wrote:
> Thanks Robert,
> I have this working now without rescaling the image. My solution was
> to pad the image with zeros making it a power of two and then specify
> the correct percentage of the image to use as 2D texture. Not sure if
> this is the best solution but it works and is fast enough for me.

This is not an elegant way to tackle the problem, workable yes, but
I'd recommend spending a little time - readying up about
TextureRectangle or just disabling the resize of non power of two
textures, you'll end up with a more efficient and elegant solution.

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

Reply via email to