>This package depends on the following classes:
> TTFontReader > TTFontDescription > TTGlyph Which configuration to use? (In Moose 4.8) Stephan _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
it's okay, it happens since 2.0, just proceed 2013/6/2 Stephan Eggermont <[hidden email]> >This package depends on the following classes: Best regards, _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
2013/6/2 Erwan Douaille <[hidden email]>
And you will not be able to launch NBOpenGL examples. (Ask Igor about that stuff) Maybe you should try it on pharo 1.4
Best regards, _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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. Cheers, Alexandre On Jun 2, 2013, at 6:02 PM, Erwan Douaille <[hidden email]> wrote: > > > > 2013/6/2 Erwan Douaille <[hidden email]> > it's okay, it happens since 2.0, just proceed > > > 2013/6/2 Stephan Eggermont <[hidden email]> > >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 > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > > -- > Best regards, > > Douaille Erwan <[hidden email]> > > > > -- > Best regards, > > Douaille Erwan <[hidden email]> > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
On 3 June 2013 00:59, Alexandre Bergel <[hidden email]> 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 <[hidden email]> wrote: > >> >> >> >> 2013/6/2 Erwan Douaille <[hidden email]> >> it's okay, it happens since 2.0, just proceed >> >> >> 2013/6/2 Stephan Eggermont <[hidden email]> >> >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 >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >> >> >> >> -- >> Best regards, >> >> Douaille Erwan <[hidden email]> >> >> >> >> -- >> Best regards, >> >> Douaille Erwan <[hidden email]> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > -- Best regards, Igor Stasenko. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Osx 10.8.3
Alexandre On Jun 2, 2013, at 10:29 PM, Igor Stasenko <[hidden email]> wrote: > On 3 June 2013 00:59, Alexandre Bergel <[hidden email]> 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 <[hidden email]> wrote: >> >>> >>> >>> >>> 2013/6/2 Erwan Douaille <[hidden email]> >>> it's okay, it happens since 2.0, just proceed >>> >>> >>> 2013/6/2 Stephan Eggermont <[hidden email]> >>>> 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 >>> [hidden email] >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>> >>> >>> >>> -- >>> Best regards, >>> >>> Douaille Erwan <[hidden email]> >>> >>> >>> >>> -- >>> Best regards, >>> >>> Douaille Erwan <[hidden email]> >>> _______________________________________________ >>> Moose-dev mailing list >>> [hidden email] >>> 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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Stephan Eggermont-3
Hmm,
What combination of configurations, images , vm, plugins is supposed to work? cairo install through port is broken on 10.6.8 with xcode 4.0.2, glib2 won't compile. I'm not very happy with package management on mac, btw. Brew interferes with port... Stephan _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Igor,
I tried to start source city, loaded it into a moose 4.8 image, on my Mac (OS X 10.7.5) and got the following error: MessageNotUnderstood: NativeBoostConstants class>>mac32PlaformId. From the method: supportsCurrentPlatform "obviously, for Mac intel-32 only :)" ^ NativeBoost platformId = NativeBoostConstants mac32PlaformId Is this something I should ask you to fix? Because I have the feeling there are more problems with NBOpenGL on Pharo 2.0. Because when I fix it into mac32PlatformId it crashed on a unknown class NBCallFailureHandler in the method: NBMacGlAPI>>glApiCall: fnSpec index: fnIndex attributes: attributes context: contextToRetry ^[ (NBCallFailureHandler for: contextToRetry) retryWith: [ :targetClass :targetMethod | ... or does this mean I should get my OpenGL from a different place the squeak source (where source city points to) Diego > Hmm, > > What combination of configurations, images , vm, plugins is supposed to work? > > cairo install through port is broken on 10.6.8 with xcode 4.0.2, glib2 won't compile. > I'm not very happy with package management on mac, btw. Brew interferes with > port... > > Stephan > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
I got the same thing with windows, the method is not implemented. If you are on Mac, do it:
^ true for the moment. It looks like the NBOpenGL's version used by SourceCity is broken.
The past year it worked. I will check which NBOpenGL's version we should use. 2013/6/3 Diego Lont <[hidden email]> Igor, Best regards, _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by abergel
On 3 June 2013 05:18, Alexandre Bergel <[hidden email]> 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 <[hidden email]> wrote: > >> On 3 June 2013 00:59, Alexandre Bergel <[hidden email]> 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 <[hidden email]> wrote: >>> >>>> >>>> >>>> >>>> 2013/6/2 Erwan Douaille <[hidden email]> >>>> it's okay, it happens since 2.0, just proceed >>>> >>>> >>>> 2013/6/2 Stephan Eggermont <[hidden email]> >>>>> 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 >>>> [hidden email] >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>> >>>> >>>> >>>> -- >>>> Best regards, >>>> >>>> Douaille Erwan <[hidden email]> >>>> >>>> >>>> >>>> -- >>>> Best regards, >>>> >>>> Douaille Erwan <[hidden email]> >>>> _______________________________________________ >>>> Moose-dev mailing list >>>> [hidden email] >>>> 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. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
The problem is that SourceCity loads the version from squeaksource. It should load the one from STHub. I tried loading the latest version from STHub, but in the meantime the NBOpenGL code has changed a bit and SourceCity should be modified to adopt the new version properly (there are some DNUs).
Cheers, Doru On Mon, Jun 3, 2013 at 1:27 PM, Igor Stasenko <[hidden email]> wrote: On 3 June 2013 05:18, Alexandre Bergel <[hidden email]> wrote: "Every thing has its own flow"
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Igor Stasenko
How can I make sure that OpenGL works on my machine?
What would be the hello world example in OpenGL in Pharo? Cheers, Alexandre On Jun 3, 2013, at 7:27 AM, Igor Stasenko <[hidden email]> wrote: > On 3 June 2013 05:18, Alexandre Bergel <[hidden email]> 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 <[hidden email]> wrote: >> >>> On 3 June 2013 00:59, Alexandre Bergel <[hidden email]> 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 <[hidden email]> wrote: >>>> >>>>> >>>>> >>>>> >>>>> 2013/6/2 Erwan Douaille <[hidden email]> >>>>> it's okay, it happens since 2.0, just proceed >>>>> >>>>> >>>>> 2013/6/2 Stephan Eggermont <[hidden email]> >>>>>> 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 >>>>> [hidden email] >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>> >>>>> >>>>> >>>>> -- >>>>> Best regards, >>>>> >>>>> Douaille Erwan <[hidden email]> >>>>> >>>>> >>>>> >>>>> -- >>>>> Best regards, >>>>> >>>>> Douaille Erwan <[hidden email]> >>>>> _______________________________________________ >>>>> Moose-dev mailing list >>>>> [hidden email] >>>>> 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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Stephan Eggermont-3
pay attention that there was a bug on mac which broke the handle management of the graphics context.
Stef On Jun 3, 2013, at 10:07 AM, Stephan Eggermont <[hidden email]> wrote: > Hmm, > > What combination of configurations, images , vm, plugins is supposed to work? > > cairo install through port is broken on 10.6.8 with xcode 4.0.2, glib2 won't compile. > I'm not very happy with package management on mac, btw. Brew interferes with > port... > > Stephan > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Same case here. Impossible to make Sourcecity work...
Alexandre On Jun 3, 2013, at 5:50 PM, Stéphane Ducasse <[hidden email]> wrote: > pay attention that there was a bug on mac which broke the handle management of the graphics context. > > Stef > > On Jun 3, 2013, at 10:07 AM, Stephan Eggermont <[hidden email]> wrote: > >> Hmm, >> >> What combination of configurations, images , vm, plugins is supposed to work? >> >> cairo install through port is broken on 10.6.8 with xcode 4.0.2, glib2 won't compile. >> I'm not very happy with package management on mac, btw. Brew interferes with >> port... >> >> Stephan >> >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
We will have a look but this is not our priority now.
Stef > Same case here. Impossible to make Sourcecity work... > > Alexandre > > > On Jun 3, 2013, at 5:50 PM, Stéphane Ducasse <[hidden email]> wrote: > >> pay attention that there was a bug on mac which broke the handle management of the graphics context. >> >> Stef >> >> On Jun 3, 2013, at 10:07 AM, Stephan Eggermont <[hidden email]> wrote: >> >>> Hmm, >>> >>> What combination of configurations, images , vm, plugins is supposed to work? >>> >>> cairo install through port is broken on 10.6.8 with xcode 4.0.2, glib2 won't compile. >>> I'm not very happy with package management on mac, btw. Brew interferes with >>> port... >>> >>> Stephan >>> >>> >>> _______________________________________________ >>> Moose-dev mailing list >>> [hidden email] >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >> >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by abergel
I remember having some difficulties to make it run on Linux (Ubuntu). In the end, we had to copy libGL.so in the same directory as the image to make it run ... nicolas On 06/04/2013 12:39 AM, Alexandre Bergel wrote: > Same case here. Impossible to make Sourcecity work... > > Alexandre > > > On Jun 3, 2013, at 5:50 PM, Stéphane Ducasse <[hidden email]> wrote: > >> pay attention that there was a bug on mac which broke the handle management of the graphics context. >> >> Stef >> >> On Jun 3, 2013, at 10:07 AM, Stephan Eggermont <[hidden email]> wrote: >> >>> Hmm, >>> >>> What combination of configurations, images , vm, plugins is supposed to work? >>> >>> cairo install through port is broken on 10.6.8 with xcode 4.0.2, glib2 won't compile. >>> I'm not very happy with package management on mac, btw. Brew interferes with >>> port... >>> >>> Stephan >>> >>> >>> _______________________________________________ >>> Moose-dev mailing list >>> [hidden email] >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- Nicolas Anquetil -- RMod research team (Inria) _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by abergel
On 3 June 2013 21:06, Alexandre Bergel <[hidden email]> 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 <[hidden email]> wrote: > >> On 3 June 2013 05:18, Alexandre Bergel <[hidden email]> 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 <[hidden email]> wrote: >>> >>>> On 3 June 2013 00:59, Alexandre Bergel <[hidden email]> 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 <[hidden email]> wrote: >>>>> >>>>>> >>>>>> >>>>>> >>>>>> 2013/6/2 Erwan Douaille <[hidden email]> >>>>>> it's okay, it happens since 2.0, just proceed >>>>>> >>>>>> >>>>>> 2013/6/2 Stephan Eggermont <[hidden email]> >>>>>>> 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 >>>>>> [hidden email] >>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Best regards, >>>>>> >>>>>> Douaille Erwan <[hidden email]> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Best regards, >>>>>> >>>>>> Douaille Erwan <[hidden email]> >>>>>> _______________________________________________ >>>>>> Moose-dev mailing list >>>>>> [hidden email] >>>>>> 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. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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 <[hidden email]> wrote: > On 3 June 2013 21:06, Alexandre Bergel <[hidden email]> 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 <[hidden email]> wrote: >> >>> On 3 June 2013 05:18, Alexandre Bergel <[hidden email]> 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 <[hidden email]> wrote: >>>> >>>>> On 3 June 2013 00:59, Alexandre Bergel <[hidden email]> 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 <[hidden email]> wrote: >>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> 2013/6/2 Erwan Douaille <[hidden email]> >>>>>>> it's okay, it happens since 2.0, just proceed >>>>>>> >>>>>>> >>>>>>> 2013/6/2 Stephan Eggermont <[hidden email]> >>>>>>>> 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 >>>>>>> [hidden email] >>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Best regards, >>>>>>> >>>>>>> Douaille Erwan <[hidden email]> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Best regards, >>>>>>> >>>>>>> Douaille Erwan <[hidden email]> >>>>>>> _______________________________________________ >>>>>>> Moose-dev mailing list >>>>>>> [hidden email] >>>>>>> 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 [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
I attached a quick demo GLTest new openInWorld 2013/6/4 Alexandre Bergel <[hidden email]> Hi Igor, Best regards, _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev GLTest.st (5K) Download Attachment |
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 <[hidden email]> wrote: I attached a quick demo -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |