[osg-submissions] DDS cubemap support

Smeenk, R.J.M. (Roland) roland.smeenk at tno.nl
Fri Sep 28 13:25:51 PDT 2007


Robert,

I've updated TextureCubeMap to support old style multiple image loading.
The example osgvertexprogram demonstrates backwards compatibility when
using the command line parameter --old.

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. Currently retrieval of an image with
a face as parameter returns a cached value. This could also be converted
to extract a face from the 6 face image and return it as a new image,
but I expect this to be of less importance than initializing the cubemap
with 6 single images. The cached images are not used for reading/writing
and in the copy constructor.

--
Roland
 

> -----Original Message-----
> From: osg-submissions-bounces at lists.openscenegraph.org 
> [mailto:osg-submissions-bounces at lists.openscenegraph.org] On 
> Behalf Of Robert Osfield
> Sent: vrijdag 28 september 2007 12:10
> To: OpenSceneGraph Submissions
> Subject: Re: [osg-submissions] DDS cubemap support
> 
> Hi Roland,
> 
> On 9/28/07, Smeenk, R.J.M. (Roland) <roland.smeenk at tno.nl> wrote:
> > > Second up is the runtime stablity of the new changes.  My initial 
> > > test suggests that they might be OK, but only far more extensive 
> > > testing
> > > with end user apps will be able to determine this.   
> However, we can
> > > start on this until the above is resolved.
> >
> > Do you mean the impact of these changes so close before 2.2?
> 
> Any feature change just before a stable release is something 
> that has to be considered very serious against its affect on 
> stability and breaking of API.
> 
> > > Could you please have a look at modifiying TextureCubeMap so old 
> > > code will still work with it, and provide the new Image 
> support as 
> > > an additional option for it.  Until this is in place I 
> won't merge 
> > > the changes.
> >
> > OK, I will make TextureCubeMap backwards compatible and modify the 
> > vertexprogram to show both options of usage.
> > What's the best way to indicate that they are deprecated (besides 
> > doxygen comments)?
> 
> Doxygen comments is fine.
> 
> Robert.
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-o
penscenegraph.org
> 

This e-mail and its contents are subject to the DISCLAIMER at http://www.tno.nl/disclaimer/email.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ddscubemap.zip
Type: application/x-zip-compressed
Size: 66582 bytes
Desc: ddscubemap.zip
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20070928/65b870c1/attachment-0001.bin 


More information about the osg-submissions mailing list