[Flightgear-devel] Snow questions

2012-04-16 Thread Renk Thorsten

I've implemented the snow shader effect into lightfield rendering yesterday - 
this looks quite promising already:

http://www.flightgear.org/forums/viewtopic.php?f=47t=14755start=165#p155463

but I have a few questions I've come across?

I've tried to use /environment/snow-level-m to control the effect initially, 
but it turned out I can't set that while Advanced Weather was running, even 
with METAR mode off. I've then introduced my own alternative snowline property 
that I can test the effect properly, but that's not a particularly smart 
solution. Basically, I want to be able to set /environment/snow-level-m via the 
Advanced Weather menu as well while the system is running. Can anyone give me a 
brief introduction into the logic that controls the snowline currently so that 
I can decide how to best approach this?

Also, I was wondering about changing the snowline dependent if the surface is 
facing south or north. Do we know in model space where south is, in other 
words, are the terrain tiles loaded in a well-defined orientation like (1,0,0) 
points west or so, or is there some unpredictable offset involved?

The noise texture seems a very useful technique for all sorts of things - does 
anyone know a short writeup about what exactly it does (at what scale is noise 
generated, by what algorithm, ...)? - maybe I can use something like that to 
get some variation into the apparent fog density and distort the horizon line a 
bit for a more realistic effect.

Also, debugging was unusually tough because since a while ago my console is 
flooded by messages calculating estimated arrival times after a minute or so 
and the messages I've been waiting for are lost - is that the AI system (which 
was actually set to off on startup by property)? Can we get rid of this?

Thanks in advance for any help,

* Thorsten
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-16 Thread Geoff McLane
On Tue, 2012-04-10 at 17:22 +0200, Gijs de Rooy wrote:
 http://wiki.flightgear.org/Building_using_CMake_-_Windows in
 combination with 
 https://gitorious.org/fg/flightgear/blobs/next/docs-mini/README.MSVC
 did it for me.
 Together with some help on IRC ;-)
 
 I'll see if I can improve the wiki a bit more.
 
 Gijs

Hi Gijs,

First many thanks for a great wiki on building FG 
with CMake in Windows using MSVC10 ;=))

But I notice the link pointed to by the '3rdparty' 
folder is to a specific file which has now been 
removed from the site, namely :-
 fgfs-win32-VS100-3rdParty+OSG-20120304.zip

Maybe the link could just be -
 ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32/MSVC/

I think I could make this edit change if you like,
but do not want to mess up any other plans you may 
have.

Also on the FTP site I note the file names STILL 
have +OSG in them, but they now do not contain OSG 
headers/libs/dlls ;=() The previous 20120304 contained 
install\msvc90\OpenSceneGraph... stuff.

Yes, I know the msvc100/OpenSceneGraph stuff can be
all found in the 'archive.zip' pointed to by the 
'OpenSceneGraph' link, but the one thing about that 
'archive.zip' is that the folder name 'archive/' 
is prepended before 'install/'.

That of course is no particular problem, but it does 
mean some 'manual' folder manipulation after you 
unzip it ;=))

Anyway, thanks again...

Regards,
Geoff.




--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Rembrandt] the plan

2012-04-16 Thread Martin Spott
Frederic Bouvier wrote:

 This shader error affects shadow rendering and for now, I don't 
 have a replacement. The only thing I can propose for this kind 
 of card, is to disable shadow rendering :
 
 --prop:/sim/rendering/shadows/enabled=false

Here's your weekly screenshot from 1 hour old GIT:

jive: 11:14:57 ~ find .fgfs*
find: No match.
jive: 11:15:06 ~ env | grep \^FG
FG_HOME=/opt/FlightGear
FG_ROOT=/home/martin/SCM/FlightGear/fgdata
jive: 11:15:10 ~ fgfs --timeofday=noon --enable-rembrandt 
--prop:/sim/rendering/shaders/quality-level=0 
--prop:/sim/rendering/shaders/skydome=false 
--prop:/sim/rendering/random-vegetation=0 
--prop:/sim/rendering/no-16bit-buffer=true 
--prop:/sim/rendering/shadows/enabled=false|tee fgfs-rembrandt_03.txt

  http://foxtrot.mgras.net/bitmap/FGFS/fgfs-rembrandt_03.png

  http://foxtrot.mgras.net/bitmap/FGFS/fgfs-rembrandt_03.txt

Reminder, this is on stable Debian Linux/AMD64, Nvidia GeForce 7950 GT,
closed source driver version 295.40.

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-16 Thread Gijs de Rooy

Hi Geoff,

 First many thanks for a great wiki on building FG 
 with CMake in Windows using MSVC10 ;=))

Fred wrote it, I only added some minor things ;-)

 But I notice the link pointed to by the '3rdparty' 
 folder is to a specific file which has now been 
 removed from the site, namely :-
  fgfs-win32-VS100-3rdParty+OSG-20120304.zip

Oops, fixed now (together with some other things). Thanks!

 Also on the FTP site I note the file names STILL 
 have +OSG in them, but they now do not contain OSG 
 headers/libs/dlls ;=() The previous 20120304 contained 
 install\msvc90\OpenSceneGraph... stuff.

That's also Fred's work...

Cheers,
Gijs
  --
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-16 Thread castle . 64


Hi, 



with some generous help and advice from Geoff, finally got an FG build on 
windows done,  phewww! 



Using latest git version as of the 15th. 



But now it crashes on startup :-(  



Complains about not finding a plugin to read objects from file 
c:/fg-2.7.0/fgdata/xx from the gitgo. 



Missing dependency; file path problem, command argument?? 



any suggestions on where or what to look for? 



Thanks 

John 

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-16 Thread Geoff McLane
On Mon, 2012-04-16 at 12:53 +, castle...@comcast.net wrote:
 Complains about not finding a plugin to read objects from file
 c:/fg-2.7.0/fgdata/xx from the gitgo.

Hi John,

Well it seems some good news and some 
bad news ;=))

Missing plugin... yes this is quite common, 
unfortunately ;=(( Suggests some problems 
with the OSG used, or something...

But you give NO INFORMATION on exactly what you 
built!!! Exactly WHAT 3rdparty stuff you 
used? Versus what did you build from source?

I built Release SG/FG yesterday, git 15th like you,
in a root c:\FG\14, using :-

\3rdparty - fgfs-win32-VS100-3rdParty+OSG-20120411.zip

\install\msvc100\OpenSceneGraph - archive.zip, after 
 removing the initial 'archive/' folder...

And (mostly) following the Fred/Gijs cmake wiki...

Built and installed Release SG in 
 \install\msvc100\SimGear
so pointed to that when building FG...

Built c:\FG\14\build-fg\src\Main\Release\fgfs.exe

After adding the path -
c:\FG\14\install\msvc100\OpenSceneGraph\bin
to my PATH environment variable, this ran well in 
normal mode, no problems, but no rembrandt shadows 
on a trial of that... but that can wait... all else 
worked well in the few simple flights done...

So what 3rdparty stuff did you use? What was your 
command line? What exactly was the console 
output?

Then we MAY be able to help more...

Regards,
Geoff.




--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-16 Thread castle . 64


Hi Geoff, 

OK. the SG and FG versions were from git on the 15th as well as the fgdata as 
of last night 

the 3rd party was the same as you noted. 
\3rdparty - fgfs-win32-VS100-3rdParty+OSG-20120411.zip 

Thought I mentioned that in an earlier email. No problem, bears worth repeating 
to make certain 

Looking over your comments, it might be my install of the OSG stuff that is 
causing the problem. Took the easy way of sticking fgfs.exe in with the 3rd 
party libraries, guessing what is missing is the OSG plugin or a path to it. 
I'll look there first. Sometimes the error msgs are not very clear to newbies. 

We'll get there... 

John 



- Original Message -
From: Geoff McLane ubu...@geoffair.info 
To: FlightGear developers discussions 
flightgear-devel@lists.sourceforge.net 
Sent: Monday, April 16, 2012 8:12:30 AM 
Subject: Re: [Flightgear-devel] FGbuild for MS Windows 

On Mon, 2012-04-16 at 12:53 +, castle...@comcast.net wrote: 
 Complains about not finding a plugin to read objects from file 
 c:/fg-2.7.0/fgdata/xx from the gitgo. 

Hi John, 

Well it seems some good news and some 
bad news ;=)) 

Missing plugin... yes this is quite common, 
unfortunately ;=(( Suggests some problems 
with the OSG used, or something... 

But you give NO INFORMATION on exactly what you 
built!!! Exactly WHAT 3rdparty stuff you 
used? Versus what did you build from source? 

I built Release SG/FG yesterday, git 15th like you, 
in a root c:\FG\14, using :- 

\3rdparty - fgfs-win32-VS100-3rdParty+OSG-20120411.zip 

\install\msvc100\OpenSceneGraph - archive.zip, after 
removing the initial 'archive/' folder... 

And (mostly) following the Fred/Gijs cmake wiki... 

Built and installed Release SG in 
\install\msvc100\SimGear 
so pointed to that when building FG... 

Built c:\FG\14\build-fg\src\Main\Release\fgfs.exe 

After adding the path - 
c:\FG\14\install\msvc100\OpenSceneGraph\bin 
to my PATH environment variable, this ran well in 
normal mode, no problems, but no rembrandt shadows 
on a trial of that... but that can wait... all else 
worked well in the few simple flights done... 

So what 3rdparty stuff did you use? What was your 
command line? What exactly was the console 
output? 

Then we MAY be able to help more... 

Regards, 
Geoff. 




-- 
For Developers, A Lot Can Happen In A Second. 
Boundary is the first to Know...and Tell You. 
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! 
http://p.sf.net/sfu/Boundary-d2dvs2 
___ 
Flightgear-devel mailing list 
Flightgear-devel@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/flightgear-devel 
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Rembrandt] the plan

2012-04-16 Thread Chris Forbes
Ignoring the horrible artifacts for a moment, I think we need at least
one more mip level on the instrument faces for the 172. Even at that
low resolution they are very blurry.

On Mon, Apr 16, 2012 at 9:24 PM, Martin Spott martin.sp...@mgras.net wrote:
 Frederic Bouvier wrote:

 This shader error affects shadow rendering and for now, I don't
 have a replacement. The only thing I can propose for this kind
 of card, is to disable shadow rendering :

 --prop:/sim/rendering/shadows/enabled=false

 Here's your weekly screenshot from 1 hour old GIT:

 jive: 11:14:57 ~ find .fgfs*
 find: No match.
 jive: 11:15:06 ~ env | grep \^FG
 FG_HOME=/opt/FlightGear
 FG_ROOT=/home/martin/SCM/FlightGear/fgdata
 jive: 11:15:10 ~ fgfs --timeofday=noon --enable-rembrandt 
 --prop:/sim/rendering/shaders/quality-level=0 
 --prop:/sim/rendering/shaders/skydome=false 
 --prop:/sim/rendering/random-vegetation=0 
 --prop:/sim/rendering/no-16bit-buffer=true 
 --prop:/sim/rendering/shadows/enabled=false|tee fgfs-rembrandt_03.txt

  http://foxtrot.mgras.net/bitmap/FGFS/fgfs-rembrandt_03.png

  http://foxtrot.mgras.net/bitmap/FGFS/fgfs-rembrandt_03.txt

 Reminder, this is on stable Debian Linux/AMD64, Nvidia GeForce 7950 GT,
 closed source driver version 295.40.

 Cheers,
        Martin.
 --
  Unix _IS_ user friendly - it's just selective about who its friends are !
 --

 --
 For Developers, A Lot Can Happen In A Second.
 Boundary is the first to Know...and Tell You.
 Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
 http://p.sf.net/sfu/Boundary-d2dvs2
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Rembrandt] the plan

2012-04-16 Thread Frederic Bouvier
 De: Martin Spott
 
 Frederic Bouvier wrote:
 
  This shader error affects shadow rendering and for now, I don't
  have a replacement. The only thing I can propose for this kind
  of card, is to disable shadow rendering :
  
  --prop:/sim/rendering/shadows/enabled=false
 
 Here's your weekly screenshot from 1 hour old GIT:
 
 jive: 11:14:57 ~ find .fgfs*
 find: No match.
 jive: 11:15:06 ~ env | grep \^FG
 FG_HOME=/opt/FlightGear
 FG_ROOT=/home/martin/SCM/FlightGear/fgdata
 jive: 11:15:10 ~ fgfs --timeofday=noon --enable-rembrandt
 --prop:/sim/rendering/shaders/quality-level=0
 --prop:/sim/rendering/shaders/skydome=false
 --prop:/sim/rendering/random-vegetation=0
 --prop:/sim/rendering/no-16bit-buffer=true
 --prop:/sim/rendering/shadows/enabled=false|tee
 fgfs-rembrandt_03.txt
 
   http://foxtrot.mgras.net/bitmap/FGFS/fgfs-rembrandt_03.png
 
   http://foxtrot.mgras.net/bitmap/FGFS/fgfs-rembrandt_03.txt
 
 Reminder, this is on stable Debian Linux/AMD64, Nvidia GeForce 7950
 GT, closed source driver version 295.40.

Although the shadows are disabled, the shadow map is allocated in case 
you want to see them in flight. To save memory, add 
--prop:/sim/rendering/shadows/map-size=2 to your list of starting options
(instead of 4096 by default).

I also updated base effects, so you can try with an updated fgdata.
I have crash on my 7600GT that seem related to VASI (and point sprite).
I also have the rather harsh fog that seem to improve by increasing 
visibility (z key).

Regards,
-Fred

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-16 Thread Rob Dosogne
On Mon, Apr 16, 2012 at 10:39,  castle...@comcast.net wrote:

 Looking over your comments, it might be my install of the OSG stuff that is
 causing the problem.  Took the easy way of sticking fgfs.exe in with the
 3rd party libraries,  guessing what is missing is the OSG plugin or a path
 to it.  I'll look there first.  Sometimes the error msgs are not very clear
 to newbies.

I keep my working binaries outside of the build folder (C:\Program
Files\FlightGear\bin\x64\ for example).  If I update OSG or any
3rd-party libs I delete everything in my working bin folder, then copy
everything from these folders:

  install/msvc100-64/OpenSceneGraph/bin/*
  3rdParty.x64/bin/*

to the folder where my working binaries reside.  I haven't had an
issue with missing or incorrect version plugins this way.

Your directory structure may be a tad different, as I see it is on the
new wiki page, but those folders either need to be in your $PATH or
their contents copied to wherever you stick fgfs.exe, etc.

Hope this helps :-)

cheers,

Rob

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel