Commit Graph

6014 Commits

Author SHA1 Message Date
Robert Osfield
fa9456f0b9 Added command line arguments descriptions 2007-02-19 16:59:52 +00:00
Robert Osfield
b348f4a815 Added -1, -2 and -3 model creation options to osgshadow example. 2007-02-19 16:45:42 +00:00
Robert Osfield
bdfc9de345 Updated wrappers 2007-02-19 15:42:32 +00:00
Robert Osfield
65ad3094a9 Added support for ShadowTexture and ShadowMap to osgshadow example 2007-02-19 15:26:14 +00:00
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