Robert Osfield
14a563dc9f
Ran script to remove trailing spaces and tabs
2012-03-21 17:36:20 +00:00
Robert Osfield
ba3971bb45
Added a ShadowTechnique::computeOrthogonalVector(const osg::Vec3& direction) const method for helping compute an appropriate
...
up vector to setViewMatrixAsLookAt(..) codes in osgShadow. This will addresses previous issues that occured when look vectors
co-incided with the hard coded up vectors.
2010-03-01 13:00:04 +00:00
Robert Osfield
c569b8a1f3
Restoring Roger's original 2.0 factor as on review the later orthographic projection code
...
doesn't require the position to be far out from the center to simulate an infinite light.
2008-10-07 15:19:48 +00:00
Robert Osfield
ad72dc66ce
From Roger James, "The light position is incorrectly calculated for shadow casting scenes whose bounding box centre is not the origin. This is a one line fix.
...
"
2008-10-07 15:16:37 +00:00
Robert Osfield
207a0e8610
Revert the Camera::setInheritanceMask(0x) calls that were added as workaround to a bug introduced by a bug fix to the way the inhertiance mask was handled in CullVisito::apply(Camera&)
2008-03-19 11:41:21 +00:00
Robert Osfield
945846a3ed
Set the CullSettings::InhertianceMask to 0x0 as temporary measure till we
...
work out the best scheme to use w.r.t inhertiance of CullSettins.
2008-03-18 17:44:21 +00:00
Robert Osfield
f4afa427a7
From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)."
2007-12-10 17:30:18 +00:00
Robert Osfield
7016db5f26
Removed ParallelSplitShadowMap as its currently a non op.
2007-06-13 09:56:12 +00:00
Robert Osfield
a9d9d387df
Fixed spelling of Receives
2007-06-04 08:38:11 +00:00
Robert Osfield
29c189c9ff
Added support for direction lights to ShadowTexture
2007-02-28 11:18:43 +00:00
Robert Osfield
228fd04a19
Removed the exclusion of CullSettings from the genwrapper.conf, and then changed the CullStack RefMatrix& methods to RefMatrix*
...
as the RefMatrix& versions caused the wrappers to fail.
2007-02-21 13:48:01 +00:00
Robert Osfield
bdfc9de345
Updated wrappers
2007-02-19 15:42:32 +00:00
Robert Osfield
37526e3bea
Implemented basic ShadowMap technique
2007-02-19 14:20:18 +00:00
Robert Osfield
d5c68cfa02
Moved CameraCullCallback into ShadowTechnique scope to make it more resusable between various Techniques
2007-02-19 12:13:30 +00:00
Robert Osfield
1964690baa
Wired up the texgen to complete the first iteration of ShadowTexture effect
2007-02-18 15:24:32 +00:00
Robert Osfield
9d1e6e107c
Added basic set up of the RTT camera.
2007-02-17 17:16:13 +00:00
Robert Osfield
049f907aad
Updated wrappers
2007-02-16 17:35:52 +00:00
Robert Osfield
89fdc9fa37
Removed debugging readImageFile, and done further work on RTT setup.
2007-02-16 13:17:04 +00:00
Robert Osfield
fd3a0c25ba
Fleshed out a bit more of the ShadowTexture implementation
2007-02-16 10:20:10 +00:00
Robert Osfield
5163c4a762
First cut at class interfaces and stubs for implementations for the new osgShadow NodeKit
2006-10-06 14:16:11 +00:00