Re: [Flightgear-devel] shut off fading in

2006-11-23 Thread Thomas Biwer
Well, by digging through the code I found what is responsible for the
fading. It's in src/Main/renderer.cxx from line 752 on. Just commenting out
these lines killed the fading-in-behaviour. For some reason, the
--enable-freeze option doesnt seem to work, which is why I simply press "p"
while FlightGear is loading scenery objects. That way, FG starts without
fading and without a loss of framerate showing in pause-mode and I can
adjust the view or whatever and then take off.

Just in case anyone is looking for the same question someday in the mailing
list's archive...

Thank you for your help,

Best,
Thomas

>
>> Fred, Richard,
>>
>>> Could you start with --enable-freeze (I think it is, it might be
>>> --enable-pause) and then unpause the sim when the screen is ready for
>>> you?
>
>Try:
>fgfs .-prop:/sim/freeze/clock=true --prop:/sim/freeze/master=true
>- --prop:/sim/sceneryloaded-override=true
>instead of --enable-freeze. It's not perfect, but it improves the
>situation for me. You can wait till everything seems to be loaded and
>then unpause. The screen will come immediately after that and you can
>start to react as soon as the sim starts.
>
>Nine
>


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] shut off fading in

2006-11-22 Thread Thomas Biwer
Stefan,

Thank you. seems to be the most reasonable approach as for now.

Best,
Thomas

>
>Try:
>fgfs .-prop:/sim/freeze/clock=true --prop:/sim/freeze/master=true
>- --prop:/sim/sceneryloaded-override=true
>instead of --enable-freeze. It's not perfect, but it improves the
>situation for me. You can wait till everything seems to be loaded and
>then unpause. The screen will come immediately after that and you can
>start to react as soon as the sim starts.
>
>Nine
>


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] shut off fading in

2006-11-22 Thread Stefan Seifert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thomas Biwer wrote:
> Fred, Richard,
> 
>> Could you start with --enable-freeze (I think it is, it might be
>> --enable-pause) and then unpause the sim when the screen is ready for
>> you?

Try:
fgfs .-prop:/sim/freeze/clock=true --prop:/sim/freeze/master=true
- --prop:/sim/sceneryloaded-override=true
instead of --enable-freeze. It's not perfect, but it improves the
situation for me. You can wait till everything seems to be loaded and
then unpause. The screen will come immediately after that and you can
start to react as soon as the sim starts.

Nine
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFFZDNP1QuEJQQMVrgRAsRHAJsFIn9SJ7HZrZo6nxjkWluqxjL+PQCfRIZk
9s2eY0iRBkdeQ4b75CQg8/k=
=dH5M
-END PGP SIGNATURE-

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] shut off fading in

2006-11-22 Thread Thomas Biwer
Anders,

i think the problem within that is that pausing FlightGear pauses the fdm
as well as loading the scenery - so the problem will be the same.
what I am looking for is a function to pause the FDM, while the scenery is
continuing loading. In that way, I could start the FDM as soon as the
scenery is loaded.

Best,
Thomas


>
>On Wed, 22 Nov 2006, Frederic Bouvier wrote:
>
>> The fade out / fade in is here to hide deferred scenery loading.
Unfortunately,
>> the fdm start very early, before all the scenery is loaded ( by another
thread
>> ). The right question would be : is there a way to tell the fdm not to
start
>> before the scenery is loaded ? a question I don't have an answer for,
sorry.
>
>Is there no way to tell FlightGear to start in paused mode?
>If there is perhaps some Nasal script could unpause after some appropriate
>delay.
>
>Cheers,
>/Anders
>---

>Anders Gidenstam
>mail: andersg(at)gidenstam.org
>WWW: http://www.gidenstam.org/FlightGear/JSBSim-LTA/
>



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] shut off fading in

2006-11-22 Thread Thomas Biwer
Fred, Richard,

>
>Could you start with --enable-freeze (I think it is, it might be
>--enable-pause) and then unpause the sim when the screen is ready for
>you?
>
>Richard
>

--enable-pause is unknown and the --enable-freeze option doesnt do anything
over here, FG just starts as usual, including fading in...


>
>The fade out / fade in is here to hide deferred scenery loading.
Unfortunately,
>the fdm start very early, before all the scenery is loaded ( by another
thread
>). The right question would be : is there a way to tell the fdm not to
start
>before the scenery is loaded ? a question I don't have an answer for,
sorry.
>
>-Fred
>

Exactly. This is what I wanted to ask, thank you for finding the right
words... :-) Well, maybe I'll dig into some code, though I think it wont be
that easy to find out where the problem is.

Any hints or thoughts are very appreciated...


Thanks,

Thomas

>> -Original Message-
>> Fred,
>>
>> Thank you for your help. This seems to turn off the fading but also
>results in a quite significant drop of the framerate... at least in the
>first minutes.
>> Might there be another solution to turn off fading in?
>>
>> Best,
>> Thomas
>

This e-mail has been scanned for Bede Scientific Instruments for all
viruses by Star Internet. The service is powered by MessageLabs. For
more information on a proactive anti-virus service working around the
clock, around the globe, visit: http://www.star.net.uk


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] shut off fading in

2006-11-22 Thread Anders Gidenstam
On Wed, 22 Nov 2006, Frederic Bouvier wrote:

> The fade out / fade in is here to hide deferred scenery loading. 
> Unfortunately,
> the fdm start very early, before all the scenery is loaded ( by another thread
> ). The right question would be : is there a way to tell the fdm not to start
> before the scenery is loaded ? a question I don't have an answer for, sorry.

Is there no way to tell FlightGear to start in paused mode?
If there is perhaps some Nasal script could unpause after some appropriate 
delay.

Cheers,
/Anders
-- 
---
Anders Gidenstam
mail: andersg(at)gidenstam.org
WWW: http://www.gidenstam.org/FlightGear/JSBSim-LTA/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] shut off fading in

2006-11-22 Thread Richard Bytheway
Could you start with --enable-freeze (I think it is, it might be
--enable-pause) and then unpause the sim when the screen is ready for
you?

Richard 

> -Original Message-
> Fred,
> 
> Thank you for your help. This seems to turn off the fading but also
results in a quite significant drop of the framerate... at least in the
first minutes.
> Might there be another solution to turn off fading in?
> 
> Best,
> Thomas


This e-mail has been scanned for Bede Scientific Instruments for all 
viruses by Star Internet. The service is powered by MessageLabs. For
more information on a proactive anti-virus service working around the
clock, around the globe, visit: http://www.star.net.uk


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] shut off fading in

2006-11-22 Thread Frederic Bouvier
Quoting Thomas Biwer :

> Fred,
>
> Thank you for your help. This seems to turn off the fading but also results
> in a quite significant drop of the framerate... at least in the first
> minutes.
> Might there be another solution to turn off fading in?

The fade out / fade in is here to hide deferred scenery loading. Unfortunately,
the fdm start very early, before all the scenery is loaded ( by another thread
). The right question would be : is there a way to tell the fdm not to start
before the scenery is loaded ? a question I don't have an answer for, sorry.

-Fred

--
Frédéric Bouvier
http://frfoto.free.fr  Photo gallery - album photo
http://www.fotolia.fr/p/2278/partner/2278  Other photo gallery
http://fgsd.sourceforge.net/   FlightGear Scenery Designer

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] shut off fading in

2006-11-22 Thread Thomas Biwer
Fred,

Thank you for your help. This seems to turn off the fading but also results
in a quite significant drop of the framerate... at least in the first
minutes.
Might there be another solution to turn off fading in?

Best,
Thomas


>
>Try :
>$ fgfs --prop:/sim/sceneryloaded-override=true
>
>-Fred
>
>
>Quoting Thomas Biwer :
>
>>
>> Hello,
>>
>> I noticed that as you start or reset FG the screen kind of fades in.
This
>> looks quite nice but it interferes with me as I want to start FG with
>> initial conditions, and the delay this fading process causes doesnt
allow
>> me to see the aircraft from the beginning - so I find myself within the
>> aircraft somewhere in the sky, because I just didnt have enough time to
>> react on the initial conditions I set...
>> So what I wanted to know is if there is a way to turn off this
>> fading-in-feature via command-line options or maybe a way to tell
>> flightgear to start the simulation a few seconds after the fading
process
>> started?
>> And if there is not, could you point me towards the right file in the
>> source code that manages this fading process?
>>
>> Any help is very appreciated. Thank you.
>






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] shut off fading in

2006-11-22 Thread Frederic Bouvier
Quoting Thomas Biwer :

>
> Hello,
>
> I noticed that as you start or reset FG the screen kind of fades in. This
> looks quite nice but it interferes with me as I want to start FG with
> initial conditions, and the delay this fading process causes doesnt allow
> me to see the aircraft from the beginning - so I find myself within the
> aircraft somewhere in the sky, because I just didnt have enough time to
> react on the initial conditions I set...
> So what I wanted to know is if there is a way to turn off this
> fading-in-feature via command-line options or maybe a way to tell
> flightgear to start the simulation a few seconds after the fading process
> started?
> And if there is not, could you point me towards the right file in the
> source code that manages this fading process?
>
> Any help is very appreciated. Thank you.

Try :
$ fgfs --prop:/sim/sceneryloaded-override=true

-Fred

--
Frédéric Bouvier
http://frfoto.free.fr  Photo gallery - album photo
http://www.fotolia.fr/p/2278/partner/2278  Other photo gallery
http://fgsd.sourceforge.net/   FlightGear Scenery Designer

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] shut off fading in

2006-11-22 Thread Thomas Biwer

Hello,

I noticed that as you start or reset FG the screen kind of fades in. This
looks quite nice but it interferes with me as I want to start FG with
initial conditions, and the delay this fading process causes doesnt allow
me to see the aircraft from the beginning - so I find myself within the
aircraft somewhere in the sky, because I just didnt have enough time to
react on the initial conditions I set...
So what I wanted to know is if there is a way to turn off this
fading-in-feature via command-line options or maybe a way to tell
flightgear to start the simulation a few seconds after the fading process
started?
And if there is not, could you point me towards the right file in the
source code that manages this fading process?

Any help is very appreciated. Thank you.

Best,
Thomas


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel