Re: [Flightgear-devel] Pacific Northwest Scenery Available
If you want to get 'really' fancy, rwy_prec.cxx and rwy_visual.cxx should also be updated at line 101 with the same fix. Cheers John -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Pacific Northwest Scenery Available
It seems to me, on line 97 of rwy_nonprec.cxx, the current line: double length = rwy_info.length / 2.0 + 2.0; should be: // we also check for the displaced threshold, which may make the runway too short (old KVUO bug). double length = ((rwy_info.length - (rwy_info.disp_thresh1 + rwy_info.disp_thresh2)) / 2.0) + 2.0; Please let me know if I am wrong, I am not all that great with C++. For instance, it looks to me as if this just prints an error message, but if this is tripped the function should break and print basic markings instead. Yours John Holden -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] ..scripted builds fails to build OSG and FG, was: ..tante Ju is nude...
On Fri, 08 Apr 2011 08:12:09 +0200, Detlef wrote in message 1302243129.2611.0.camel@Vulnavia: Am Donnerstag, den 07.04.2011, 17:12 +0200 schrieb Arnt Karlsen: Hi, ..ju52 and ju52floats has lost airframe visibility, powerplants, gear, struts and floats, cabin and cockpit remains visible, cabin floor is invisible from below, looks funny kinky but flies fine. ..this (shader bug???) started between compilation_log.2011-03-29+08:26:07 with c++-4.5.2-8 ..was my last successful OSG-build, OSG-2.9.9 and OSG-2.9.11 now also fails to build with c++-4.5.2-8, I'm using: http://www.gitorious.org/fg/fgmeta/blobs/raw/master/download_and_compile.sh (and my own system-OSG version of it) as adviced in: http://wiki.flightgear.org/index.php?title=Scripted_Compilation_on_Linux_Debian/Ubuntu and compilation_log.2011-04-06+04:33:17 with c++-4.6.0-2. ..both plib and SimGear builds ok on c++-4.6.0-2 and my last OSG, and on system OSG (2.9.11-1), but fgfs build fails with: make[3]: Entering directory `/home/arnt/FG-git/fgfs/flightgear/src/FDM' g++ -DHAVE_CONFIG_H -I. -I../../src/Include -I../.. -I../../src -I../../src/FDM/JSBSim -I/home/arnt/FG-git/install/simgear/include -I/home/arnt/FG-git/install/plib/include -I/usr/local/include -g -O2 -Wall -I/home/arnt/FG-git/install/simgear -D_REENTRANT -MT flightProperties.o -MD -MP -MF .deps/flightProperties.Tpo -c -o flightProperties.o flightProperties.cxx In file included from flightProperties.cxx:23:0: ../../src/FDM/flightProperties.hxx:48:44: error: ‘NULL’ was not declared in this scope make[3]: *** [flightProperties.o] Error 1 make[3]: Leaving directory `/home/arnt/FG-git/fgfs/flightgear/src/FDM' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/arnt/FG-git/fgfs/flightgear/src/FDM' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/arnt/FG-git/fgfs/flightgear/src' make: *** [install-recursive] Error 1 ..line 47-49 in ../../src/FDM/flightProperties.hxx: public: FlightProperties(SGPropertyNode* aRoot = NULL); ~FlightProperties(); ..nudity: ;o) https://github.com/gasguru/flightgearthings/tree/master/tanteJu52isNude ..which other planes use the same shaders as the ju52? the spitfire IX ..and the spitfireLF-IX, and the ec130 chopper. -- ..med vennlig hilsen = with Kind Regards from Arnt Karlsen ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] OSG caching (was: Texture cache)
On Sun, Apr 3, 2011 at 11:39 PM, Tim Moore timoor...@gmail.com wrote: On Sun, Apr 3, 2011 at 3:41 PM, ThorstenB bre...@gmail.com wrote: I've also been using CACHE_ALL since then - not seeing any problems. But I haven't checked memory consumption. So, what's the status about the OSG caching options, should we enable these? Tim? There are two issues I can think of. One is that animations might not work correctly with caching enabled, but I think the copying we do elsewhere should take care of that. The other is that memory usage will be higher with caching enabled. You can say THAT again! I wonder if OSG people know that they should also throw out stuff from cache, not just put things in! I have been bold enough to use the CACHE_ALL for today's TGA multiplayer event ... at the end of the 6th hour or so, FG's memory usage reached 7.5GB, with the extensive swapping negating any eventual advantage of the caching. So, I certainly do not recommend setting this option on by default, until the behavior is fixed (such as by introducing a memory limit). -- Cheers, Csaba/Jester -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] ..scripted builds fails to build OSG and FG, was: ..tante Ju is nude...
On Sun, Apr 10, 2011 at 2:52 AM, Arnt Karlsen a...@c2i.net wrote: ..was my last successful OSG-build, OSG-2.9.9 and OSG-2.9.11 now also fails to build with c++-4.5.2-8, I'm using: http://www.gitorious.org/fg/fgmeta/blobs/raw/master/download_and_compile.sh (and my own system-OSG version of it) as adviced in: http://wiki.flightgear.org/index.php?title=Scripted_Compilation_on_Linux_Debian/Ubuntu and compilation_log.2011-04-06+04:33:17 with c++-4.6.0-2. ..both plib and SimGear builds ok on c++-4.6.0-2 and my last OSG, and on system OSG (2.9.11-1), but fgfs build fails with: make[3]: Entering directory `/home/arnt/FG-git/fgfs/flightgear/src/FDM' g++ -DHAVE_CONFIG_H -I. -I../../src/Include -I../.. -I../../src -I../../src/FDM/JSBSim -I/home/arnt/FG-git/install/simgear/include -I/home/arnt/FG-git/install/plib/include -I/usr/local/include -g -O2 -Wall -I/home/arnt/FG-git/install/simgear -D_REENTRANT -MT flightProperties.o -MD -MP -MF .deps/flightProperties.Tpo -c -o flightProperties.o flightProperties.cxx In file included from flightProperties.cxx:23:0: ../../src/FDM/flightProperties.hxx:48:44: error: ‘NULL’ was not declared in this scope ..line 47-49 in ../../src/FDM/flightProperties.hxx: public: FlightProperties(SGPropertyNode* aRoot = NULL); ~FlightProperties(); Indeed, NULL is a C thing, in C++ we should be using 0. Reportedly fixing this single occurrence is enough to get FG to compile, presumably somebody #defines NULL for the others (because there are tons of others). -- Cheers, Csaba/Jester -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] ..scripted builds fails to build OSG and FG
On Sun, 10 Apr 2011 02:52:34 +0200, Arnt wrote in message 20110410025234.74393785@celsius.local: ..both plib and SimGear builds ok on c++-4.6.0-2 and my last OSG, and on system OSG (2.9.11-1), but fgfs build fails with: make[3]: Entering directory `/home/arnt/FG-git/fgfs/flightgear/src/FDM' g++ -DHAVE_CONFIG_H -I. -I../../src/Include -I../.. -I../../src -I../../src/FDM/JSBSim -I/home/arnt/FG-git/install/simgear/include -I/home/arnt/FG-git/install/plib/include -I/usr/local/include -g -O2 -Wall -I/home/arnt/FG-git/install/simgear -D_REENTRANT -MT flightProperties.o -MD -MP -MF .deps/flightProperties.Tpo -c -o flightProperties.o flightProperties.cxx In file included from flightProperties.cxx:23:0: ../../src/FDM/flightProperties.hxx:48:44: error: ‘NULL’ was not declared in this scope make[3]: *** [flightProperties.o] Error 1 make[3]: Leaving directory `/home/arnt/FG-git/fgfs/flightgear/src/FDM' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/arnt/FG-git/fgfs/flightgear/src/FDM' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/arnt/FG-git/fgfs/flightgear/src' make: *** [install-recursive] Error 1 ..full FGFS compile log on the above error: https://github.com/gasguru/flightgearthings/blob/master/compilelogs/compilation_log.2011-04-10+00:48:48-UTC-FGFS ..more (PLIB, OSG, etc) compile logs with more errors and warnings: https://github.com/gasguru/flightgearthings/tree/master/compilelogs UTC is the famous time zone. ..modified build script uses system OSG, sets timestamps and renames each compile log on exit, with job name: https://github.com/gasguru/flightgearthings/blob/master/download_and_compile.sh-1.2.0-sysOSG ..line 47-49 in ../../src/FDM/flightProperties.hxx: public: FlightProperties(SGPropertyNode* aRoot = NULL); ~FlightProperties(); ..if this is the right error line, how do I fix it??? -- ..med vennlig hilsen = with Kind Regards from Arnt Karlsen ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel