[osg-submissions] DDS cubemap support
Robert Osfield
robert.osfield at gmail.com
Sat Sep 29 01:33:01 PDT 2007
Hi Roland,
On 9/28/07, Smeenk, R.J.M. (Roland) <roland.smeenk at tno.nl> wrote:
> I've updated TextureCubeMap to support old style multiple image loading.
> The example osgvertexprogram demonstrates backwards compatibility when
> using the command line parameter --old.
Thanks.
> An array of images stored in TextureCubeMap is now used as a cache of
> files that will automatically be converted to a single 6 face image as
> soon as the image list is complete.
I haven't reviewed the code yet, but this sounds really fragile and
problematic. My thought was that TextureCubeMap should fully support
the old usage and the new single Image usage, not try to shoe horn the
new usage onto the old usage.
Yes this will mean some duplicate paths which itself isn't ideal, but
at least it would preserve the original functionality - no user code
should break.
Robert.
More information about the osg-submissions
mailing list