Mathias Froehlich
c62c778c88
hla: Enalble creating object instances without object class.
...
This enables creating HLAObjectInstance instances without
valid initial object class pointer. This is useful for local
implemented object instances.
2012-03-10 14:26:19 +01:00
Mathias Froehlich
2f0a6fdb67
hla: Remove old comment.
2012-03-10 08:30:02 +01:00
Torsten Dreyer
70ec13e10b
Make the sky disable cutoff distance configurable
2012-03-09 20:58:24 +01:00
Mathias Froehlich
3693e3600c
scenery: rework stg loading code.
...
This change reworks the code block loading the stg files.
It fixes a long standing problem where we end up loading
similar models from different entries of the scenery
path at the same geographic location. This usually results
in models that appear to have z figting, even if the isolated
model does not show z fighting at all.
As a result the lookup sequence for models and scenery has
changed a bit. This should be closer to what it supposed to
be and did not show any problems on the areas and sceneries
I tested.
2012-03-08 07:15:14 +01:00
Frederic Bouvier
69debc6777
Revert "Put airport lights in RenderBin to enable glow"
...
This reverts commit 1fa27f2d19
.
2012-03-07 20:48:53 +01:00
Frederic Bouvier
84d7488061
Revert commit 7864516... Increase point sprite size for runway lights
2012-03-07 20:16:14 +01:00
Mathias Froehlich
fbb7c84409
scenery: Remove unused argument from runway signs.
2012-03-07 06:36:27 +01:00
Frederic Bouvier
a7379c88f4
Revert "Allow the not operator in expressions" - this is not required for
...
effects
This reverts commit 92074f0d3c
.
2012-03-06 23:15:18 +01:00
Mathias Froehlich
cc8977b83d
hla: include config.h and compiler.h in implementation files.
2012-03-05 06:59:37 +01:00
Mathias Froehlich
50380bc6c5
hla: Provide access to the parent federate.
2012-03-04 21:35:16 +01:00
Frederic Bouvier
92074f0d3c
Allow the not operator in expressions
2012-03-04 21:24:54 +01:00
Frederic Bouvier
1e889c4d07
Implement point light
2012-03-04 20:21:52 +01:00
Frederic Bouvier
617a09d89a
Fix path in include directive
2012-03-04 20:21:51 +01:00
Frederic Bouvier
2af409f54d
Save work on shadows
2012-03-04 20:21:49 +01:00
Frederic Bouvier
6d3766e913
Move noise functions from scene/material to scene/util
2012-03-04 20:21:47 +01:00
Frederic Bouvier
9b130f099f
Move Noise from scene/material to scene/util
2012-03-04 20:21:46 +01:00
Frederic Bouvier
20414e6ef4
Smaller point light for vasi
2012-03-04 20:21:44 +01:00
Frederic Bouvier
78645169bf
Increase point sprite size for runway lights
2012-03-04 20:21:42 +01:00
Frederic Bouvier
a276e7e379
Remove now useless StateAttributeFactory::getNoiseNormalMap()
2012-03-04 20:21:41 +01:00
Frederic Bouvier
1dfde64ac2
Use bigger point sprites for airport lighting
2012-03-04 20:21:39 +01:00
Frederic Bouvier
1fa27f2d19
Put airport lights in RenderBin to enable glow
2012-03-04 20:21:37 +01:00
Frederic Bouvier
2822006d01
New buffer types for effects
2012-03-04 20:21:36 +01:00
Frederic Bouvier
288e63f0d8
Add noise texture and noise normal map to StateAttributeFactory
2012-03-04 20:21:34 +01:00
Frederic Bouvier
66c9187c95
Boolean uniforms are now updatable by properties
2012-03-04 20:21:32 +01:00
Frederic Bouvier
cbf8687e3d
Add bloom buffer to effects
2012-03-04 20:21:31 +01:00
Frederic Bouvier
c9a80caff5
Create new buffer type : emission
2012-03-04 20:21:29 +01:00
Frederic Bouvier
f9857235fc
Add new texture type in effects : lighting-buffer
2012-03-04 20:21:27 +01:00
Frederic Bouvier
c595a276a0
Include the light volume in the model
2012-03-04 20:21:26 +01:00
Frederic Bouvier
b582cd230e
Implement a cache of light effects
2012-03-04 20:21:24 +01:00
Frederic Bouvier
ad6c04489c
Add the light animation to the cmake system
2012-03-04 20:21:22 +01:00
Frederic Bouvier
ec7e59eda1
Full implementation of the spotlight by Effects
2012-03-04 20:21:21 +01:00
Frederic Bouvier
d929323e93
Add light animation to msvc9 project
2012-03-04 20:21:19 +01:00
Frederic Bouvier
5a96b283f6
Add preliminary spot light animation
2012-03-04 20:21:18 +01:00
Frederic Bouvier
d393e4a019
Add positioned uniforms and G-buffer textures to Effects
2012-03-04 20:21:16 +01:00
Mathias Froehlich
9700e46e47
spt: Make use of newly provided earth texture.
2012-03-04 20:10:22 +01:00
Mathias Froehlich
036c0034c3
hla: Fix the way derived classes accumulate attributes.
2012-03-04 19:56:43 +01:00
Mathias Froehlich
f5067b058c
scenery: Do not use a seperate set of options for loading the model.
...
This fixes a problem introduced in commit
4e24095d8b
.
Also this should fix Bug #698 .
2012-03-04 17:09:24 +01:00
Mathias Froehlich
0d9b247da1
scenery: Only add trasnform matrices on successful loaded models.
2012-03-04 13:07:41 +01:00
Frederic Bouvier
a2b75e0d7a
Compile SGReaderWriterOptions.cxx under Windows
2012-03-04 10:36:31 +01:00
Mathias Froehlich
c9165a565b
Use an implementation file for SGReaderWriterOptions.
2012-03-04 08:40:56 +01:00
Mathias Froehlich
49d8b96768
Centralize osgDB::Option handling in SGReaderWriterOptions.
2012-03-04 08:33:21 +01:00
Mathias Froehlich
5ad6eb937b
Make use of SGReaderWriterOptions::copyOrCreate in SGModelLib
2012-03-04 08:17:10 +01:00
Mathias Froehlich
f66e023ea8
Make use of SGReaderWriterOptions::copyOrCreate in SGMaterial.
2012-03-04 08:15:00 +01:00
Mathias Froehlich
72f1538ac2
Make use of SGReaderWriterOptions::copyOrCreate in ReaderWriterSTG.
2012-03-04 07:50:05 +01:00
Mathias Froehlich
4e24095d8b
Make use of SGReaderWriterOptions::copyOrCreate in SGReaderWriterXML.
2012-03-04 07:42:31 +01:00
Mathias Froehlich
1473eabc7c
Provide SGReaderWriterOptions::copyOrCreate(const osgDB::Options*).
...
This functions tries to preserve the database options as much
as possible and guarantees to return a non zero options
pointer.
2012-03-04 07:42:31 +01:00
Mathias Froehlich
11fd888ed8
Replace osgDB::ReaderWriter::Options to osgDB::Options.
...
This has changed in osg, so reflect that here.
2012-03-04 07:07:42 +01:00
Mathias Froehlich
8c78588ee1
Untangle osg singleton dependencies.
...
Take two. The ModelRegistry's are already derived from osg::Referenced.
So also introduce the osg dependent version in simgear/scene/util.
2012-03-03 18:57:48 +01:00
Mathias Froehlich
c74e212494
Revert "Use simgear internal stuff for the singleton class."
...
This reverts commit 80274596df
.
2012-03-03 18:21:49 +01:00
ThorstenB
13f96cdcc9
Dir::tempDir not working on some systems.
...
Only worked when TMPDIR environment variable had a trailing slash (i.e.
"/tmp/" worked, but not "/tmp").
(Problem shown by simgear's "test suite". It's good to have tests!)
2012-03-03 17:06:51 +01:00