frohlich
d3fdf74e4f
Modified Files:
...
light.cxx light.hxx sunsolver.cxx tmp.cxx: kick out sg.h
2007-01-30 20:14:25 +00:00
frohlich
bb7c889bbb
Modified Files:
...
src/Time/tmp.cxx src/Time/light.hxx src/Time/light.cxx
src/Main/renderer.cxx src/Cockpit/panel.cxx: Initialize sky colors
2006-11-10 05:37:50 +00:00
frohlich
7e5d6d1d75
Modified Files:
...
Time/tmp.cxx Main/viewer.hxx Main/viewer.cxx Main/renderer.cxx
Get rid of an other OSGFIXME. The view matrix had some plib specials
included. The viewer is now updated for that.
2006-11-01 21:22:25 +00:00
frohlich
b0f9d24f9d
Modified Files:
...
configure.ac src/AIModel/AIAircraft.cxx src/AIModel/AIBase.cxx
src/AIModel/AIBase.hxx src/AIModel/AICarrier.cxx
src/AIModel/AICarrier.hxx src/AIModel/AIManager.cxx
src/AIModel/AIManager.hxx src/ATC/AIEntity.cxx
src/ATC/AIEntity.hxx src/ATC/AIMgr.cxx src/ATC/AIMgr.hxx
src/ATC/ATCdisplay.cxx src/ATC/ATCdisplay.hxx
src/Cockpit/cockpit.cxx src/Cockpit/cockpit.hxx
src/Cockpit/hud.cxx src/Cockpit/hud.hxx
src/Cockpit/hud_rwy.cxx src/Cockpit/panel.cxx
src/Cockpit/panel.hxx src/Cockpit/built_in/FGMagRibbon.cxx
src/Cockpit/built_in/FGMagRibbon.hxx src/FDM/flight.cxx
src/FDM/groundcache.cxx src/FDM/groundcache.hxx
src/GUI/gui_funcs.cxx src/Input/input.cxx
src/Instrumentation/od_gauge.cxx
src/Instrumentation/od_gauge.hxx
src/Instrumentation/render_area_2d.cxx
src/Instrumentation/render_area_2d.hxx
src/Instrumentation/wxradar.cxx
src/Instrumentation/wxradar.hxx
src/Instrumentation/HUD/HUD.cxx
src/Instrumentation/HUD/HUD.hxx
src/Instrumentation/HUD/HUD_runway.cxx src/Main/Makefile.am
src/Main/main.cxx src/Main/renderer.cxx src/Main/renderer.hxx
src/Main/viewmgr.cxx src/Model/acmodel.cxx
src/Model/acmodel.hxx src/Model/model_panel.cxx
src/Model/model_panel.hxx src/Model/modelmgr.cxx
src/Model/modelmgr.hxx src/Model/panelnode.cxx
src/Model/panelnode.hxx src/Navaids/awynet.cxx
src/Scenery/Makefile.am src/Scenery/hitlist.cxx
src/Scenery/hitlist.hxx src/Scenery/newcache.cxx
src/Scenery/scenery.cxx src/Scenery/scenery.hxx
src/Scenery/tileentry.cxx src/Scenery/tileentry.hxx
src/Scenery/tilemgr.cxx src/Scripting/NasalSys.cxx
src/Scripting/NasalSys.hxx src/Time/light.cxx
Big BLOB on the way to OSG.
2006-10-29 19:30:21 +00:00
frohlich
cdb725528d
Clean up scenery center handling. It is set now less often.
2006-07-27 16:36:22 +00:00
mfranz
c9813d1b5d
new FSF address
2006-02-21 01:16:04 +00:00
ehofman
0f448cb4ca
Melchior FRANZ:
...
gui colors and material animation use "red", "green", "blue".
Would be nice if these light colors would use the same standard.
2006-01-27 13:54:35 +00:00
ehofman
6c331a55a8
Tie the scene ambient,diffuse end specular red,green and blue components to a property under /rendering/scene
2006-01-27 12:35:15 +00:00
ehofman
da5d0ffc28
Cygwin fix.
2005-11-12 14:40:17 +00:00
ehofman
e1d92f81e9
Deprecate some non GPL compatible code in favor of our own routines.
2005-11-11 14:46:15 +00:00
ehofman
62a359cc4a
Alex Romosan:
...
* Use "const string&" rather than "string" in function calls when appropriate.
* Use "const Point3D&" instead of "Pint3D" in function calls when appropriate.
* Improved course calculation in calc_gc_course_dist()
* Safer thread handling code.
Vassilii Khachaturov:
Dont use "const Point3D&" for return types unless you're absolutely sure.
Erik Hofman:
* Use SGD_(2)PI(_[24]) as defined in simgear/constants.h rather than
calculating it by hand every time.
2005-10-25 13:49:55 +00:00
ehofman
f938af2592
Vassilii Khachaturov thought that these messages are actually debug messages and I tend to agree.
2005-10-22 11:26:58 +00:00
ehofman
ef099d3cad
Why this didn't ring any alarm bells during my previous test compile is beyond me, but this should get FlightGear in a compilable state again.
2005-07-26 20:12:03 +00:00
ehofman
73f06ccef3
Remove unused code, especially concidering the non-commercial clause in the copyright statement.
2005-07-26 08:08:41 +00:00
ehofman
7e024c549f
Remove a copyright that doesn't belong there. This file was written from scratch for FlightGear.
2005-07-22 12:32:46 +00:00
curt
40170cb722
The view frustum is defined in plib apps using calls to ssgSetFOV() and
...
ssgSetNearFar(). This by default creates a symmetric view frustum which is
typically what an application wants.
However, to get control of the view frustum in order to build support for
asymmetric view frustums, we need to wrap these calls with a bit of our own
logic.
This set of changes wraps all calls to ssgSetFOV() and ssgSetNearFar() with
FGRenderer methods.
I also standardized how the FGRenderer class is handled in globals.[ch]xx.
This led to some cascading changes in a variety of source files.
As I was working my way through the changes, I fixed a few warnings along
the way.
2005-02-25 19:41:53 +00:00
curt
d05121ef46
Fix my mailing address by replacing it with my web page.
2004-11-19 22:10:41 +00:00
curt
4214cd6c10
Migrate FlightGear code to use "#include SG_GL*" defined in
...
"#include <simgear/compiler.h>".
2004-11-18 19:53:00 +00:00
curt
2acdd02879
Clean up various compiler warnings that have crept into the code. This
...
by no means get's them all, but it's a start.
2004-04-01 15:27:53 +00:00
ehofman
7de581bf8f
Changes to tke sky dome coloring
2004-02-18 14:33:50 +00:00
ehofman
816d84457c
Reduce the log level to info
2004-01-24 10:36:37 +00:00
ehofman
79ef949e17
Check for less than -1.0 also.
2004-01-19 14:26:24 +00:00
ehofman
ce66c93d6c
Fix a problem where the dot product might possibly be greater than 1.0 causing a NaN for the following acos()
2004-01-19 13:46:47 +00:00
ehofman
491e7c6fea
Fix a posible devide by zero situation
2004-01-15 18:10:00 +00:00
ehofman
1fa7a1464f
Name the property sun-angle-rad instead of sun-pos-rad to make it a bit more descriptive
2004-01-07 22:51:28 +00:00
ehofman
f279f4b065
Chnage the name to reflect the real unit of radians instead of degrees
2004-01-07 09:26:17 +00:00
ehofman
519fd99106
Make the position of the sun above the horizon available in the proprty tree
2004-01-07 09:21:35 +00:00
andy
439a9fa1e4
Minor API changes to support the new sg_geodesy implementation. A few
...
places now use sgCartToGeod() instead of rolling their own
approximation. And YASim is now using exactly the same 3D coordinate
system as the rest of FlightGear is.
2003-12-19 02:42:32 +00:00
ehofman
980012e168
Move FGEventMgr and FGSubsystemMgr over to SimGear, add SGEventMgr to FlightGear's globals structre and some small code cleanups
2003-09-24 17:20:55 +00:00
ehofman
b61c3fa11c
Initialize some variables, re-order the function calls in updeate() and reread the interpoltation tables upoj reinit()
2003-09-23 08:27:06 +00:00
ehofman
e0dda6ad52
A small fix to have a smoot transition of cloud colors when in time warp mode
2003-09-20 11:05:12 +00:00
ehofman
a33ad90ed7
Convert fgLIGHT to FGLight and make it FGSubsystem compatible. Let the subsystem manager handle it and let FGLight::update() handle the repositioning of the sun and the moon.
2003-09-20 09:38:32 +00:00
ehofman
6fd6d7eb06
Remove the test property to check the difference between the old and the new behavior
2003-09-17 19:21:57 +00:00
curt
a217c563ba
Clean up the timeofday setting code a bit more, consolodate the solver
...
functions (note to Norman: I looked at the web page you listed and that
looks like a good idea, but I don't have time right now to go through and
debug an entirely new routine. What we have works well enough for now I hope!)
2003-09-17 15:49:15 +00:00
curt
b10715833c
Fix a few potential gotcha's in setting up start time.
2003-09-16 22:34:22 +00:00
curt
9bb782ce72
Added a command line option to specify a starting time of day in the sense of:
...
--timeofday=dawn
--timeofday=dusk
--timeofday=noon
--timeofday=midnight
2003-09-15 22:55:39 +00:00
ehofman
3e98bccbaf
Remove unused gamma corrections
2003-09-03 18:47:48 +00:00
ehofman
7a29fc0613
Average sunlight and ambient light instead of multiplying it
2003-08-29 22:13:05 +00:00
curt
27a36e6059
- The latest volley in the FlightGear lighting wars.
...
- Ambient is based off the lookup table only.
- Diffuse is based off of the lookup table, but multiplied by a combination
of sun/fog colors.
The result is a bit more ambient light at dusk and night since the world is
never 100% dark. And we still get nice sunset/sunrise colored illumination
of surfaces that are directly illuminated by the sun.
2003-08-29 21:24:13 +00:00
ehofman
6f8aa7b331
Change GLUT_H to FG_GLUT_H to prevent a naming clash with freeglut.
2003-08-21 09:12:12 +00:00
ehofman
5ae096b225
Reorganization of main.cxx
2003-08-17 09:54:41 +00:00
curt
bcb10efa50
Remove several unneeded glut dependencies. Note, this doesn't signal an
...
immediate end to glut, only that I'm going through and cleaning up (and
taking inventory of the actual glut dependencies in case I want to investigate
SDL.)
2003-08-11 21:50:22 +00:00
ehofman
7ede111d12
Add a /test/scene_lighting property to switch between new and old behavior
2003-08-04 09:34:55 +00:00
ehofman
3d07fa8bda
Update the ambient, diffuse and specular scenery colors to match the real world more closely
2003-08-03 09:54:02 +00:00
ehofman
a315df50f8
Update scene lighting
2003-08-02 12:45:15 +00:00
ehofman
455b2b3a91
Use sqrt(x) and x*x instead of pow(x, 0.5) and pow(x, 2.0)
2003-06-27 21:29:48 +00:00
ehofman
3433dbce55
Take the visibility in account for the sky color
2003-06-15 11:30:25 +00:00
ehofman
a3e660703a
Remove some now depreciated lighting code
2003-06-07 10:34:34 +00:00
curt
21b317ff21
Move simgear/sky/ to simgear/scene/sky as part of the consolodation of
...
graphics code.
2003-05-30 15:16:57 +00:00
ehofman
66bfe04c26
Lighting updates for non PC hardware
2003-05-22 13:51:19 +00:00