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
Hi all,
I spent the last 3 hours trying to coerce OSG to give me a floating point
pbuffer. Just setting the required bits for color components to 32 bits in
the graphicscontext traits isn't working.
Turns out, on nVidia cards you also have to give the
WGL_FLOAT_COMPONENTS_NV flag as "true" to
3 matches
Mail list logo