[squeak-dev] ANN: OpenGL + NativeBoost + Mac ==> success

Igor Stasenko siguctua at gmail.com
Sun Jan 22 23:33:32 UTC 2012


On 22 January 2012 21:29, karl ramberg <karlramberg at gmail.com> wrote:
> Nice looking.
>
btw, on recorded video the font glyph having rough edges..
look's like Lawson's GL engine doesn't supports a shader which is
responsible for rendering smooth edges.
but again it was demo to show that you can do things with opengl..,
not to show that to make it work everywhere,
you have to spend many torturing sessions trying to support various
graphic cards vendors
and their drivers while still keeping your rendering approach in mind :).

> Karl
> On Sun, Jan 22, 2012 at 4:23 AM, Lawson English <lenglish5 at cox.net> wrote:
>>
>> I created a new video how to for installing NativeBoost OpenGL on Pharo
>> 1.4 Smalltalk on the Mac: http://www.youtube.com/watch?v=RAvlIVG4biM
>>
>> Igor, your code is very nice. I think there's a lot of potential here for
>> NativeBoost and OpenGL that might attract new classes of programmers to
>> smalltalk. I'd be happy to help create demos and videos of what can be done.
>>
>>
>> Lawson
>>
>>
>>
>> On 1/20/12 11:52 AM, Igor Stasenko wrote:
>>>
>>> Today i'm happy to announce that i can run my 2 years-old demo which i
>>> did when created NBOpenGL bindings first on Windows,
>>> working without ANY changes in code on Mac.
>>>
>>> The main hurdle with adding MacOsx support was that it is largely
>>> unknown platform to me , and there are 3 different ways to get there,
>>> namely CGL, Carbon and Cocoa.
>>> Fortunately CGL approach worked well, despite its a bit limited (you
>>> cannot create a windowed context, only fullscreen or offscreen one).
>>> But since i am using FBO's , it doesn't really matters.
>>> Of course it may make difference for people who want to use GL in
>>> different setup.
>>>
>>> In order to load project, take a fresh Pharo 1.4 image, load
>>>
>>> ConfigurationOfNBOpenGL package using MC from
>>>
>>> MCHttpRepository
>>>     location: 'http://www.squeaksource.com/NBOpenGL'
>>>     user: 'sig'
>>>     password: ''
>>>
>>>
>>> or by
>>>
>>> Gofer it
>>>   squeaksource: 'NBOpenGL';
>>>   package: 'ConfigurationOfNBOpenGL';
>>>   load
>>>
>>> and then issue:
>>>
>>> ConfigurationOfNBOpenGL project lastVersion load.
>>>
>>> Remember, that you have to use CogVM with NativeBoost plugin, which
>>> you can download from here:
>>>
>>>
>>> https://ci.lille.inria.fr/pharo/view/NativeBoost/job/NB-Cog-Mac-Carbon/lastSuccessfulBuild/artifact/
>>>
>>>
>>> If everything goes well, you should be able to run a demo by doing:
>>>
>>> GLTTRenderingDemo new openInWorld.
>>>
>>> P.S. @ Windows users: due to refactorings which i did, a
>>> windows-specific support code is currently broken. So please use older
>>> versions of packages (prior to this month).
>>> I will fix them very soon.
>>>
>>>
>>
>>
>
>
>
>



-- 
Best regards,
Igor Stasenko.



More information about the Squeak-dev mailing list