I've installed 0.4.0 but I'm having a problem with anything that
requires frame buffer objects.

Miharu:cocos2d-0.4.0 mitsuharu$ glxinfo | grep -i framebuffer
    GL_ARB_fragment_shader, GL_ARB_framebuffer_object,
    GL_ARB_framebuffer_sRGB, GL_ARB_half_float_pixel,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord,
GL_EXT_framebuffer_blit,
    GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_object,
    GL_EXT_framebuffer_sRGB, GL_EXT_geometry_shader4,

I have support for it, but I always get something like:

Miharu:test mitsuharu$ python test_waves.py
Traceback (most recent call last):
  File "../cocos/framegrabber.py", line 67, in TextureGrabber
    return _best_grabber()
  File "../cocos/framegrabber.py", line 164, in __init__
    self.fbuf = FramebufferObject()
  File "../cocos/gl_framebuffer_object.py", line 51, in __init__
    glGenFramebuffersEXT (1, byref(id))
NameError: global name 'byref' is not defined
Exception AttributeError: "'FramebufferObject' object has no attribute
'_id'" in <bound method FramebufferObject.__del__ of
<cocos.gl_framebuffer_object.FramebufferObject object at 0x104e1f650>>
ignored
Traceback (most recent call last):
  File "test_waves.py", line 32, in <module>
    main_scene.do( Waves( waves=6, hsin=True, vsin=True, grid=(16,10),
duration=20) )
  File "../cocos/cocosnode.py", line 695, in do
    a.start()
  File "../cocos/actions/basegrid_actions.py", line 124, in start
    self.target.grid.init( self.grid )
  File "../cocos/grid.py", line 81, in init
    self.grabber = framegrabber.TextureGrabber()
  File "../cocos/framegrabber.py", line 72, in TextureGrabber
    raise Exception("ERROR: GPU doesn't support Frame Buffers Objects.
Can't continue")
Exception: ERROR: GPU doesn't support Frame Buffers Objects. Can't
continue

I'm using Python 2.7 on a macbook pro with lion with an Nvidia 9400M.

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en.

Reply via email to