Hi Christian,
I haven't looked into the topic but my inclination would be to add an
option into osg::GraphicsContext::Traits for requesting the data type
(signed, unsigned, float, double) of the colour and depth buffers as
well as the existing number of bits than have the creation of the
graphics
I am finding that with the following modification to PixelBufferWin32.cpp I
can get my floating point PBuffer easily (no nvidia specific extensions
required)
fAttribList.push_back(WGL_PIXEL_TYPE_ARB);
if (_traits->red == 32 && _traits->green == 32 && _traits->blue == 32)
#define
2 matches
Mail list logo