Robert Osfield
bc0fb12d0a
Added option to use osgShadow::ShadowMap technique
2007-02-19 14:21:01 +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
d8e6436dc1
From Andre Garneau:
...
* Fix for the aspect ratio not being properly set when screens have
different aspect ratios.
* Minor fix for makeCurrentImplementation being called directly instead of
makeCurrent() causing the owning thread pointer not being tracked
* Fix for osglauncher so that it sets its update text regions to DYNAMIC to
prevent multi-threading issues.
2007-02-18 14:21:16 +00:00
Robert Osfield
9d1e6e107c
Added basic set up of the RTT camera.
2007-02-17 17:16:13 +00:00
Robert Osfield
291d687cc9
From Paul Martz, "Add GL_TEXTURE_RECTANGLE to list of acceptable texture modes"
2007-02-17 14:37:55 +00:00
Robert Osfield
afab03a0fa
Fixed genwrapper so that it handles .svn directories, updated wrappers
2007-02-16 17:45:53 +00:00
Robert Osfield
049f907aad
Updated wrappers
2007-02-16 17:35:52 +00:00
Robert Osfield
a3594bc653
Added new osg::ComputeBoundsVisitor
2007-02-16 17:34:34 +00:00
Robert Osfield
808162d344
Added pushViewport/popViewport to CullVisitor::apply(Camera&)
2007-02-16 16:37:16 +00:00
Robert Osfield
d23b48fe3a
Updated wrappers
2007-02-16 15:29:47 +00:00
Robert Osfield
3817dbf1a2
From Roland Smeenk, "ClipNode contains a method getClipPlaneList that should actually be called setClipPlaneList."
2007-02-16 15:17:43 +00:00
Robert Osfield
990417c9d1
Fixed typo
2007-02-16 15:14:16 +00:00
Robert Osfield
526ba8c506
From Stephan Huber, "I added a bool to GraphicsContext::Traits to indicate wether to use the
...
multithreaded-opengl-engine on os x or not. I set its default to false,
perhaps other os x users can test this setting with their data/apps, to
see if we can enable it by default.
I changed also the borderless-window-type, so expos?works correctly."
2007-02-16 13:33:29 +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
9119f4d3c3
Added osgShadow::ShadowTexture set up
2007-02-16 10:19:15 +00:00
Robert Osfield
e096a5f44a
Added enabling of the stencil buffer when setting up ShadowVolume path
2007-02-16 06:39:23 +00:00
Robert Osfield
edf050842a
From Eric Wing, updates to XCode projects and introduction of two SDL OSX files to the osgsimpleviewerSDL example
2007-02-16 06:11:38 +00:00
Robert Osfield
8d8f15cf72
Fixed typo that was breaking the build
2007-02-16 05:46:50 +00:00
Robert Osfield
dbb7c3c74c
Added support for using the new osgShadow plugin as a psuedo loader such that:
...
osgviewer cow.osg.shadow
Or to ShadowVolume rechnique specifically:
osgviewer cow.osg.sv.shadow
2007-02-15 22:28:32 +00:00
Robert Osfield
1da57c124f
Added .osg support for osgShadow NodeKit
2007-02-15 17:31:30 +00:00
Robert Osfield
166d624c7f
Added support for using the scenes light source setting to set up the
...
ShadowVolume's effect light parameters
2007-02-15 17:25:14 +00:00
Robert Osfield
644c92218d
Addd an #ifdef _WIN32 to force SingleThreaded usage under Windows when no
...
threading model is specified.
2007-02-15 15:06:18 +00:00
Robert Osfield
3e6a91c079
From Mike Wittman, "The template-argument-list errors look to be due to a lack of spaces in the typeof macro. Here's a new Reflection header which should fix those problems. For consistency I think that's the best solution."
2007-02-15 15:03:30 +00:00
Robert Osfield
272ab99767
Reorganised the text comments so that they are shorter length, and hopefully will
...
avoid VS2003's silly text string limits when compiling osgIntrospection wrappers
2007-02-15 14:53:54 +00:00
Robert Osfield
3eb833c8b8
Twaaked comments
2007-02-15 14:47:06 +00:00
Robert Osfield
ed01ae9387
From André Garneau, Win32 build fixes
2007-02-15 14:04:22 +00:00
Robert Osfield
3fe4be6e70
Added context sharing support.
2007-02-15 12:24:04 +00:00
Robert Osfield
4f2474ece8
Fixed handling of warp pointer for when its called at startup and the
...
event queue isn't yet initialized the window range.
2007-02-15 12:11:16 +00:00
Robert Osfield
b717790dcb
Removed inappropriate Stats:: prefix
2007-02-15 10:25:11 +00:00
Robert Osfield
36b8ccacdd
Fixed warnings
2007-02-15 09:31:00 +00:00
Robert Osfield
f60330df31
Added extra spaces between <> template declarations
2007-02-15 09:17:03 +00:00
Robert Osfield
b0ab6b49bf
Updated wrappers
2007-02-15 08:29:27 +00:00
Robert Osfield
acf10c827e
Removed setFrameStamp
2007-02-15 08:29:09 +00:00
Robert Osfield
91ab187ee1
Added checks into Viewer set up of Camera stats so that stats are reused if already present.
...
Added use of ref_ptr<osg::Stats> into StatsHandler's callbacks
2007-02-15 01:45:44 +00:00
Robert Osfield
6edca062b8
Improved the update of the shadow volume.
2007-02-15 01:23:00 +00:00
Robert Osfield
b7b8e7ed98
Removed extrandous Stats:: prefix
2007-02-15 00:53:52 +00:00
Robert Osfield
1eea407ee0
Added support for osg::State::DynamicObjectCount into the RTT codes
2007-02-14 20:44:17 +00:00
Robert Osfield
87ff8e2b55
Added support for sharing context to GraphicsWindowX11
2007-02-14 20:14:45 +00:00
Robert Osfield
f82c34ff11
Added getState()->setGraphicsContext(this); to the various GrpahicsWindow implementations
2007-02-14 17:28:33 +00:00
Robert Osfield
e1fc31f256
Renenabled the toggling on the CullPerCameraDrawPerContext threading model in the thread event handler.
2007-02-14 16:29:07 +00:00
Robert Osfield
810e7291fc
Added use of Mutex into osg::Stats to better handle multi-threaded usage
2007-02-14 16:24:49 +00:00
Robert Osfield
02ff109746
Changed the initialized osg Drager:::PointerInfo::hitIter to prevent compile problems under Windows
2007-02-14 16:16:38 +00:00
Robert Osfield
d068ffb63a
From Michael Platings, "I was getting a 0 byte memory leak reported when loading 3ds files, so
...
I've changed line 196 from:
viewport->layout.viewL=(Lib3dsView*)calloc(sizeof(Lib3dsView),views);
to:
viewport->layout.viewL= views ?
(Lib3dsView*)calloc(sizeof(Lib3dsView),views) : 0;"
2007-02-14 15:25:04 +00:00
Robert Osfield
d81d579f07
Changed the report of lack of WGL_SWAP_METHOD_ARB so that it is INFO rather than WARN.
2007-02-14 14:58:46 +00:00
Robert Osfield
bfa30a644e
From Stephan Huber, "attached you'll find an update for the XCode-project.
...
I added the osgShadow as a framework and osgManipulator as a framework,
(and the corresponding examples) I removed (hopefully) all references to
osg-/Producer where necessary, and some minor stuff."
2007-02-14 14:53:31 +00:00
Robert Osfield
ff126c3d1d
Added OSG_RUN_FRAME_COUNT env var which enables a limited run of specified
...
frame numbers when Viewer::run is called.
2007-02-14 14:36:38 +00:00
Robert Osfield
07411f3246
Introduced new osg::Object::DataVariance type of UNSPECIFIED, and changed the deafult
...
values of DataVariance to UNSPECIFIED to all types.
2007-02-14 13:18:58 +00:00