Board index FlightGear Support Tools FGx

FGx 2.8.0rc3 for OSX with mountain lion support

A launcher for FlightGear.
Forum rules
Note that FGx has been unmaintained for years. Users may want to use the built-in Qt Launcher instead.

FGx 2.8.0rc3 for OSX with mountain lion support

Postby gral » Sat Jul 28, 2012 11:49 am

Hi all

This is the release candidate 3 for FGx with mountain lion ( OSX 10.8 ) support now. It will still work for 10.5/6/7 of course. When you want to test this candidate please download here http://downloads.fgx.ch/OSX/FGx-2.8.0rc3.zip (~750 mb). Unzip the file and move "FGx" to your Applications folder. Please overwrite, remove and/or rename older FGx versions.

-gral
gral
 
Posts: 323
Joined: Mon Nov 16, 2009 2:03 pm
Location: Zurich (Switzerland)
Callsign: HB-GRAL
Version: GIT

Re: FGx 2.8.0rc3 for OSX with mountain lion support

Postby fabio777 » Sat Jul 28, 2012 4:16 pm

Hi -gral, thanks for sharing!

Could you tell me how I can enable antialias? I'v tried with this code:

Code: Select all
--prop:/sim/rendering/multi-sample-buffers=true
--prop:/sim/rendering/multi-samples=8


but it doesn't work! :/
User avatar
fabio777
 
Posts: 15
Joined: Tue Jul 17, 2012 7:20 pm

Re: FGx 2.8.0rc3 for OSX with mountain lion support

Postby fredb » Sat Jul 28, 2012 4:40 pm

If you are using Rembrandt, MSAA is not supported. You have to rely on your driver for anti aliasing. Otherwise it should work although the number of samples (8) may not fit well with your GPU memory. You can try 2 or 4.
User avatar
fredb
 
Posts: 753
Joined: Fri Dec 01, 2006 11:41 am
Location: Paris, France

Re: FGx 2.8.0rc3 for OSX with mountain lion support

Postby fabio777 » Sat Jul 28, 2012 5:00 pm

fredb wrote in Sat Jul 28, 2012 4:40 pm:If you are using Rembrandt, MSAA is not supported. You have to rely on your driver for anti aliasing. Otherwise it should work although the number of samples (8) may not fit well with your GPU memory. You can try 2 or 4.


Thanks fredb for you answer,

I'm not using Rembrandt...I think it's not possible to adjust graphics driver settings on MacBook Pro, is it?
User avatar
fabio777
 
Posts: 15
Joined: Tue Jul 17, 2012 7:20 pm

Re: FGx 2.8.0rc3 for OSX with mountain lion support

Postby fabio777 » Sat Jul 28, 2012 5:00 pm

fredb wrote in Sat Jul 28, 2012 4:40 pm:If you are using Rembrandt, MSAA is not supported. You have to rely on your driver for anti aliasing. Otherwise it should work although the number of samples (8) may not fit well with your GPU memory. You can try 2 or 4.


Thanks fredb for you answer,

I'm not using Rembrandt...I think it's not possible to adjust graphics driver settings on MacBook Pro, is it?
User avatar
fabio777
 
Posts: 15
Joined: Tue Jul 17, 2012 7:20 pm

Re: FGx 2.8.0rc3 for OSX with mountain lion support

Postby fredb » Sat Jul 28, 2012 5:10 pm

So ...
Otherwise it should work although the number of samples (8) may not fit well with your GPU memory. You can try 2 or 4.
User avatar
fredb
 
Posts: 753
Joined: Fri Dec 01, 2006 11:41 am
Location: Paris, France

Re: FGx 2.8.0rc3 for OSX with mountain lion support

Postby fabio777 » Sun Jul 29, 2012 12:26 am

fredb wrote in Sat Jul 28, 2012 5:10 pm:So ...
Otherwise it should work although the number of samples (8) may not fit well with your GPU memory. You can try 2 or 4.


I tried 4 and 2, but it still doesn't work.
User avatar
fabio777
 
Posts: 15
Joined: Tue Jul 17, 2012 7:20 pm

Re: FGx 2.8.0rc3 for OSX with mountain lion support

Postby fredb » Sun Jul 29, 2012 8:51 am

Are you sure your GPU support multi sample anti aliasing ?
User avatar
fredb
 
Posts: 753
Joined: Fri Dec 01, 2006 11:41 am
Location: Paris, France

Re: FGx 2.8.0rc3 for OSX with mountain lion support

Postby CharlieTheNinth » Sun Jul 29, 2012 11:51 am

Anti-aliasing doesn't work on my Mac either. Maybe someone could add an easy anti-aliasing switch in FGx?

Other than that, this rc works almost fine on my Mac. However, FlightGear doesn't exit properly, but crashes "on demand" instead (I already reported this issue in the bug tracker). Does this happen to anyone else?
CharlieTheNinth
 
Posts: 8
Joined: Mon Feb 20, 2012 12:16 pm
Location: Belgium (EBBR)
Version: 280rc2
OS: OS X Mountain Lion

Re: FGx 2.8.0rc3 for OSX with mountain lion support

Postby fabio777 » Sun Jul 29, 2012 1:01 pm

fredb wrote in Sun Jul 29, 2012 8:51 am:Are you sure your GPU support multi sample anti aliasing ?


On FG 2.6 anti-aliasing was enabled ( level 8 ) and it worked!
User avatar
fabio777
 
Posts: 15
Joined: Tue Jul 17, 2012 7:20 pm

Re: FGx 2.8.0rc3 for OSX with mountain lion support

Postby gral » Sun Jul 29, 2012 9:24 pm

fabio777 wrote in Sun Jul 29, 2012 1:01 pm:
fredb wrote in Sun Jul 29, 2012 8:51 am:Are you sure your GPU support multi sample anti aliasing ?


On FG 2.6 anti-aliasing was enabled ( level 8 ) and it worked!


Tat applied a lot of useful and glorious patches to macflightgear 2.6.0 and OSG source. Currently the anti-aliasing is not supported out of the box with this FGx RC's here because this patches are not applied yet (but I'm working now on this issues). It's always good to see what features are currently missing, thanks for your reports !

Cheers, gral
gral
 
Posts: 323
Joined: Mon Nov 16, 2009 2:03 pm
Location: Zurich (Switzerland)
Callsign: HB-GRAL
Version: GIT

Re: FGx 2.8.0rc3 for OSX with mountain lion support

Postby gral » Mon Jul 30, 2012 9:17 am

Ouchhhhh ! What a horror I found here:

traits->sampleBuffers = fgGetInt("/sim/rendering/multi-sample-buffers", traits->sampleBuffers);

This means: You have to set
--prop:/sim/rendering/multi-sample-buffers=1

and anti-aliasing is working fine, at least here.

Thanks, gral

EDIT:
This all means now when you want to enable anti-aliasing with FGx for FlightGear you have to go to the "Expert options" tab, activate "Additional Command Arguments" and paste this props:

Code: Select all
--prop:/sim/rendering/multi-sample-buffers=1
--prop:/sim/rendering/multi-samples=4


Choose a multi-samples count between 1 and 8, >8 not recommended :wink:

btw. adding a "Rendering" tab to FGx is a pending task here, then you will not have to add such arguments manually anymore.
gral
 
Posts: 323
Joined: Mon Nov 16, 2009 2:03 pm
Location: Zurich (Switzerland)
Callsign: HB-GRAL
Version: GIT


Return to FGx

Who is online

Users browsing this forum: No registered users and 0 guests