Re: [osg-users] [osgPlugins] Loading 32bit floating point grayscale texture with ImageIO (Mac OSX)

2012-09-13 Thread Matthias Thöny
Hi Stephan, Have OSG not running. I just copied this function of the implementation for reading an image with ImageIO. So actually I am not working with the ReaderWriterIO.cpp. This is also why I did not test it with other images. As soon as I have a running OSG Version, I can contribute that.

Re: [osg-users] [osgPlugins] Loading 32bit floating point grayscale texture with ImageIO (Mac OSX)

2012-09-06 Thread Matthias Thöny
Hi stephan, Thanks for the reply. I thought already that I am the only one doing this. Actually I have already the problem getting the byte information. Which OSX Version are you using? Would it be possible to have a sample picture just to be sure that we are talking about the same. Cheers,

[osg-users] [osgPlugins] Loading 32bit floating point grayscale texture with ImageIO (Mac OSX)

2012-09-04 Thread Matthias Thöny
Hi, I am wondering if someone ever tried to load 32bit floating point grayscale .tiff images under Mac OSX with ImageIO. This seems not working at all. This is a specific problem for grayscale textures. I tried to change the code in the ImageIO ReaderWriter class but obviously I am doing some

[osg-users] [osgPlugins] Loading 16-bit Image under Mac with imageio

2012-01-03 Thread Matthias Thöny
Hi, I had trouble loading 16-bit tiff Images under Mac, but with a short workaround in the imageio plugin it should be possible if you set the right data OpenGL types. But what I was wondering is, why do you make "osg_image->flipVertical();" at the end of the function "osg::Image* CreateOSGIm