I've just checked VisualChooser.cpp and found WGL_SAMPLE_BUFFERS_ARB and WGL_SAMPLES_ARB alive and well.  These are ifdefed with this, however:

#if defined(WGL_SAMPLE_BUFFERS_ARB) && defined (WGL_SAMPLES_ARB)
        case SampleBuffers:  attr.first = WGL_SAMPLE_BUFFERS_ARB; break;
        case Samples:        attr.first = WGL_SAMPLES_ARB; break;
#endif

(Actually, I just found the the "if defined() statement used WGL_SAMPLE_BUFFERS, not WGL_SAMPLE_BUFFERS_ARB, this is fixed now in CVS).

This means, however, that your Producer binary needs to be compiled with a header file that has the appropriate tokens.  

-don

On 7/24/06, Garry Keltie <[EMAIL PROTECTED]> wrote:
Hi,

Congratulations on 1.1.0!

I just fired up my first app today with it - and noted that my Producer
config file has errors in it now. I have usually included:

         Visual  {
             WGL_SAMPLE_BUFFERS_ARB 1,
             WGL_SAMPLES_ARB 16,
             DOUBLEBUFFER,
             RGBA,
             DEPTH_SIZE 24,
             RED_SIZE 8,
             GREEN_SIZE 8,
             BLUE_SIZE 8,
             ALPHA_SIZE 8
         }

In most of my config files. Commenting out the WGL lines allows the app
to launch (there is no carry on regardless with a default set of
attributes and full screen etc).

Can anyone tell me how I can get these attributes to be accepted please?
I recall yonks ago having a #include line on Linux although I cant find
a reference to WGL properties on my system (windows of course) so if I
could #include, I'm not sure what I would :?

Also, I was never convinced that the anti-aliasing specified above
actually did anything as I'm pretty sure I have to force the bit always
on in the driver to get the effect to happen.

Cheers

Garry

--
Garry Keltie

garrydotkeltieATrmit.edu.au
VR Centre - Research & Innovation
RMIT University

/ ... .... .. - /  .... .- .--. .--. . -. . -..
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to