Absolutly not 

I'm using it on NBCOG VM under windows 8, with an old moose version
I guess the problem is not you vm cause you can bind openGL ... Igor ?

Images intégrées 1


2013/6/4 Alexandre Bergel <alexandre.bergel@me.com>
Yeah! 
It works (I guess). I had to use the right VM also. 

I obtain the attached screenshot. Apparently the background is not updated. Is this intended in your example? 

Cheers,
Alexandre


On Jun 4, 2013, at 9:49 AM, Erwan Douaille <douailleerwan@gmail.com> wrote:

I attached a quick demo

GLTest new openInWorld


2013/6/4 Alexandre Bergel <alexandre.bergel@me.com>
Hi Igor,

Thanks for your help.
Unfortunately, I do not have much time to dive in the implementation. A student is asking me how he can use OpenGL in Pharo. I would like to give him a simple starting point

What would be a simple piece of code that simply open a cube on the screen? I cannot ask him to go and study SourceCity or the implementation of NBOpenGL. He barely knows Smalltalk but he is very smart.

So, how to show a cube on the screen please?

Cheers,
Alexandre


On Jun 4, 2013, at 4:32 AM, Igor Stasenko <siguctua@gmail.com> wrote:

> On 3 June 2013 21:06, Alexandre Bergel <alexandre.bergel@me.com> wrote:
>> How can I make sure that OpenGL works on my machine?
>
> You don't. It just works.
>
> The problem is that different hardware has different features supported.
> During initialization of context i checking + asking for some capabilities.
> Looks like your machine does not supports them fully, or
> initialization logic is flawed..
> Did you tried to use latest config of NBOpenGL on your machine?
>
>> What would be the hello world example in OpenGL in Pharo?
>>
>
> Anything which shows on screen, like drawing a triangle.
>
>> Cheers,
>> Alexandre
>
>> On Jun 3, 2013, at 7:27 AM, Igor Stasenko <siguctua@gmail.com> wrote:
>>
>>> On 3 June 2013 05:18, Alexandre Bergel <alexandre.bergel@me.com> wrote:
>>>> Osx 10.8.3
>>>>
>>>> Alexandre
>>>>
>>>
>>> It is strange.
>>> I checked things lately, NBOpenGL works fine on macs.
>>> But i seend that source city code has some modifications. Maybe that
>>> is the problem.
>>>
>>>> On Jun 2, 2013, at 10:29 PM, Igor Stasenko <siguctua@gmail.com> wrote:
>>>>
>>>>> On 3 June 2013 00:59, Alexandre Bergel <alexandre.bergel@me.com> wrote:
>>>>>> Where are such examples?
>>>>>> How can I try an example of OpenGl on my macbook?
>>>>>>
>>>>>> I've tried to execute "SourceCityGL new" and I got an error "No suitable implementation found for initializing OpenGL context for your platform". No idea why I got this. I have the same error when I try "GLTTRenderingDemo new"
>>>>>>
>>>>>> I am using Pharo 1.4 Summer. Do I have to install some libraries somewhere? I guess I have OpenGl installed on my mac.
>>>>>
>>>>> What OS version you running?
>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>> Alexandre
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Jun 2, 2013, at 6:02 PM, Erwan Douaille <douailleerwan@gmail.com> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 2013/6/2 Erwan Douaille <douailleerwan@gmail.com>
>>>>>>> it's okay, it happens since 2.0, just proceed
>>>>>>>
>>>>>>>
>>>>>>> 2013/6/2 Stephan Eggermont <stephan@stack.nl>
>>>>>>>> This package depends on the following classes:
>>>>>>>> TTFontReader
>>>>>>>> TTFontDescription
>>>>>>>> TTGlyph
>>>>>>>
>>>>>>> And you will not be able to launch NBOpenGL examples. (Ask Igor about that stuff)
>>>>>>> Maybe you should try it on pharo 1.4
>>>>>>> Which configuration to use?
>>>>>>> (In Moose 4.8)
>>>>>>>
>>>>>>> Stephan
>>>>>>> _______________________________________________
>>>>>>> Moose-dev mailing list
>>>>>>> Moose-dev@iam.unibe.ch
>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Best regards,
>>>>>>>
>>>>>>> Douaille Erwan <douaille.erwan@gmail.com>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Best regards,
>>>>>>>
>>>>>>> Douaille Erwan <douaille.erwan@gmail.com>
>>>>>>> _______________________________________________
>>>>>>> Moose-dev mailing list
>>>>>>> Moose-dev@iam.unibe.ch
>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>
>>>>>> --
>>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best regards,
>>>>> Igor Stasenko.
>>>>
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko.
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>
>
>
> --
> Best regards,
> Igor Stasenko.

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



-- 
Best regards,

Douaille Erwan <douaille.erwan@gmail.com>
<GLTest.st>_______________________________________________

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--
Best regards,

Douaille Erwan <douaille.erwan@gmail.com>