Hi Hartwig,
On 10 October 2011 10:56, Robert Osfield wrote:
> Once you are happy with your solution could please post the full
> source code files that you've changed to osg-submissions.
Could you send me the complete files that you have modified so I can
review them? I don't attempt to merge s
Hi Hartwig,
Once you are happy with your solution could please post the full
source code files that you've changed to osg-submissions.
Thanks,
Robert.
On Sat, Oct 8, 2011 at 11:50 AM, Hartwig Wiesmann
wrote:
> Hi,
>
> this is my patch for Texture::computeInternalFormatWithImage(...) replacing
Hi,
this is my patch for Texture::computeInternalFormatWithImage(...) replacing
lines 1435 - 1442:
Code:
// GLES doesn't cope with some internal OpenGL formats so map them to the
appropriate equivalents.
#if defined(OSG_GLES1_AVAILABLE) || defined(OSG_GLES2_AVAILABLE)
switch (internal
Hi,
just found out that I can also patch
Texture::computeInternalFormatWithImage(const osg::Image&) const so that it
returns valid OpenGL ES formats (in case OpenGL ES is used).
Cheers,
Hartwig
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=4326
Hi,
Texture::applyTexImage2D_load (...) calls in case of mipmapping for
uncompressed images (file Texture.cpp line 1931 of the source code in trunk)
Code:
glTexImage2D( target, 0, _internalFormat,
inwidth, inheight, _borderWidth,
(GLenum)image->getPixelFormat(),
5 matches
Mail list logo