Hi, Some progress on the OpenGL project: _ I read much of the sources around NBOpenGL, the architecture looks nice to me, so will keep it, but am actually considering to strip it to OpenGL ES 2! This is a subset of OpenGL, but is supported on more platforms (Android, iOS, RPi), and will be easier to maintain in the long term. _ A working minimal demo in C (https://drive.google.com/file/d/0B6Y_O5MtrUaEbXFjTGhUcTZwY3M/view?usp=sharing) _ SDL2 gave me some headaches (2~3 seconds to start & open a window, could not properly display the title bar, displays big ugly pixels on retina screen, could not test it in Pharo since it did not find library file). So I tried GLFW and LOVE IT (starts fast, handles the pixel density problem nicely, amazing documentation). I will work to bind it with FFI. _ Anybody else working on porting NBOpenGL? I am rather slow, so if we can sync work would be perfect :)
Cheers, Thibault > ------------------------------ > > Message: 2 > Date: Sat, 12 Mar 2016 09:06:36 +0100 > From: stepharo <steph...@free.fr> > To: pharo-users@lists.pharo.org > Subject: Re: [Pharo-users] OpenGL project > Message-ID: <56e3ce0c.1010...@free.fr> > Content-Type: text/plain; charset=windows-1252; format=flowed > > Check bloc under Moose in the CI > there is a little class with the binding. > > Stef > > Le 11/3/16 13:22, Thibault Raffaillac a ?crit : > > Hi, > > > > I would like to do a bit of OpenGL in Pharo, but it does not seem to work > > at the moment. > > > > Tried NBOpenGL with a spur image (50560): > > _ fails at installation from configuration browser (need to click again on > > installing to get all classes) > > _ demo "GLTTRenderingDemo new openInWorld" fails at NBGLContextDriver with > > error "No suitable implementation found for initializing OpenGL context > > for your platform" (running on a Mac) > > > > Tried with a pre-spur image (50496): > > _ same weirdness at installation > > _ demo fails at NBGLCurveRenderer with "MessageNotUnderstood: receiver of > > on: is nil" > > > > Is there a working demo available out there? I have worked a lot with > > OpenGL ES 2.0 and could definitely provide work on the topic. > > > > Cheers, > > Thibault > >