Re: [osg-users] NPOT textures on iOS (GLES 1.x)

2013-04-09 Thread Alessandro Terenzi
Hi Stephan, thank you for your help, it works indeed...I've tried with a new clean project and everything went fine (maybe there was something wrong in the app/project I was originally trying it with). Cheers. Alessandro -- Read this topic online here:

Re: [osg-users] NPOT textures on iOS (GLES 1.x)

2013-04-08 Thread Stephan Huber
Hi Alessandro, OpenSceneGraph has support for the GL_APPLE_texture_2D_limited_npot-extension, make sure to get the texture-parameters right. Be sure to set the min and mag-filter to GL_NEAREST. I can't test it right now, but I had it working in the past. cheers, Stephan Am 06.04.13

[osg-users] NPOT textures on iOS (GLES 1.x)

2013-04-06 Thread Alessandro Terenzi
As far as I know, if we want to use NPOT textures on iOS (specifically using GLES 1.x APIs) we have to use a subload callback. No problem with this, but I've also found that many developers suggest to use a specific extension created by Apple itself that should allow the usage of such textures

Re: [osg-users] NPOT Textures

2008-07-09 Thread Robert Osfield
To: OpenSceneGraph Users Subject: Re: [osg-users] NPOT Textures Hi Paul, On Mon, Jul 7, 2008 at 1:15 PM, [EMAIL PROTECTED] wrote: If my hardware supports NPOT textures, how do I turn off resizeNonPowerOfTwo when loading an OpenFlight file? I don't see an easy way to do this.. Using

Re: [osg-users] NPOT Textures

2008-07-09 Thread Garrett Potts
Osfield Sent: Monday, July 07, 2008 6:50 AM To: OpenSceneGraph Users Subject: Re: [osg-users] NPOT Textures Hi Paul, On Mon, Jul 7, 2008 at 1:15 PM, [EMAIL PROTECTED] wrote: If my hardware supports NPOT textures, how do I turn off resizeNonPowerOfTwo when loading an OpenFlight file? I don't see

Re: [osg-users] NPOT Textures

2008-07-08 Thread Jim Vaughan
and rescaled as the model is loaded? Thanks, Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Monday, July 07, 2008 6:50 AM To: OpenSceneGraph Users Subject: Re: [osg-users] NPOT Textures Hi Paul, On Mon, Jul 7, 2008 at 1:15 PM

[osg-users] NPOT Textures

2008-07-07 Thread paul1492
If my hardware supports NPOT textures, how do I turn off resizeNonPowerOfTwo when loading an OpenFlight file? I don't see an easy way to do this.. Paul P. ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] NPOT Textures

2008-07-07 Thread Gerrick Bivins
Hi Paul, Take a look at osgtexturerectangle. It uses osg::TextureRectangle which sounds like the class you'd use. biv On 7/7/08 7:15 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: If my hardware supports NPOT textures, how do I turn off resizeNonPowerOfTwo when loading an OpenFlight file? I

Re: [osg-users] NPOT Textures

2008-07-07 Thread Robert Osfield
Hi Paul, On Mon, Jul 7, 2008 at 1:15 PM, [EMAIL PROTECTED] wrote: If my hardware supports NPOT textures, how do I turn off resizeNonPowerOfTwo when loading an OpenFlight file? I don't see an easy way to do this.. Using NPOT textures is only sensible to on hardware that genuinely supports

[osg-users] NPOT textures - comments

2008-06-21 Thread sherman wilcox
In the olden days when I'd have a texture that wasn't power of 2 I'd use a POT (power of two) texture, update the parts of the texture that I was interested in and fix-up the texture coordinates accordingly. Nowadays I'm more inclined to use NPOT (non-power of two) or texture rectangles. Problem