James Turner
6cf2224146
Updated sign case UV calculation from Christian.
2012-05-11 10:00:35 +01:00
James Turner
a1f74729ab
build signs for an STG into single geometry.
2012-05-11 09:50:26 +01:00
James Turner
71443d1c9a
Phase 1 - single geometry per material
2012-05-11 09:50:26 +01:00
Stuart Buchanan
a83f5deaac
Updates to buildings and trees
...
1) Clean up after ourselves - remove memory leak
2) Face buildings the right way
2012-05-10 23:03:38 +01:00
Christian Schmitt
234e778e8f
Add support for double-sided taxiway signs and create 3D models for them
2012-05-05 13:39:07 +02:00
Christian Schmitt
0bdeaeb4e2
Remove unused SGMakeRunwaySign function.
2012-05-05 13:39:07 +02:00
Frederic Bouvier
cc37713a66
Remove redundant inclusion of math/SGMath.hxx
2012-05-05 11:19:20 +02:00
ThorstenB
6129de31f0
Fix C compiler warning.
...
"no-overloaded-virtual" warnings are a CXX-compiler feature
2012-05-05 09:46:11 +02:00
ThorstenB
0908f86714
Fix rpmlint/Linux packager complaints
...
about outdated/invalid FSF address in some license headers.
2012-05-05 01:41:45 +02:00
ThorstenB
31ed79fe43
Fix rpmlint/Linux packager complaints
...
about outdated/invalid FSF address in some license headers.
2012-05-05 00:30:16 +02:00
ThorstenB
1af2ad12bf
openSUSE "more architectures" patch
...
(Alpha anyone? ;-) )
2012-05-05 00:18:26 +02:00
ThorstenB
44db6d9e44
Move vector property templates to separate header file.
...
Fixes the "weirdness" with MSVC complaining about incomplete class specs,
since forward declarations (SGMathFwd.hxx) are used in props.hxx only.
Only the few extended (vector) property templates require including the
full SGMath.hxx (with MSVC) - and these are used in few places.
2012-05-05 00:07:07 +02:00
ThorstenB
6e662fe4d6
Ganael Laplanche: fix include dependencies for FreeBSD support
2012-05-04 23:24:10 +02:00
ThorstenB
067ff4f8ed
Fix signed vs unsigned compiler warnings
2012-05-04 23:13:54 +02:00
Stuart Buchanan
91cf3d4def
Fixes to Random Buildings:
...
1) Correct texture mapping so textures aren't flipped!
2) Add constraints to medium buildings (not taller than they are wide)
2012-05-04 21:12:41 +01:00
Frederic Bouvier
1eb846a93a
Revert "Temporary hack to make the new version of expat build under windows"
...
A proper fix has been provided
This reverts commit 655971208f
.
2012-05-04 20:48:04 +02:00
James Turner
56661afc05
Change how HAVE_EXPAT_CONFIG_H is defined, to hopefully fix MSVC properly.
2012-05-04 10:10:46 +01:00
Frederic Bouvier
655971208f
Temporary hack to make the new version of expat build under windows
2012-05-04 09:09:11 +02:00
James Turner
d3ab2d3fbc
Missed files from previous commit, needed for Windows.
2012-05-03 18:55:13 +01:00
James Turner
65aca6607e
Update to latest expat for improved BOM / encoding handling.
...
(Related to http://code.google.com/p/flightgear-bugs/issues/detail?id=635 )
2012-05-03 17:29:16 +01:00
Stuart Buchanan
e44eb39046
Emissive lighting for random buildings. Requires up to date fgdata.
2012-05-01 22:35:42 +01:00
ThorstenB
ab7d2a4bcc
Allow "texture-path" XML entries to be present but empty.
...
This had worked with previous FG versions and is used by many models -
so it shouldn't be treated as an error now.
2012-04-30 18:29:44 +02:00
Frederic Bouvier
87c744b88b
Use observer_ptr to cache light effects
2012-04-29 13:25:15 +02:00
Frederic Bouvier
dfc4b1564f
Nasal is C code, not C++
2012-04-29 00:17:38 +02:00
Stuart Buchanan
db6e99f885
Use Effects system for random buildings.
2012-04-28 23:11:52 +01:00
James Turner
35681e3adf
Strange, somehow missed this file in last commit.
2012-04-28 23:08:05 +01:00
James Turner
a5ca531aac
Nasal Ghosts can optionally specify member get/set functions.
2012-04-28 22:25:57 +01:00
Stuart Buchanan
2daf895d00
Reduce the number of Drawables generated by the random buildings by reducing the number of levels of the quad tree, and reducing the number of different
...
fade-out distances generated.
2012-04-28 20:02:42 +01:00
Stuart Buchanan
1041445a22
Change random object placement to a grid-like scheme to reduce building overlap.
2012-04-28 19:58:09 +01:00
Christian Schmitt
f712bc9294
Implement blinking hold-short line lights
...
This is supported by the apt.dat 850 format and latest TG
2012-04-26 15:02:33 +01:00
James Turner
2d174d0b14
Convert random buildings to avoid use of BIND_PER_PRIMITVE.
...
(which pushes me to a slow OSG path)
2012-04-26 00:18:47 +01:00
ThorstenB
dd54f6938e
#717 : Disabling advanced weather crashes the sim
...
Protect from a NULL-pointer segfault in SGCloudField::removeCloudFromTree
when disabling advanced weather (may just fix a symptom).
2012-04-25 21:08:37 +02:00
Frederic Bouvier
6e0e74a7d9
No round function for MSVC (forgot the template argument)
2012-04-25 08:59:04 +02:00
Frederic Bouvier
6a90696820
No round function for MSVC
2012-04-25 08:54:57 +02:00
Stuart Buchanan
f9bf403fc0
Random buildings - initial commit.
2012-04-24 22:00:35 +01:00
James Turner
0c13fb7ae4
Fix latent bug in Nasal hash cget / cset functions, where the embedded string length
...
was set to an incorrect marker value.
2012-04-23 22:29:54 +01:00
ThorstenB
9a113bdb44
Revert "Add virtual destructor to SGReferenced."
...
As suggested by Mathias, will use different solution.
This reverts commit 4abcf3215f
.
2012-04-23 19:41:09 +02:00
James Turner
69ef461e6d
Merge commit 'refs/merge-requests/22' of git://gitorious.org/fg/simgear into merge-requests/22
2012-04-23 12:21:50 +01:00
ThorstenB
4abcf3215f
Add virtual destructor to SGReferenced.
2012-04-21 20:50:07 +02:00
Frederic Bouvier
4b607d6484
Revert "Remove ambient component of additional lights" because this was Yet Another Bad Idea
...
Ambient light is attenuated so it is possible to achieve smooth edges with it
This reverts commit fe8ba57c94
.
2012-04-18 19:56:31 +02:00
Frederic Bouvier
fe8ba57c94
Remove ambient component of additional lights
...
It creates artifacts at edges of light volumes and should come from the main light source (sun and moon) anyway
2012-04-16 08:25:59 +02:00
Frederic Bouvier
de191107a9
light animation: avoid that similar effects are merged
2012-04-14 23:16:23 +02:00
Frederic Bouvier
77b8b278ea
Ensure uniform are there before trying to use them
2012-04-14 18:00:42 +02:00
Frederic Bouvier
4758447370
Add a <dim-factor> parameter in the light animation
...
<dim-factor> contains a <property> element, and optionally <factor>,
<offset>, <expression>, <interpolation>, <min> and <max>
2012-04-14 09:57:20 +02:00
ThorstenB
77909577e4
Error messages when installing property aliases fails.
2012-04-05 20:03:07 +02:00
ThorstenB
1a835a2e1b
performance monitor: start measurement interval with a fresh timestamp.
2012-04-05 19:30:00 +02:00
James Turner
8d0330675a
Set the filename as the OSG object name on shaders - should have done this years ago :)
2012-04-04 16:44:23 +01:00
Frederic Bouvier
95a9d7a229
Revert "Disable LOD when rendering to the shadow map."
...
This reverts commit b95fb48a16
.
2012-04-02 23:37:18 +02:00
ThorstenB
2fed46e222
performance monitor improvement
...
Record cumulative time consumed (all time) and current total time (current
measurement only) for subsystems.
2012-04-02 20:47:27 +02:00
ThorstenB
9ad070871a
Use observer_ptr::lock for thread-safe pointer retrieval.
...
Also revert to using ref_ptr for the top-level EffectMap, since it holds
elements no one else references (and don't affect memory much).
2012-04-02 20:47:27 +02:00