Mac OS X, can't open offscreen window


Panda3d crashes with the following traceback:

ERROR: setUpClass (__main__.TestCalibration)
Traceback (most recent call last):
  File "", line 43, in setUpClass
    cls.w = World(manual, '')
  File "/Users/maria/panda3d/buffalo_lab/calibrate/", line 114, in __init__
    self.base = ShowBase()
  File "/Developer/Panda3D/direct/showbase/", line 265, in __init__
    self.openDefaultWindow(startDirect = False, props=props)
  File "/Developer/Panda3D/direct/showbase/", line 909, in openDefaultWindow
    self.openMainWindow(*args, **kw)
  File "/Developer/Panda3D/direct/showbase/", line 945, in openMainWindow
    self.openWindow(*args, **kw)
  File "/Developer/Panda3D/direct/showbase/", line 694, in openWindow
    raise StandardError, 'Could not open window.'
StandardError: Could not open window.


The only remarkable thing I am doing is opening an offscreen window:
loadPrcFileData("", “window-type offscreen”)

This code runs fine on Windows. Any ideas? Do others have this problem or is it just me? On both Windows and Mac I am using 1.9.0 SDK.


Unfortunately, Apple has decided to deprecate and remove support for PBuffers in their Cooca API. This means that (unless I missed something important) it’s not possible to create an offscreen buffer without first opening a window.

Well, that’s a bummer. Thanks for the heads up.