Re: [Flightgear-devel] Anisotropic Filtering for Runways

2007-04-21 Thread Harald JOHNSEN
Olaf Flebbe wrote:

 Hi,

 I had the chance to get a small lecture on OSG. I tried out 
 anisotropic filtering for improving the look of the runways. IMHO the 
 result is amazing.

 Compare yourself -- have a look the markings on the runway:

 http://www.oflebbe.de/oflebbe/FlightGear/withoutfilter.jpg

 http://www.oflebbe.de/oflebbe/FlightGear/with8filter.jpg

 Without any drop in framerate ...

Can we have a boolean in material.xml (true for runways) and the value 
in some property ? This way we can disable it or set the value for the 
filtering level on the command line.
Because you can not hard code '8', this will give very different fps 
depending on the hardware.

Harald.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Anisotropic Filtering for Runways

2007-04-21 Thread Mathias Fröhlich

Hi,

On Friday 20 April 2007, Olaf Flebbe wrote:
 I had the chance to get a small lecture on OSG. I tried out anisotropic
 filtering for improving the look of the runways. IMHO the result is
 amazing.

 Compare yourself -- have a look the markings on the runway:

 http://www.oflebbe.de/oflebbe/FlightGear/withoutfilter.jpg

 http://www.oflebbe.de/oflebbe/FlightGear/with8filter.jpg

 Without any drop in framerate ...

 Filtering can be switch on and controlled as per SGMaterial.
 1. == default off
 Please note that only powers of two are valid.

I have applied that as is, but I am very open for improvements in the way it 
could be configured.

Also note that we only filter runway textures in this way not all possible 
textures. That might already cover many concerns with any possible framerate 
impact ...

 Greetings

 Mathias

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Anisotropic Filtering for Runways

2007-04-21 Thread Olaf Flebbe
Hi,

thanks for the feedback. I will look into adding a widget to the 
rendering options for limiting filtering (maybe along with a command 
line option). The filtering8.0/filtering is clumsy, too.

Cheers
Olaf

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Anisotropic Filtering for Runways

2007-04-21 Thread Olaf Flebbe
Curtis,

 Note that anisotropic filtering makes all the textures look sharper when 
 viewed close to edge on ... terrain in the distance, aircraft markings, 
 etc.  I'm still not convinced the doing this per material in the 
 materials.xml file is the best approach.  It would be nice to be able to 
 have anisotropic texture filtering for loaded models and everything else 
 as well ... I'd still be more in favor of a single global setting that 
 affects the entire sim.
 

I did the materials approach because I didn't want to harm older graphic 
cards too much. But since most of the posters like to have a global 
control I see no point in applying it only to certain materials for now.

Right now I am hacking the Rendering Options panel.

Olaf




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Anisotropic Filtering for Runways

2007-04-21 Thread Harald JOHNSEN
Olaf Flebbe wrote:

I did the materials approach because I didn't want to harm older graphic 
cards too much. But since most of the posters like to have a global 
control I see no point in applying it only to certain materials for now.

Right now I am hacking the Rendering Options panel.

Olaf


  

In fgIdleFunction(), this line
glTexEnvf( GL_TEXTURE_FILTER_CONTROL_EXT, 
GL_TEXTURE_LOD_BIAS_EXT, -0.5 ) ;
should be disabled when we use anisotropic filtering (because it becomes 
useless and because in all cases
it ruins the mipmaping of buildings walls).

Also since the anisotropic filter parameter must be applied to each 
textures (and it's hard to do that
if we don't have a list of existing textures), you can rememder the user 
that the option will only be
applied on the next launch of FG.

Harald.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Weekly CVS Changelog Summary: SimGear

2007-04-21 Thread Curtis L. Olson
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-21_07:13:16 (frohlich)
/var/cvs/SimGear-0.3/source/simgear/scene/material/mat.cxx
/var/cvs/SimGear-0.3/source/simgear/scene/material/mat.hxx

Modified Files:
simgear/scene/material/mat.cxx simgear/scene/material/mat.hxx:
Olaf Flebbe: make anisotroüpic filtering configurable.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-21_07:24:43 (frohlich)
/var/cvs/SimGear-0.3/source/projects/VC8/SimGear.vcproj

Modified Files:
projects/VC8/SimGear.vcproj: Olaf Flebbe: Updates to the win32
build system.


2f585eeea02e2c79d7b1d8c4963bae2d

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Weekly CVS Changelog Summary: FlightGear source

2007-04-21 Thread Curtis L. Olson
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-20_13:32:42 (curt)
/var/cvs/FlightGear-0.9/source/src/Main/fg_commands.cxx

Syd Adams:

Patch to enable atc chatter (and any other arbitrary message audio file)
to be played at any specified volume.  (Previously these messages were always
played at a hardcoded volume of 1.0)


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-20_13:32:43 (curt)
/var/cvs/FlightGear-0.9/source/src/Sound/fg_fx.cxx
/var/cvs/FlightGear-0.9/source/src/Sound/fg_fx.hxx

Syd Adams:

Patch to enable atc chatter (and any other arbitrary message audio file)
to be played at any specified volume.  (Previously these messages were always
played at a hardcoded volume of 1.0)


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-21_07:25:19 (frohlich)
/var/cvs/FlightGear-0.9/source/projects/VC8/FlightGear.vcproj
/var/cvs/FlightGear-0.9/source/projects/VC8/FlightGearLib.vcproj

Modified Files:
projects/VC8/FlightGear.vcproj
projects/VC8/FlightGearLib.vcproj Olaf Flebbe: Updates to the win32
build system.


2f585eeea02e2c79d7b1d8c4963bae2d

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Weekly CVS Changelog Summary: FlightGear data

2007-04-21 Thread Curtis L. Olson
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-15_11:54:09 (sydadams)
/var/cvs/FlightGear-0.9/data/Aircraft/Aerostar-700/aerostar-yasim.xml
/var/cvs/FlightGear-0.9/data/Aircraft/Aerostar-700/aerostar700-set.xml
/var/cvs/FlightGear-0.9/data/Aircraft/Aerostar-700/Models/aerostar.xml
/var/cvs/FlightGear-0.9/data/Aircraft/Aerostar-700/Nasal/Electrical.nas
/var/cvs/FlightGear-0.9/data/Aircraft/Aerostar-700/Nasal/systems.nas

minor fixes and catching up


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-15_11:54:10 (sydadams)
/var/cvs/FlightGear-0.9/data/Aircraft/Aerostar-700/Panels/aerostar-panel.xml
/var/cvs/FlightGear-0.9/data/Aircraft/Instruments-3d/kfc200/kfc-200.nas
/var/cvs/FlightGear-0.9/data/Aircraft/Instruments-3d/kfc200/Attic/kfc200-3d.xml
/var/cvs/FlightGear-0.9/data/Aircraft/Instruments-3d/kns80/KNS80.nas

minor fixes and catching up


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-15_20:24:02 (sydadams)
/var/cvs/FlightGear-0.9/data/Aircraft/Aerostar-700/aerostar700-set.xml
/var/cvs/FlightGear-0.9/data/Aircraft/Aerostar-700/Models/aerostar.xml

Added a Bendix RDR-160 weather radar for the Aerostar...
works in PLIB only , and still segfaults when FGFS shuts down...


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-15_20:24:03 (sydadams)
/var/cvs/FlightGear-0.9/data/Aircraft/Aerostar-700/Panels/aerostar-panel.xml

Added a Bendix RDR-160 weather radar for the Aerostar...
works in PLIB only , and still segfaults when FGFS shuts down...


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-16_01:24:07 (sydadams)
/var/cvs/FlightGear-0.9/data/Aircraft/Aerostar-700/Panels/aerostar-panel.xml

fixed radar switch array error...


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-17_00:36:11 (sydadams)
/var/cvs/FlightGear-0.9/data/Aircraft/Aerostar-700/aerostar700-set.xml
/var/cvs/FlightGear-0.9/data/Aircraft/Aerostar-700/Nasal/systems.nas

Removed nasal radio frequency conversions , not needed with Ron Jensen's bias 
fix


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-17_00:36:12 (sydadams)
/var/cvs/FlightGear-0.9/data/Aircraft/Instruments-3d/ky196/ky196-comm1.xml
/var/cvs/FlightGear-0.9/data/Aircraft/Instruments-3d/ky196/ky196-comm2.xml

Removed nasal radio frequency conversions , not needed with Ron Jensen's bias 
fix


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-17_01:18:29 (sydadams)
/var/cvs/FlightGear-0.9/data/Aircraft/Instruments-3d/kns80/KNS80.nas
/var/cvs/FlightGear-0.9/data/Aircraft/Instruments-3d/kns80/kns80.xml

Beginning of the RNAV system , thanks Ron


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-17_03:07:56 (vmmeazza)
/var/cvs/FlightGear-0.9/data/Aircraft/a4/Models/a4f-panel.ac
/var/cvs/FlightGear-0.9/data/Aircraft/a4/Models/attitude-mod1.ac
/var/cvs/FlightGear-0.9/data/Aircraft/a4/Models/beacon.ac

Restore panel some other tidying up


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-17_03:08:41 (vmmeazza)
/var/cvs/FlightGear-0.9/data/Aircraft/a4/Models/a4f-blue.xml
/var/cvs/FlightGear-0.9/data/Aircraft/a4/Models/beacon.xml

Restore panel some other tidying up


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-17_03:10:11 (vmmeazza)
/var/cvs/FlightGear-0.9/data/Aircraft/a4/Models/attitude.xml
/var/cvs/FlightGear-0.9/data/Aircraft/a4/Models/panel.xml

Restore panel some other tidying up


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-17_03:49:34 (vmmeazza)
/var/cvs/FlightGear-0.9/data/Aircraft/TU-114/TU-114-set.xml
/var/cvs/FlightGear-0.9/data/Aircraft/TU-114/TU-114-submodels.xml

Alexis Bory:

Fix broken trajectory-markers toggle command.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-17_03:49:49 (vmmeazza)
/var/cvs/FlightGear-0.9/data/Aircraft/TU-114/Nasal/TU-114.nas

Alexis Bory:

Fix broken trajectory-markers toggle command.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-17_11:24:12 (curt)
/var/cvs/FlightGear-0.9/data/Aircraft/beaufighter/beaufighter-set.xml
/var/cvs/FlightGear-0.9/data/Aircraft/beaufighter/beaufighter.nas
/var/cvs/FlightGear-0.9/data/Aircraft/beaufighter/beaufighter.xml

Detlef Faber:

this update contains:

new cockpit switches and levers (using OSGs pick animation), realistic
fuel handling and minor bugfixes.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-17_11:24:13 (curt)
/var/cvs/FlightGear-0.9/data/Aircraft/beaufighter/Models/beaufighter.ac

Detlef Faber:

this update contains:

new cockpit switches and levers (using OSGs pick animation), realistic
fuel handling and minor bugfixes.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-04-17_11:24:14 (curt)
/var/cvs/FlightGear-0.9/data/Aircraft/beaufighter/Models/beaufighter.xml
/var/cvs/FlightGear-0.9/data/Aircraft/beaufighter/Models/flapgear.ac