76d98c7c42Implement basic full dome correction with projecto pointing upwards and at center of dome.
Robert Osfield
2007-02-22 16:42:59 +00:00
df0de03798Moved distortion mesh creation out into seperate function
Robert Osfield
2007-02-22 11:17:45 +00:00
03c198da4dRemoved the compile objects in init in the SceneView::setDefaults() setup.
Robert Osfield
2007-02-22 10:56:36 +00:00
b9eb2fcdeeFixed calculation of inverted coordindates
Robert Osfield
2007-02-22 10:31:09 +00:00
b14fc636e7Added STATIC_OBJECT_DETECTION optimizer pass to OpenFlight plugin
Robert Osfield
2007-02-22 09:16:54 +00:00
8dc84d0a8fFrom Brede Johansen, Thanks for the model it helped to understand the problem. In Creator the "Last Frame Duration" is performed on the last frame of the last loop iteration, I tried to use it for the last frame of every loop iteration. As you already have explained we need a custom Sequence node. In the osgSim nodekit we already have a couple of specialized nodes for the OpenFlight format. We need an osgSim::GroupAnimation but I don't have the time right now to take this challenge. Until then I have modified my last attempt to work with the current osg::Sequence node by ignoring the "Last Frame Duration".
Robert Osfield
2007-02-21 21:20:33 +00:00
455b046433Removed debugging info
Robert Osfield
2007-02-21 20:47:32 +00:00
becd84c2f3Added the default setting of the SceneView's camera onto the RenderStage to allow SceneView to automatically support FBO, PBuffers, image and texture copies and Camera post draw callbacks
Robert Osfield
2007-02-21 20:38:14 +00:00
987fe5d93bAdded ability to discount Camera's that arn't appropriate for event focus
Robert Osfield
2007-02-21 19:41:53 +00:00
9a1ce56ce5Wired up RTT cubemap cameras and simple distortion mesh.
Robert Osfield
2007-02-21 19:41:03 +00:00
ee9440d155Added Camera::s/getAllowsEventFocus() method to allow osgViewer to have non interfactive cameras such as RTT ones
Robert Osfield
2007-02-21 19:06:43 +00:00
37e3114534Wojciech Lewandowski: "TexGenNode::TexGenNode( TexGen * texGen ) constructor does not initialize ReferenceFrame. I am not sure maybe this was the intent but first constructor does it so I don't see a reson why third one shouldn't."
Robert Osfield
2007-02-21 15:15:55 +00:00
35a466f400Removed debug messages
Robert Osfield
2007-02-21 14:17:15 +00:00
228fd04a19Removed 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.
Robert Osfield
2007-02-21 13:48:01 +00:00
664522fb02Removed GL_TEXTURE_RECTANGLE_NV entries
Robert Osfield
2007-02-21 11:46:49 +00:00
5bba6b4167Further work on dome RTT
Robert Osfield
2007-02-20 21:06:24 +00:00
ffda14c669Fixed inheritance check for copying clear colour to slave cameras
Robert Osfield
2007-02-20 20:56:03 +00:00
416e6486f7Added inhertCullSettings before SceneView::cull() calls
Robert Osfield
2007-02-20 16:46:53 +00:00
fe8552bbd8Added beginings of full dome correction support, starting with 6 slave camera configuration.
Robert Osfield
2007-02-20 11:44:10 +00:00
3ae76b08e1Added missing \ to end osgGA entry
Robert Osfield
2007-02-20 09:48:59 +00:00
d16ce5cf63Added osgViewer and osgShadow to the wrapper build directories
Robert Osfield
2007-02-20 09:48:04 +00:00
57c2939174Added g/setUpdateVistor method
Robert Osfield
2007-02-19 20:57:08 +00:00
fa9456f0b9Added command line arguments descriptions
Robert Osfield
2007-02-19 16:59:52 +00:00
b348f4a815Added -1, -2 and -3 model creation options to osgshadow example.
Robert Osfield
2007-02-19 16:45:42 +00:00
bdfc9de345Updated wrappers
Robert Osfield
2007-02-19 15:42:32 +00:00
65ad3094a9Added support for ShadowTexture and ShadowMap to osgshadow example
Robert Osfield
2007-02-19 15:26:14 +00:00
bc0fb12d0aAdded option to use osgShadow::ShadowMap technique
Robert Osfield
2007-02-19 14:21:01 +00:00
37526e3beaImplemented basic ShadowMap technique
Robert Osfield
2007-02-19 14:20:18 +00:00
d5c68cfa02Moved CameraCullCallback into ShadowTechnique scope to make it more resusable between various Techniques
Robert Osfield
2007-02-19 12:13:30 +00:00
1964690baaWired up the texgen to complete the first iteration of ShadowTexture effect
Robert Osfield
2007-02-18 15:24:32 +00:00
d8e6436dc1From 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.
Robert Osfield
2007-02-18 14:21:16 +00:00
9d1e6e107cAdded basic set up of the RTT camera.
Robert Osfield
2007-02-17 17:16:13 +00:00
291d687cc9From Paul Martz, "Add GL_TEXTURE_RECTANGLE to list of acceptable texture modes"
Robert Osfield
2007-02-17 14:37:55 +00:00
afab03a0faFixed genwrapper so that it handles .svn directories, updated wrappers
Robert Osfield
2007-02-16 17:45:53 +00:00
049f907aadUpdated wrappers
Robert Osfield
2007-02-16 17:35:52 +00:00
a3594bc653Added new osg::ComputeBoundsVisitor
Robert Osfield
2007-02-16 17:34:34 +00:00
808162d344Added pushViewport/popViewport to CullVisitor::apply(Camera&)
Robert Osfield
2007-02-16 16:37:16 +00:00
d23b48fe3aUpdated wrappers
Robert Osfield
2007-02-16 15:29:47 +00:00
3817dbf1a2From Roland Smeenk, "ClipNode contains a method getClipPlaneList that should actually be called setClipPlaneList."
Robert Osfield
2007-02-16 15:17:43 +00:00
990417c9d1Fixed typo
Robert Osfield
2007-02-16 15:14:16 +00:00
526ba8c506From 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.
Robert Osfield
2007-02-16 13:33:29 +00:00
89fdc9fa37Removed debugging readImageFile, and done further work on RTT setup.
Robert Osfield
2007-02-16 13:17:04 +00:00
fd3a0c25baFleshed out a bit more of the ShadowTexture implementation
Robert Osfield
2007-02-16 10:20:10 +00:00
9119f4d3c3Added osgShadow::ShadowTexture set up
Robert Osfield
2007-02-16 10:19:15 +00:00
e096a5f44aAdded enabling of the stencil buffer when setting up ShadowVolume path
Robert Osfield
2007-02-16 06:39:23 +00:00
edf050842aFrom Eric Wing, updates to XCode projects and introduction of two SDL OSX files to the osgsimpleviewerSDL example
Robert Osfield
2007-02-16 06:11:38 +00:00
8d8f15cf72Fixed typo that was breaking the build
Robert Osfield
2007-02-16 05:46:50 +00:00
dbb7c3c74cAdded support for using the new osgShadow plugin as a psuedo loader such that:
Robert Osfield
2007-02-15 22:28:32 +00:00
1da57c124fAdded .osg support for osgShadow NodeKit
Robert Osfield
2007-02-15 17:31:30 +00:00
166d624c7fAdded support for using the scenes light source setting to set up the ShadowVolume's effect light parameters
Robert Osfield
2007-02-15 17:25:14 +00:00
644c92218dAddd an #ifdef _WIN32 to force SingleThreaded usage under Windows when no threading model is specified.
Robert Osfield
2007-02-15 15:06:18 +00:00
3e6a91c079From 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."
Robert Osfield
2007-02-15 15:03:30 +00:00
272ab99767Reorganised the text comments so that they are shorter length, and hopefully will avoid VS2003's silly text string limits when compiling osgIntrospection wrappers
Robert Osfield
2007-02-15 14:53:54 +00:00
3eb833c8b8Twaaked comments
Robert Osfield
2007-02-15 14:47:06 +00:00
ed01ae9387From André Garneau, Win32 build fixes
Robert Osfield
2007-02-15 14:04:22 +00:00
3fe4be6e70Added context sharing support.
Robert Osfield
2007-02-15 12:24:04 +00:00
4f2474ece8Fixed handling of warp pointer for when its called at startup and the event queue isn't yet initialized the window range.
Robert Osfield
2007-02-15 12:11:16 +00:00
b717790dcbRemoved inappropriate Stats:: prefix
Robert Osfield
2007-02-15 10:25:11 +00:00
36b8ccacddFixed warnings
Robert Osfield
2007-02-15 09:31:00 +00:00
f60330df31Added extra spaces between <> template declarations
Robert Osfield
2007-02-15 09:17:03 +00:00
b0ab6b49bfUpdated wrappers
Robert Osfield
2007-02-15 08:29:27 +00:00
acf10c827eRemoved setFrameStamp
Robert Osfield
2007-02-15 08:29:09 +00:00
91ab187ee1Added checks into Viewer set up of Camera stats so that stats are reused if already present.
Robert Osfield
2007-02-15 01:45:44 +00:00
6edca062b8Improved the update of the shadow volume.
Robert Osfield
2007-02-15 01:23:00 +00:00
b7b8e7ed98Removed extrandous Stats:: prefix
Robert Osfield
2007-02-15 00:53:52 +00:00
1eea407ee0Added support for osg::State::DynamicObjectCount into the RTT codes
Robert Osfield
2007-02-14 20:44:17 +00:00
87ff8e2b55Added support for sharing context to GraphicsWindowX11
Robert Osfield
2007-02-14 20:14:45 +00:00
f82c34ff11Added getState()->setGraphicsContext(this); to the various GrpahicsWindow implementations
Robert Osfield
2007-02-14 17:28:33 +00:00
e1fc31f256Renenabled the toggling on the CullPerCameraDrawPerContext threading model in the thread event handler.
Robert Osfield
2007-02-14 16:29:07 +00:00
810e7291fcAdded use of Mutex into osg::Stats to better handle multi-threaded usage
Robert Osfield
2007-02-14 16:24:49 +00:00
02ff109746Changed the initialized osg Drager:::PointerInfo::hitIter to prevent compile problems under Windows
Robert Osfield
2007-02-14 16:16:38 +00:00
d068ffb63aFrom Michael Platings, "I was getting a 0 byte memory leak reported when loading 3ds files, so I've changed line 196 from:
Robert Osfield
2007-02-14 15:25:04 +00:00
d81d579f07Changed the report of lack of WGL_SWAP_METHOD_ARB so that it is INFO rather than WARN.
Robert Osfield
2007-02-14 14:58:46 +00:00
bfa30a644eFrom Stephan Huber, "attached you'll find an update for the XCode-project.
Robert Osfield
2007-02-14 14:53:31 +00:00
ff126c3d1dAdded OSG_RUN_FRAME_COUNT env var which enables a limited run of specified frame numbers when Viewer::run is called.
Robert Osfield
2007-02-14 14:36:38 +00:00
07411f3246Introduced new osg::Object::DataVariance type of UNSPECIFIED, and changed the deafult values of DataVariance to UNSPECIFIED to all types.
Robert Osfield
2007-02-14 13:18:58 +00:00
953899d0e2Set the DataVariance of updating text to DYNAMIC
Robert Osfield
2007-02-14 12:42:10 +00:00
c71341d0b9From Jean-Sebastien Guay, fixed path.
Robert Osfield
2007-02-14 12:40:45 +00:00
115cf528a1Removed debugging run method.
Robert Osfield
2007-02-14 12:00:33 +00:00
89c99a88faAdded computeDataVariance method into osg::Object and implementations in Drawable and StateSet, and calling of osgUtil::StaticObjectDetectionVisitor in osgViewer::Viewer
Robert Osfield
2007-02-14 11:24:42 +00:00
5dcb7af6a4From Mike Wittman, added spaces into < > macros
Robert Osfield
2007-02-14 11:21:41 +00:00
1ac770aebcFixed warning
Robert Osfield
2007-02-13 22:39:59 +00:00
da20b59aadFixed warnings
Robert Osfield
2007-02-13 22:24:51 +00:00
e8d6cec990Fixed warning
Robert Osfield
2007-02-13 22:22:35 +00:00
f85eda9c6aFixed warnings.
Robert Osfield
2007-02-13 22:16:18 +00:00
8b104a2136Added -losgText to example that used osgViewer but didn't previously include -losgText
Robert Osfield
2007-02-13 20:32:45 +00:00
1138c312b7Changed the DeleteHandler so by default it doesn't cache objects
Robert Osfield
2007-02-13 17:39:42 +00:00
fe67a91e83Added OSG_THREADING environmental variable to osgViewer::Viewer::suggestBestThreadingModel
Robert Osfield
2007-02-13 16:03:35 +00:00
f29ad5d0f2Reduced the RTT texture size to 256x256 to make setup quicker
Robert Osfield
2007-02-13 15:57:01 +00:00
62e61e15efFrom John Shue, "Modified OpenSceneGraph/Make/makedefs to add -pipe gcc command line option to FreeBSD build."
Robert Osfield
2007-02-13 15:24:56 +00:00
9c434274beAdded support for ColorMask to .ive plugin
Robert Osfield
2007-02-13 14:42:00 +00:00
927dfc0a52From Brede Johansen, "Geometry.cpp Make sure number of normals match number of vertices when lit or vertex-normal pairs are separated when geometries are merged by the optimizer.
Robert Osfield
2007-02-13 14:19:39 +00:00
cd07fb61ebFrom Eric Wing, "Here are some updates for osgsimpleviewerCocoa.
Robert Osfield
2007-02-13 13:58:45 +00:00
b695160483Added support for osg::Stencil into .ive
Robert Osfield
2007-02-13 13:47:37 +00:00
e4ffa968a2From Ulrich Hertlein, added support for osg::BlendColor to .ive format.
Robert Osfield
2007-02-13 12:17:33 +00:00
5fddbfe85cAdded support for osg::BlendColor to .osg plugin
Robert Osfield
2007-02-13 12:11:32 +00:00
cc3d3c6d4cAdded setDataVariance(DYNAMIC) to the scores text entires to prevent the DrawThreadPerContext for crashing due to double buffering of dynamic data.
Robert Osfield
2007-02-13 11:32:28 +00:00
66274a632aChanged the BlendFunction StateSet to DYNAMIC
Robert Osfield
2007-02-13 09:38:07 +00:00
264d69e0c9From Mike Wittman, support for reference parameters
Robert Osfield
2007-02-13 09:33:35 +00:00
3fbd958716Added setDataVariance(DYNAMIC) to _inputText to prevent problems when running in DrawThreadPerContext threading model.
Robert Osfield
2007-02-13 09:27:44 +00:00