The GL_RGB32F_ARB was a dangler ... I tried all sorts of options for that
parameter. GL_LUMINANCE16F_ARB doesn't work
things are more like they are now than they have ever been before
--
Read this topic online here:
Hi,
I've been trying to map a 32 bit float texture onto a quad for a while without
success. Below is my code, can anyone tell me what I am doing wrong? This code
opens a float32 image file, reads it into an array, creates an osg::Image with
the array data, creates an osg::Texture2D with the
Hi Paul,
I guess you have one channel float data. Certainly this is wrong:
rImage->setImage(
rawImage.rows(),rawImage.cols(),arrayDepth,
GL_LUMINANCE, GL_RGB32F_ARB, GL_FLOAT,
pData, osg::Image::NO_DELETE );
At least GL_RGB32F_ARB should be swapped with GL_LUMINANCE. First you pass
internal
3 matches
Mail list logo