Re: [Stellarium-pubdevel] SVG support

2013-10-11 Thread Fabien Chéreau
Barry, I tried to compile on windows and it works almost out of the box. If you start from a clean computer, you only need to install the Qt SDK (Qt5.1.1) with Mingw, a recent cmake and zlib. Open the CmakeList.txt, build and run (you also need to copy all the dll from you QT install into the direc

[Stellarium-pubdevel] Revision 6311 issue

2013-10-11 Thread Reaves, Timothy
Fabien, with the revision, on Mac, StelSphereGeometry.hpp:313 crashes the app. This line is: virtual bool contains(const Vec3f &v) const {Q_ASSERT(d==0 || std::fabs(v.lengthSquared()-1.f)<0.02f);return (v[0]*n[0]+v[1]*n[1]+v[2]*n[2]>=d);} Alex is saying that on Linux, this does not happen

Re: [Stellarium-pubdevel] Revision 6311 issue

2013-10-11 Thread Fabien Chéreau
Yes, it's because of a recent change. I'll fix it ASAP. In the mean time, compile in release mode, it will deactivate the assert. Fabien On Fri, Oct 11, 2013 at 2:33 PM, Reaves, Timothy < trea...@silverfieldstech.com> wrote: > Fabien, with the revision, on Mac, StelSphereGeometry.hpp:313 crashes

Re: [Stellarium-pubdevel] Revision 6311 issue

2013-10-11 Thread Reaves, Timothy
O.K. Just out of curiosity, do you have any idea why the difference between the platforms? On Fri, Oct 11, 2013 at 8:44 AM, Fabien Chéreau wrote: > Yes, it's because of a recent change. I'll fix it ASAP. In the mean time, > compile in release mode, it will deactivate the assert. > Fabien > > >

Re: [Stellarium-pubdevel] Revision 6311 issue

2013-10-11 Thread Fabien Chéreau
I think one is compiled in release the other in debug.. Fabien On Fri, Oct 11, 2013 at 2:53 PM, Reaves, Timothy < trea...@silverfieldstech.com> wrote: > O.K. Just out of curiosity, do you have any idea why the difference > between the platforms? > > > On Fri, Oct 11, 2013 at 8:44 AM, Fabien Ché

Re: [Stellarium-pubdevel] Revision 6311 issue

2013-10-11 Thread Reaves, Timothy
:) That could do it. On Fri, Oct 11, 2013 at 8:55 AM, Fabien Chéreau wrote: > I think one is compiled in release the other in debug.. > Fabien > > > On Fri, Oct 11, 2013 at 2:53 PM, Reaves, Timothy < > trea...@silverfieldstech.com> wrote: > >> O.K. Just out of curiosity, do you have any idea w

Re: [Stellarium-pubdevel] SVG support

2013-10-11 Thread Georg Zotti
On Fr, 11.10.2013, 12:12, Fabien Chéreau wrote: > Barry, > I tried to compile on windows and it works almost out of the box. If you start from a clean computer, you only need to install the Qt SDK (Qt5.1.1) > with Mingw, a recent cmake and zlib. and gettext, right? > Open the CmakeList.txt, build

Re: [Stellarium-pubdevel] SVG support

2013-10-11 Thread Fabien Chéreau
On Fri, Oct 11, 2013 at 3:50 PM, Georg Zotti wrote: > On Fr, 11.10.2013, 12:12, Fabien Chéreau wrote: > > Barry, > > I tried to compile on windows and it works almost out of the box. If you > start from a clean computer, you only need to install the Qt SDK > (Qt5.1.1) > > with Mingw, a recent cmak

Re: [Stellarium-pubdevel] SVG support

2013-10-11 Thread Reaves, Timothy
Fabien, do you know if my texture PNG can have the mip-mapped sizes, or must OpenGL create them? The reason I ask is I'm currently telling StelTextureManager to create MIPMAPS, and wondered if there was any way to know that it was actually occurring. On Fri, Oct 11, 2013 at 10:25 AM, Fabien Chér

Re: [Stellarium-pubdevel] SVG support

2013-10-11 Thread Fabien Chéreau
Actually, it seems that this code is deactivated right now :( I see this in Steltexture.cpp bool genMipmap = false; if (genMipmap) glGenerateMipmap(GL_TEXTURE_2D); Guillaume was working on a code cleanup for textures, so it could be that this will be fixed when

Re: [Stellarium-pubdevel] Initial Hi DPI support

2013-10-11 Thread Reaves, Timothy
There is an issue with the current approach; everything that does drawing needs to know to check StelProjectorParams and apply devicePixelsPerPixel. On Fri, Oct 4, 2013 at 4:11 AM, Fabien Chéreau wrote: > Great thanks! > > > > On Fri, Oct 4, 2013 at 1:25 AM, Reaves, Timothy < > trea...@silverfi

Re: [Stellarium-pubdevel] SVG support

2013-10-11 Thread Barry Gerdes
Hi Fabien I have no trouble compiling on windows on five computers running Win 7, win 8, Win 8.1 and xp My gripe about the mingw 4.8 is the size and time taken to download and install cmake 2.8.11 is no bother but make sure that the zlib being used is the 2.7 or later version. Problems with pa