[osg-users] [osgPlugins] Support for paletted images in dds plugin?
Robert Osfield
robert.osfield at gmail.com
Fri Jun 22 03:28:44 PDT 2018
HI Bret,
As long as adding support does introduce problems with other usage
case I see no reason not to merge a patch adding palette support. My
guess is that you'll need to resole the palette into a full osg::Image
with RGB(A) within the plugin, as osg::Image doesn't have palette
support (and neither does OpenGL.)
Cheers,
Robert.
On Fri, 22 Jun 2018 at 11:14, bret curtis <psi29a at gmail.com> wrote:
>
> Hi,
>
> as the subject sudjests, will there ever be support for DDPF_PALETTEINDEXED* images in the dds plugin:
> osgPlugins/dds/ReaderWriterDDS.cpp ?
>
> In OpenMW (that uses OSG), we've come across "mods" that ship with dds files that use DDPF_PALETTEINDEXED8
>
> Since our goal is to support these mods out of the box without having to contact the original author, it falls to OpenMW to eventually support it. As you likely guessed it, OpenMW uses OSG's dds plugin to handle all dds images.
>
> If someone wanted to pick up this torch, would you accept a patch to add support?
>
> What we currently see:
>
> Code:
> Error loading textures\vurt_wl_cherryb03.dds: code 1
> Error loading textures\vurt_wl_cherryb05.dds: code 1
> Error loading textures\vurt_wl_goldenbark.dds: code 1
>
>
>
>
> The issue we are tracking internally with resulting image here:
> https://gitlab.com/OpenMW/openmw/issues/3668
>
>
>
> Thank you!
>
> Cheers,
> bret
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=74114#74114
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
More information about the osg-users
mailing list