Re: [Pharo-dev] Questions about Athens

2013-11-13 Thread Igor Stasenko
I doubt it is related to Athens. I think it is initialization problem. If morph's extent depends on external factors, you should properly initialize them before computing it. It could be that you calling #checkSession before.. which leads to DNU, because no extent can be computed at given point

Re: [Pharo-dev] Questions about Athens

2013-11-12 Thread Igor Stasenko
On 11 November 2013 21:47, kilon alios kilon.al...@gmail.com wrote: Ignore my last messages. Apparently I had an error with my code I just did not understand the error report. Everything works fone now. :) Στις 11 Νοε 2013 4:46 μ.μ., ο χρήστης kilon alios kilon.al...@gmail.com έγραψε:

Re: [Pharo-dev] Questions about Athens

2013-11-12 Thread kilon alios
Igor just for the record, I still have not figure out why I had this problem in the first place. I was using self extent and that was giving me a NB error as I posted in the first stack trace. I changed it to self defaultExtent that returns a point with the default size of the area of the Morph

Re: [Pharo-dev] Questions about Athens

2013-11-11 Thread kilon alios
Igor I am trying your session code but it does not work for me. I still get the red box of doom. This is the method checkSession session == Smalltalk session ifFalse: [ surface := surface := AthensCairoSurface extent: self extent. . session := Smalltalk session. ] and This is my full stack

Re: [Pharo-dev] Questions about Athens

2013-11-11 Thread kilon alios
sorry previous stack was for slightly diffirent code this is the correct one UndefinedObject(Object)doesNotUnderstand: #drawDuring: Hyperionrender HyperiondrawOn: FormCanvas(Canvas)draw: FormCanvas(Canvas)drawMorph: Hyperion(Morph)fullDrawOn: in Block: [ ... FormCanvasroundCornersOf:in:during:

Re: [Pharo-dev] Questions about Athens

2013-11-11 Thread kilon alios
Ignore my last messages. Apparently I had an error with my code I just did not understand the error report. Everything works fone now. Στις 11 Νοε 2013 4:46 μ.μ., ο χρήστης kilon alios kilon.al...@gmail.com έγραψε: sorry previous stack was for slightly diffirent code this is the correct one

Re: [Pharo-dev] Questions about Athens

2013-11-02 Thread kilon alios
and here is the strange MNU that I was talking about earlier here is the full stack Hyperion(Object)doesNotUnderstand: #passenger PackageTreeModelacceptDroppingMorph:event:inMorph: MorphTreeMorphacceptDroppingMorph:event: MorphTreeMorph(Morph)handleDropMorph: DropEventsentTo:

Re: [Pharo-dev] Questions about Athens

2013-11-01 Thread kilon alios
Igor I got Athens-Tutorial but it gives me a MNU: AthensViewMorphlayout: On Fri, Nov 1, 2013 at 10:23 AM, kilon alios kilon.al...@gmail.com wrote: ShivaVG looks definitely as a way to ease the pain of porting to OpenGL. Some notes on the matter. The Cairo backend for OpenGL is opengl but yet

Re: [Pharo-dev] Questions about Athens

2013-11-01 Thread Stéphane Ducasse
On Nov 1, 2013, at 10:02 AM, kilon alios kilon.al...@gmail.com wrote: Igor I got Athens-Tutorial but it gives me a MNU: AthensViewMorphlayout: strange tell us more. You know which image …. Stef On Fri, Nov 1, 2013 at 10:23 AM, kilon alios kilon.al...@gmail.com wrote:

Re: [Pharo-dev] Questions about Athens

2013-11-01 Thread kilon alios
Again I am following Igor instructions, loaded Athens-Tutorial from smalltalkhub , opened a new workspace, AthensTutorial open. I am using a pharo 3 that downloaded just yesterday. (Pharo3.0 Latest update: #30532) here is the full stack AthensViewMorph(Object)doesNotUnderstand: #layout:

Re: [Pharo-dev] Questions about Athens

2013-11-01 Thread Stéphane Ducasse
Ok now the explanation :) Spec changed recently in 30. Stef Again I am following Igor instructions, loaded Athens-Tutorial from smalltalkhub , opened a new workspace, AthensTutorial open. I am using a pharo 3 that downloaded just yesterday. (Pharo3.0 Latest update: #30532) here is the

Re: [Pharo-dev] Questions about Athens

2013-11-01 Thread Igor Stasenko
On 1 November 2013 14:32, Stéphane Ducasse stephane.duca...@inria.frwrote: Ok now the explanation :) Spec changed recently in 30. then i need help on that.. what is needs to be changed. btw, i noticed that monticello configuration browser also having problems with spec. Stef Again I am

[Pharo-dev] Questions about Athens

2013-10-31 Thread kilon alios
I created a new subject About the problem to recreate it all it takes is a demo := AthensDemoMorph new openInWorld . It opens the morph with the Athens grey box, I save the image , close pharo, open pharo which reloads the image automagically and BOOM Red Box of Doom :) My other tries also are

Re: [Pharo-dev] Questions about Athens

2013-10-31 Thread Alexandre Bergel
Hi Kilon, Roassal uses Athens (look for a dedicated package in the Roassal smalltalkhub repository). You may want to have a look at the implementation if you are looking for an application using Athens. Cheers, Alexandre On Oct 31, 2013, at 2:24 PM, kilon alios kilon.al...@gmail.com wrote:

Re: [Pharo-dev] Questions about Athens

2013-10-31 Thread Stéphane Ducasse
Hi I created a new subject About the problem to recreate it all it takes is a demo := AthensDemoMorph new openInWorld . It opens the morph with the Athens grey box, I save the image , close pharo, open pharo which reloads the image automagically and BOOM Red Box of Doom :) My other

Re: [Pharo-dev] Questions about Athens

2013-10-31 Thread kilon alios
Thank you Alexander and Stephane , I did not know that Roassal use Athens. This certainly will be helpful for me. Stephane, about NBOpenGL , my problem was opengl itself not NBOpenGL , I learned a lot of things true and yeah I did not know Roassal is using NBOpenGL but even if I did as you said

Re: [Pharo-dev] Questions about Athens

2013-10-31 Thread Igor Stasenko
On 31 October 2013 18:24, kilon alios kilon.al...@gmail.com wrote: I created a new subject About the problem to recreate it all it takes is a demo := AthensDemoMorph new openInWorld . It opens the morph with the Athens grey box, I save the image , close pharo, open pharo which reloads the

Re: [Pharo-dev] Questions about Athens

2013-10-31 Thread Igor Stasenko
On 31 October 2013 20:01, kilon alios kilon.al...@gmail.com wrote: Thank you Alexander and Stephane , I did not know that Roassal use Athens. This certainly will be helpful for me. Stephane, about NBOpenGL , my problem was opengl itself not NBOpenGL , I learned a lot of things true and yeah

Re: [Pharo-dev] Questions about Athens

2013-10-31 Thread Igor Stasenko
On 31 October 2013 22:39, kilon alios kilon.al...@gmail.com wrote: thanks Igor for the very thorough answer. I took a look at AthensViewScene , I see initializeForNewSession , Smalltalk session and the other state methods, it starts to make sense now. I will get the tutorial and together

Re: [Pharo-dev] Questions about Athens

2013-10-31 Thread Alexandre Bergel
Regarding OpenGL, we intensively use it for Roassal3d, also available on smalltalkhub. Screenshots are available on https://m.facebook.com/ObjectProfile?id=340543479365589_rdr Cheers, Alexandre Le 31-10-2013 à 16:01, kilon alios kilon.al...@gmail.com a écrit : Thank you Alexander and

Re: [Pharo-dev] Questions about Athens

2013-10-31 Thread Alexandre Bergel
Not sure to fully understand the problem. In what ShivaVG would solve a situation better than with Athens? If I understand well, a then working with Cairo uses the hardware acceleration right? What is it not enough for you need? Alexandre Le 31-10-2013 à 19:16, Igor Stasenko