Re: [Pharo-users] OpenGL project

2016-04-01 Thread Igor Stasenko
On 1 April 2016 at 13:23, Thibault Raffaillac wrote: > There's (hopefully!) no question of throwing it away already. That > represents too much work, and pretty good design choices IMO. Yet I'm still > pretty new to Pharo/Smalltalk so simply need time. At the moment I am only > practicing on a GL

Re: [Pharo-users] OpenGL project

2016-04-01 Thread Thibault Raffaillac
There's (hopefully!) no question of throwing it away already. That represents too much work, and pretty good design choices IMO. Yet I'm still pretty new to Pharo/Smalltalk so simply need time. At the moment I am only practicing on a GLFW binding. Now, I do believe in OpenGL and hardware renderi

Re: [Pharo-users] OpenGL project

2016-03-31 Thread Igor Stasenko
On 25 March 2016 at 12:51, Dimitris Chloupis wrote: > Better name it "Pharo OpenGL ES" so people don't get confused why some of > their OpenGL code does not work. You won't finds docs about it , the guy > that made it rarely frequents this forums anymore and his code is based on > a api that is n

Re: [Pharo-users] OpenGL project

2016-03-26 Thread Damien Pollet
On 26 March 2016 at 18:44, Thibault Raffaillac wrote: > Homebrew should place the GLFW folder in /usr/local/include, and cc should > list it among include directories with -v > No. It should put them in `brew --prefix`/include, which only happens to be /usr/local/include if you followed homebrew

Re: [Pharo-users] OpenGL project

2016-03-26 Thread Thibault Raffaillac
> Strange, I tried "brew install glfw3 ? but it does not work. > Instead, I had to do "brew install homebrew/versions/glfw3? Yep good point thank you. > demo.c:2:10: fatal error: 'GLFW/glfw3.h' file not found Homebrew should place the GLFW folder in /usr/local/include, and cc should list it am

Re: [Pharo-users] OpenGL project

2016-03-26 Thread Alexandre Bergel
Hi Thibault, Strange, I tried "brew install glfw3 “ but it does not work. Instead, I had to do "brew install homebrew/versions/glfw3” When I try to compile your file: -=-=-=-=-=-=-=-=-= /tmp> cc demo.c -lglfw3 -framework OpenGL demo.c:2:10: fatal error: 'GLFW/glfw3.h' file not found #include

Re: [Pharo-users] OpenGL project

2016-03-25 Thread Dimitris Chloupis
Better name it "Pharo OpenGL ES" so people don't get confused why some of their OpenGL code does not work. You won't finds docs about it , the guy that made it rarely frequents this forums anymore and his code is based on a api that is no longer included and supported by Pharo because it was doing

Re: [Pharo-users] OpenGL project

2016-03-25 Thread Thibault Raffaillac
> Can you include a proper build script? Yep sorry, here are the steps I used to make it run on OSX: $ brew install glfw3 $ cc demo.c -lglfw3 -framework OpenGL For other systems the doc is hopefully detailed enough (http://www.glfw.org/docs/latest/build.html). > Why do you say ?porting NBOpenGL

Re: [Pharo-users] OpenGL project

2016-03-24 Thread Alexandre Bergel
Hi Thibault, I put Ronie in copy because he is interested very much on having 3d stuff working. Why do you say “porting NBOpenGL”? Is it just a matter of rewriting the native calls with the new FFI system? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel

Re: [Pharo-users] OpenGL project

2016-03-24 Thread Damien Pollet
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

Re: [Pharo-users] OpenGL project

2016-03-24 Thread Thibault Raffaillac
ould be perfect :) Cheers, Thibault > -- > > Message: 2 > Date: Sat, 12 Mar 2016 09:06:36 +0100 > From: stepharo > To: pharo-users@lists.pharo.org > Subject: Re: [Pharo-users] OpenGL project > Message-ID: <56e3ce0c.1010...@free.fr> &

Re: [Pharo-users] OpenGL project

2016-03-12 Thread stepharo
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

Re: [Pharo-users] OpenGL project

2016-03-11 Thread Alexandre Bergel
Hi Thibault, This is great you are trying to revive the open gl binding. This is very important. Unfortunately we do not have the man power and the knowledge to do it ourselves. So your help is highly welcome! Execute the following: Gofer new smalltalkhubUser: 'ronsaldo' project: 'Woden'; packa

Re: [Pharo-users] OpenGL project

2016-03-11 Thread Dimitris Chloupis
yeap NBOpenGL relied on NativeBoost and our new FFI is UFFI so that means that NBOpenGL does no longer work and there are no plans to make it work at least for now. The problem is that Nativeboost was doing machine code stuff that were difficult to maintain and so it does low level stuff with NBOpe

[Pharo-users] OpenGL project

2016-03-11 Thread Thibault Raffaillac
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 NB