Re: [Stellarium-pubdevel] Android porting

2012-02-09 Thread Brady Brenot
Fixed that by adding -DQT_PLUGIN in addition to -DQT_STATICPLUGIN for the GUI plugin. It runs. Not well; it's slow (10-18 FPS), the fonts gradually corrupt themselves, and the stars don't seem to render. It does eventually hit the context assert again after something else changes the context. I'm

[Stellarium-pubdevel] New NGC catalogue

2012-02-09 Thread Thomas Morris
Hi, I'm creating a new thread as per Bogdan's suggestion. I'm afraid I've been busy for a couple of months but I'd really like to complete this blueprint and merge with the main development trunk. I'm currently slightly stuck with the orientation of the nebulae, because North isn't always up, and

Re: [Stellarium-pubdevel] Android porting

2012-02-09 Thread Brady Brenot
I've tracked that one down. Somehow, the current GL Context is changed by loadingBar.draw(); Called in StellApp.cpp:247 After the context is changed, it refuses to change back, and we eventually hit that assert. Commenting the draw() call out gets me all the way to the point where it asserts ov

Re: [Stellarium-pubdevel] Dynamic loading/unloading of modules

2012-02-09 Thread Matthew Gates
According to a comment in StelModule.hpp, deinit is: Called before the module will be delete, and before the openGL context is suppressed. Deinitialize all openGL texture in this method. So my guess is that GUI stuff can be deleted in the destructor for the child of StelModule. Does

Re: [Stellarium-pubdevel] Dynamic loading/unloading of modules

2012-02-09 Thread Alexander Wolf
2012/2/9 Bogdan Marinov : > Bernhard Reutner-Fischer had proposed a dynamic loading mechanism some time > ago: > https://code.launchpad.net/~rep-dot-nop/stellarium/http_proxy > http://thread.gmane.org/gmane.science.astronomy.stellarium.devel/319 > > I thought that this was (based on) his branch, b

Re: [Stellarium-pubdevel] Dynamic loading/unloading of modules

2012-02-09 Thread Bogdan Marinov
On Wed, Feb 8, 2012 at 12:47 AM, Matthew Gates wrote: > Hi all, > > Alex pointed me at the dynamic-mgr-plugins branch and asked that I > take a look at it with respect to stabilization - the goal being to > merge dynamic-mgr-plugins at some point.  I like the dynamic loading > feature very much, a

Re: [Stellarium-pubdevel] Pushing a branch to the server

2012-02-09 Thread Bogdan Marinov
On Sat, Sep 24, 2011 at 2:28 AM, Thomas Morris wrote: > Hi Alex, > > The new NGC catalog is available in: > lp:~tom-s-morris/stellarium/new-ngc-catalog > > * Rotation angle needs fixing (look at M31) > * Mag 0 objects need fixing (should I choose e.g. mag 20 as > 'undefined'?). Luckily there aren'

Re: [Stellarium-pubdevel] Android porting

2012-02-09 Thread Cao Fei
Yes, me too. I just commented out that line On Thu, Feb 9, 2012 at 2:19 PM, Brady Brenot wrote: > Never mind, I'm hitting the same snag in > > Q_ASSERT(StelPainter::glContext==QGLContext::currentContext()); > > > On Tue, Feb 7, 2012 at 3:04 PM, Jan Kotek wrote: > >> Hi, >> >> Just a note: >