On 5 January 2013 21:41, Dan Corneanu <dan.corneanu@gmail.com> wrote:
Ok, I have fixed those problems but now I stumbled on other problems. If I load the latest version ConfigurationOfNBOpenGL project lastVersion load. When I try to run the demo I get a SubscriptOutOfBounds:2083 exception at NBOpenGLAPIBase>>emitCall: generator:
this looks strange. there should be no out of bound indexes by construction, since during automatic code generation, every unique GL function has assigned number and NBOpenGLAPIBase creates a variable-size object to hold all of them.
If I load version 1.0.2 (ConfigurationOfNBOpenGL project version: '1.0.2') load. and try the demo I get 'Error: Frame buffer is incomplete: GL_FRAMEBUFFER_UNSUPPORTED' in
this message says for itself. sounds like your video driver does not supports the framebuffer in configuration which i intended to use.
NBGLFrameBuffer>>checkStatus
By the way, I am on a windows machine.
On Sat, Jan 5, 2013 at 9:34 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 5 January 2013 11:29, Dan Corneanu <dan.corneanu@gmail.com> wrote:
Hello, I have loaded the latest NBOpenGL into Pharo 1.4 but when I try GLTTRenderingDemo new openInWorld. I get a SmallInteger(Object)>>doesNotUnderstand: #|
What am I missing/doing wrong?
this is an extension method, which looks like i missed when splitting package.. it is synonym for #bitOr:
Best regards, Dan.
P.S. There is also a typo in: NBMacGLContextDriver >> supportsCurrentPlatform "NativeBoostConstants mac32PlaformId" I think it should be "NativeBoostConstants mac32PlatformId"
yes. Should fix it :)
On Fri, Apr 6, 2012 at 3:31 PM, Igor Stasenko <siguctua@gmail.com> wrote:
Hi there,
for those, who interested, i updated a NBOpenGL configuration.
Changes are:
- updated GL API to most recent available (taken directly from opengl specs). Now there is about 300 more methods to explore :) - finally dealt with win32 support code and made it working again - fixed the GLX function prefix , which should be 'glX' not 'glx'
To load it in 1.4 use:
Gofer new squeaksource: 'NBOpenGL'; package: 'ConfigurationOfNBOpenGL'; load.
and then
(ConfigurationOfNBOpenGL project version: '1.0.2') load
I did not tested the update thoroughly.. so i would appreciate if people will try it out and tell how it goes.
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.