frohlich
b51292d9db
Modified Files:
...
src/FDM/groundcache.cxx src/Main/fg_commands.cxx
src/Main/main.cxx src/Main/renderer.cxx
src/Scenery/FGTileLoader.cxx src/Scenery/scenery.cxx
src/Scenery/scenery.hxx src/Scenery/tileentry.cxx
src/Scenery/tileentry.hxx src/Scenery/tilemgr.cxx
src/Scenery/tilemgr.hxx: Simplify scenegraph structure.
2007-05-08 06:12:26 +00:00
frohlich
4fe615fff5
Modified Files:
...
src/AIModel/AIBase.cxx src/AIModel/AICarrier.cxx
src/ATC/AIEntity.cxx src/Cockpit/hud_rwy.cxx
src/FDM/Makefile.am src/FDM/flight.hxx src/FDM/groundcache.cxx
src/Instrumentation/HUD/HUD_runway.cxx src/Main/Makefile.am
src/Main/fg_init.cxx src/Main/main.cxx src/Main/renderer.cxx
src/Main/viewer.cxx src/Main/viewer.hxx src/Model/acmodel.cxx
src/Model/modelmgr.cxx src/Scenery/scenery.cxx
src/Scenery/scenery.hxx src/Scenery/tileentry.cxx
src/Time/tmp.cxx: Remove the scenery center handling.
Osg has double valued transforms at any relevant place.
2007-05-05 08:08:24 +00:00
frohlich
19e2e7a461
Modified Files:
...
src/Main/renderer.cxx src/Scenery/Makefile.am
Added Files:
src/Scenery/redout.cxx src/Scenery/redout.hxx:
Add simple redout effect.
2007-05-03 18:47:39 +00:00
frohlich
2f8beb56ea
Modified Files:
...
src/GUI/new_gui.cxx src/GUI/new_gui.hxx src/Main/main.cxx
src/Main/renderer.cxx src/Main/renderer.hxx
src/Main/splash.cxx src/Main/splash.hxx
src/Scenery/scenery.hxx: Move splash screen into the scenegraph.
2007-05-03 18:12:29 +00:00
mfranz
9438288755
Free the splash texture memory when it's no longer needed. Nowadays splash
...
textures are mostly 512x512 pixels, so we wasted 786 kB (RGB) or 1MB (RGBA)
during the whole fgfs runtime for mere startup prettification.
2007-05-02 18:49:31 +00:00
frohlich
f690bfd113
Modified Files:
...
src/Main/renderer.cxx src/Model/panelnode.hxx: Make it compile with
current osg svn.
2007-04-07 09:54:18 +00:00
frohlich
b230c0a1e8
Modified Files:
...
src/Main/renderer.cxx: Guard the OpenGL state around pui a bit more
2007-03-01 18:12:48 +00:00
fredb
9ae7377c95
Fix the jpg http server
2007-02-10 16:32:21 +00:00
frohlich
d4ecbb8856
Modified Files:
...
src/Main/renderer.cxx: Avoid an additional camera.
Guard the plain OpenGL drawables better.
This change now requires the new osg tarball or osg cvs.
2007-02-06 05:32:24 +00:00
frohlich
dc9750f16e
Modified Files:
...
src/Main/renderer.cxx: Fix typo
2007-01-31 20:37:43 +00:00
frohlich
14c52fb33d
Modified Files:
...
src/Main/renderer.cxx: Avoid the ClearNode
2007-01-30 20:34:07 +00:00
frohlich
4ec7d1553c
Modified Files:
...
src/Main/renderer.cxx: Make it work with current osg cvs.
2007-01-28 20:01:47 +00:00
frohlich
a788ebf487
Modified Files:
...
src/Input/input.cxx src/Main/renderer.cxx
src/Main/renderer.hxx src/Scenery/scenery.cxx
src/Scenery/scenery.hxx: Move scenery picking into the renderer.
There is most of the required data defined. Also we can better use
the pick visitor that will be needed with th upcommung panel code.
2007-01-07 12:02:50 +00:00
frohlich
eff14788a7
Modified Files:
...
src/Main/renderer.cxx: Don't try to render the moon without light...
2007-01-06 15:09:42 +00:00
frohlich
b8dffe05ab
Modified Files:
...
src/Cockpit/panel.cxx src/Main/renderer.cxx: Make sure we run on
texture unit 0 in plain opengl code.
2007-01-06 13:51:47 +00:00
frohlich
059c906be5
Modified Files:
...
src/Cockpit/panel.cxx src/Cockpit/panel.hxx
src/Cockpit/panel_io.cxx src/GUI/dialog.cxx src/GUI/dialog.hxx
src/GUI/menubar.cxx src/GUI/menubar.hxx src/GUI/new_gui.hxx
src/Input/input.cxx src/Input/input.hxx src/Main/renderer.cxx
src/Scenery/scenery.cxx src/Scenery/scenery.hxx:
Use SGBinding instead of FGBinding. Remove FGBinding. Install hooks
to make the pick animation work.
2007-01-04 13:22:27 +00:00
frohlich
bb3d4ad3af
Modified Files:
...
src/Main/renderer.cxx src/Main/viewer.cxx: Clean up the viewers
frames a bit. Do no longer require a axis permutation in osg's
viewer.
2006-12-27 09:28:15 +00:00
fredb
2422747bcc
Port jpg-httpd to OSG
2006-12-16 17:44:46 +00:00
frohlich
66b6fa0001
Modified Files:
...
renderer.cxx: set TexEnv for the 2d stuff.
2006-12-03 16:50:00 +00:00
frohlich
037a961280
Modified Files:
...
renderer.cxx: Put light information into the update visitor
2006-12-03 16:48:25 +00:00
frohlich
6ad85fbae9
Modified Files:
...
src/Main/renderer.cxx: Use a LightSource for the Light.
2006-11-23 17:50:49 +00:00
frohlich
0adac854dc
Modified Files:
...
renderer.cxx: Fill in that information into the update visitor
2006-11-20 18:16:31 +00:00
frohlich
42528de4ab
Modified Files:
...
src/Main/renderer.cxx src/Cockpit/panel.cxx: Move some more into
simple scenegraph wrappers. That fixes current problems with
invisible panels.
2006-11-15 06:07:42 +00:00
frohlich
16aee6ac41
Modified Files:
...
src/Main/renderer.cxx: Fix some ugly triangle artefacts on the
bo105's Instrument panel.
2006-11-12 17:22:02 +00:00
frohlich
29778f1496
Modified Files:
...
src/Main/main.cxx src/Main/renderer.cxx: Avoid an extra clear of
of the color buffer.
2006-11-12 12:38:57 +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
bd97270782
Modified Files:
...
src/Main/renderer.cxx: Make sure the normalize mode is not set
2006-11-08 20:45:21 +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
6b9d29194b
Modified Files:
...
src/AIModel/AIBase.cxx src/Main/main.cxx src/Main/renderer.cxx
Reflect last change in SimGear
2006-10-31 06:27:34 +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
4ea7fc6327
Attemp to fix the 'bogous tile problem'
2006-08-31 05:07:50 +00:00
frohlich
cdb725528d
Clean up scenery center handling. It is set now less often.
2006-07-27 16:36:22 +00:00
durk
a69dfbbc9a
Mark's dynamic sun color changes.
2006-07-27 05:16:06 +00:00
curt
ae62896f9f
Small tweaks to point lighting configuration to better control the appearance
...
of approach rabbits.
2006-07-21 15:48:57 +00:00
curt
0cec9290db
Add a configuration property to turn on/off the use of point sprites.
...
Generally you want point sprites for performance reasons when enhanced runway
lighting (and smooth points) are activated. Most hardware doesn't
accelerate the rendering of standard smooth points, so without point sprites
you will kill your night time performance if you turn on enhanced runway
lighting.
Note that enhanced runway lighting "breaks" our clever scheme to make the
runway lighting brightness vary with the relative view angle. This means
with enhanced lighting on, all lights are equally bright no matter what
direction you view them from. So perpendicular runways are just as bright
as runways you are directly lined up with (when enhanced runway lighthing
is activated.)
You can revert to the original lighting scheme by turning off enhance runway
lights, turning off distance-attenuation, and turning off point-sprites in
the rendering options menu.
2006-07-20 03:47:39 +00:00
mfranz
e46036d55f
initialize HUD class and call its drawing routine from renderer
...
(basically a NOOP if /sim/hud/visibility[1] is false)
2006-07-04 15:54:41 +00:00
mfranz
7eb26c4ab3
set /sim/startup/[xy]size initially again. (This was always done in the past,
...
but got changed so that Nasal listeners wouldn't be triggered needlessly.
Doesn't make sense, though, as Nasal will never be available before the
video size is set, and it prevents the window interface from setting the
startup size.)
2006-04-25 20:16:01 +00:00
frohlich
2cc4b3fbc6
Modified Files:
...
src/Main/renderer.cxx: Remove some more unused variables
2006-04-01 10:50:52 +00:00
frohlich
798e3c505c
Remove unused variables
2006-03-25 19:11:33 +00:00
mfranz
c9813d1b5d
new FSF address
2006-02-21 01:16:04 +00:00
mfranz
3a2148828e
screenPrint() is obsolete. Use screen.log.write() for the same purpose,
...
or write to the color properties in /sim/screen/. If this Nasal/GUI
implementation turns out to be too slow, we'll write a generic OpenGL/plib
version simliar to the ATCdisplay code. (OK'ed by Andy and Stuart)
2006-02-13 19:46:03 +00:00
ehofman
a47725e92f
Mathias Fröhlich:
...
Make use of the automatic reference counting class for ssg* data in flightgear.
2006-02-08 10:25:56 +00:00
ehofman
c695e7c788
Vassilii Khachaturov:
...
Fix the current buggy rain orientation behaviour for the views attached to the
aircraft (while still inheriting bugs with the views attached to anything else).
2006-02-02 09:57:33 +00:00
ehofman
c90596b8ec
Tie the sun halo texture to point sprites.
2006-01-31 15:14:45 +00:00
mfranz
dc7cc2015b
restore the uglyness: call the resize callback every frame again, even
...
though the window wasn't resized. I'm just not adventurous enough for
a cleaner solution in the light of the upcoming release. At least the
xsize/ysize properties aren't set each frame any more, so listeners
work now properly.
2006-01-28 16:06:03 +00:00
mfranz
bae5d4e92b
write to /sim/startup/xsize only if the size really changed; likewise for
...
ysize. This is useful for listeners, e.g. the one that will re-position the
FPS dialog.
2006-01-28 10:40:47 +00:00
mfranz
a4bbb31927
Resizing is done when fg_os{,_sdl}.cxx says so, not in every single frame.
...
(This defeats the purpose of the resize callback and makes "listening" to
the xsize useless.)
2006-01-28 00:10:39 +00:00
ehofman
5441622a28
Add support for point sprites.
2006-01-26 09:37:32 +00:00
ehofman
907b99a669
Use smooth (aliased) lines and points when available in hardware.
2006-01-21 12:07:40 +00:00
ehofman
fcfe5d2010
Don't display the menubar in e highres screenshot.
2006-01-11 10:53:04 +00:00