Hi Wojtek and Robert,

thanks for your replies.
I'll try the patch in the evening and let you know if it fixes the problem
on my side.

Robert, the restricion on the values 1, 2, 3 or 4 that you mention is
related to ES profile only, or even to openGL 3.x and 4.x ??
That might be an issue to address when reviewing the different plugins.

Cheers,
Ricky


On Fri, Apr 23, 2010 at 11:08, Wojciech Lewandowski
<[email protected]>wrote:

> Hi Ricardo,
>
> Current texture2DArray implementation does not handle loading and
> generation of mipmaps for compressed formats. If you can rebuild OSG you may
> try attached patch to Texture2DArray class. I intend to post it ultimately
> to submissions list, but lets say its in "alpha" version and I want to make
> one more review before posting and other tasks prevented me from doing it,
> yet. You may test it. There is a chance it will solve your problem.
>
> Cheers,
> Wojtek Lewandowski
>
>
>
> ----- Original Message ----- From: "Robert Osfield" <
> [email protected]>
> To: "OpenSceneGraph Users" <[email protected]>
> Sent: Friday, April 23, 2010 10:24 AM
> Subject: Re: [osg-users] texture2Darray issue with different image format
>
>
>
>  Hi Riccardo,
>>
>> On Fri, Apr 23, 2010 at 8:27 AM, Riccardo Corsi
>> <[email protected]> wrote:
>>
>>> as a follow-up I discovered that the limitation seems to depend on the
>>> "internalTextureFormat" of the images loaded.
>>> I succeded in fixing the TGA settings but not the DDS.
>>> Here the setting for the different image types as read from the plugins:
>>>
>>
>> I'm afraid I don't have an specific answers on this topic as I haven't
>> use texture arrays and compression, but the inconsistency in how the
>> internal texture format us used, i.e. something that works OK for
>> Texture2D doesn't work for Texture2DArray, makes me wonder if there is
>> either a bug in osg::Texture2DArray or with the OpenGL driver.
>>
>> As an aside one of the things I found with the GLES port was GLES was
>> a bit more picky about the internal format not being one of the 1,2,3
>> or 4 values that some of the plugins still use.
>>
>>
>> Robert.
>> _______________________________________________
>> 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
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to