|
(0013961)
|
|
Elvis John Dowson
|
|
2008-10-28 15:20
|
|
It does look like its missing a depth buffer.
Its supposed to give you one without your asking.
I'm looking at this....
vtkCocoaRenderWindow::CreateGLContext()
and it only makes one call to create the pixel format. I think your problem
is that it couldn't satisfy all the things asked for so the OpenGL library
decides to drop the depth buffer to give you the other features.
In the Carbon, X11 and Win32 implementations in VTK, it tells OpenGL not to
drop any features, and allows VTK to determine the priority of the features
it asks for, and it makes multiple calls until one succeeds. Its more robust
that way. For example, if its a tradeoff between having a depth buffer and
having hardware acceleration, we'd rather have a depth buffer.
So, I think this is a problem with the VTK/Cocoa implementation.
Clint Stimpson |
|