Do not forget to create a jenkins job on https://ci.inria.fr/pharo-contribution/ On 2013-03-14, at 16:58, Esteban Lorenzano <estebanlm@gmail.com> wrote:
cool :)
On Mar 14, 2013, at 4:44 PM, Igor Stasenko <siguctua@gmail.com> wrote:
Hi, there
since Pharo 2.0 is out (well almost ;) ) , it is time to update configuration of stuff .. today the prize goes to NBOpenGL project (Athens tomorrow)..
I did not much, just boring things:
- migrated all packages on smalltalkhub (http://www.smalltalkhub.com/#!/~PharoExtras/NBOpenGL) from squeaksource. - updated configuration(s). I removed explicit dependency from NativeBoost, since it is in 2.0 by default. - rescued a legacy TrueType package, which was thrown out of base image, so i took a freedom to put it in NBOpenGL repository, because it seems only my demo code does something with it :)
If you wanna try if it works, do:
1. Gofer it smalltalkhubUser: 'PharoExtras' project: 'NBOpenGL'; package: 'ConfigurationOfNBOpenGL'; load.
easier:
Gofer it smalltalkhubUser: 'PharoExtras' project: 'NBOpenGL'; configurationOf: 'NBOpenGL'; load.
:)
2. (ConfigurationOfNBOpenGL project version: '2.0') load
2.1. If VM crashes when doing step 2. Download the stable one from [http://pharo.gforge.inria.fr/ci/vm/pharo/] and repeat step 2. (Many many thanks to Esteban who was persistent enough ditching this problem finally!!!!!!!!!!!!!!) 2.2. if VM still crashes, you know who to blame ;)
not blame, but report :) I cannot preview all the possible issues, you know... I just fixed all the crashes that I have reported :P
Esteban
3. GLTTRenderingDemo new openInWorld
(if it works you shall see some strange Cyrillic (no, it is not Klingon) letters zooming in and out again in a loop :)
4. If you on windows or linux, report problems. Because i did not tried it there. ;) But for me it was a great relief to see it working at least on my Mac after many perturbations with 2.0 and NativeBoost over past half-year.
P.S. ah.. yeah.. if you try to run demo on very old crappy hardware with very old opengl drivers, don't blame anyone that it doesn't works, except yourself :) As far as i remember demo requires at least OpenGL 2.0 support. But this is just a demo, if it doesn't works, it doesn't immediately means that you cannot use nativeboost opengl bindings in your own project and make things work properly for older versions of opengl.
-- Best regards, Igor Stasenko.