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:
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
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
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
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
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
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
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
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
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
10 matches
Mail list logo