Re: [osg-users] Load all 6 images from cubemap dds.

2008-05-07 Thread Jason Daly

Robert Osfield wrote:

Hi Joakim and Roland,

On Mon, May 5, 2008 at 6:46 PM, Smeenk, R.J.M. (Roland)
<[EMAIL PROTECTED]> wrote:
  

Joakim,

 I sent in a submission last year for loading complete cubemaps from DDS
 files. That submission affects important parts of the osg core and
 therefore Robert put it on the stack, which in practice means that it
 won't be merged soon.



This is a good reminder.  Now we have stable release out of the way
its not a bad time to start considering changes that might require
more widespread changes.

Roland could you have have a go at migrating your changes to 2.4/SVN
and then resubmit.
  


On a different, but related note, does anyone have an idea how one would 
go about reworking the isImageTranslucent() method of osg::Image to 
handle S3TC images (like you find in .dds files)?


--"J"

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Load all 6 images from cubemap dds.

2008-05-07 Thread Smeenk, R.J.M. (Roland)

OK, will take a look at it this evening.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Robert Osfield
> Sent: woensdag 7 mei 2008 10:51
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] Load all 6 images from cubemap dds.
> 
> Hi Joakim and Roland,
> 
> On Mon, May 5, 2008 at 6:46 PM, Smeenk, R.J.M. (Roland) 
> <[EMAIL PROTECTED]> wrote:
> > Joakim,
> >
> >  I sent in a submission last year for loading complete 
> cubemaps from 
> > DDS  files. That submission affects important parts of the osg core 
> > and  therefore Robert put it on the stack, which in practice means 
> > that it  won't be merged soon.
> 
> This is a good reminder.  Now we have stable release out of 
> the way its not a bad time to start considering changes that 
> might require more widespread changes.
> 
> Roland could you have have a go at migrating your changes to 
> 2.4/SVN and then resubmit.
> 
> Cheers,
> Robert.
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
negraph.org
> 
This e-mail and its contents are subject to the DISCLAIMER at 
http://www.tno.nl/disclaimer/email.html

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Load all 6 images from cubemap dds.

2008-05-07 Thread Robert Osfield
Hi Joakim and Roland,

On Mon, May 5, 2008 at 6:46 PM, Smeenk, R.J.M. (Roland)
<[EMAIL PROTECTED]> wrote:
> Joakim,
>
>  I sent in a submission last year for loading complete cubemaps from DDS
>  files. That submission affects important parts of the osg core and
>  therefore Robert put it on the stack, which in practice means that it
>  won't be merged soon.

This is a good reminder.  Now we have stable release out of the way
its not a bad time to start considering changes that might require
more widespread changes.

Roland could you have have a go at migrating your changes to 2.4/SVN
and then resubmit.

Cheers,
Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Load all 6 images from cubemap dds.

2008-05-05 Thread Joakim Simonsson


Roland,

Thanks for the info!

On Mon, 05 May 2008 19:46:18 +0200, Smeenk, R.J.M. (Roland)  
<[EMAIL PROTECTED]> wrote:



Joakim,

I sent in a submission last year for loading complete cubemaps from DDS
files. That submission affects important parts of the osg core and
therefore Robert put it on the stack, which in practice means that it
won't be merged soon.

kind regards,

Roland Smeenk


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Joakim Simonsson
Sent: maandag 5 mei 2008 15:03
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] Load all 6 images from cubemap dds.


Hi,

I have a dds file containing a cube map, that is six images
that are embedded in the file.

However, when I read it:

osg::ref_ptr image = osgDB::readImageFile("cubemap.dds");

the image returned is only the FIRST image of the embeded
images. Is there a way to load the other 5 images?


--
Joakim Simonsson
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce

negraph.org


This e-mail and its contents are subject to the DISCLAIMER at  
http://www.tno.nl/disclaimer/email.html


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




--
Joakim Simonsson
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Load all 6 images from cubemap dds.

2008-05-05 Thread Smeenk, R.J.M. (Roland)
Joakim,

I sent in a submission last year for loading complete cubemaps from DDS
files. That submission affects important parts of the osg core and
therefore Robert put it on the stack, which in practice means that it
won't be merged soon.

kind regards,

Roland Smeenk

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Joakim Simonsson
> Sent: maandag 5 mei 2008 15:03
> To: osg-users@lists.openscenegraph.org
> Subject: [osg-users] Load all 6 images from cubemap dds.
> 
> 
> Hi,
> 
> I have a dds file containing a cube map, that is six images 
> that are embedded in the file.
> 
> However, when I read it:
> 
> osg::ref_ptr image = osgDB::readImageFile("cubemap.dds");
> 
> the image returned is only the FIRST image of the embeded 
> images. Is there a way to load the other 5 images?
> 
> 
> --
> Joakim Simonsson
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
negraph.org
> 
This e-mail and its contents are subject to the DISCLAIMER at 
http://www.tno.nl/disclaimer/email.html

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Load all 6 images from cubemap dds.

2008-05-05 Thread Joakim Simonsson


Hi,

I have a dds file containing a cube map, that is six images that are  
embedded in the file.


However, when I read it:

osg::ref_ptr image = osgDB::readImageFile("cubemap.dds");

the image returned is only the FIRST image of the embeded images. Is there  
a way to load the other 5 images?



--
Joakim Simonsson
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org