Commit Graph

  • 76d98c7c42 Implement basic full dome correction with projecto pointing upwards and at center of dome. Robert Osfield 2007-02-22 16:42:59 +00:00
  • df0de03798 Moved distortion mesh creation out into seperate function Robert Osfield 2007-02-22 11:17:45 +00:00
  • 03c198da4d Removed the compile objects in init in the SceneView::setDefaults() setup. Robert Osfield 2007-02-22 10:56:36 +00:00
  • b9eb2fcdee Fixed calculation of inverted coordindates Robert Osfield 2007-02-22 10:31:09 +00:00
  • b14fc636e7 Added STATIC_OBJECT_DETECTION optimizer pass to OpenFlight plugin Robert Osfield 2007-02-22 09:16:54 +00:00
  • 8dc84d0a8f From 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
  • 455b046433 Removed debugging info Robert Osfield 2007-02-21 20:47:32 +00:00
  • becd84c2f3 Added 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
  • 987fe5d93b Added ability to discount Camera's that arn't appropriate for event focus Robert Osfield 2007-02-21 19:41:53 +00:00
  • 9a1ce56ce5 Wired up RTT cubemap cameras and simple distortion mesh. Robert Osfield 2007-02-21 19:41:03 +00:00
  • ee9440d155 Added 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
  • 37e3114534 Wojciech 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
  • 35a466f400 Removed debug messages Robert Osfield 2007-02-21 14:17:15 +00:00
  • 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. Robert Osfield 2007-02-21 13:48:01 +00:00
  • 664522fb02 Removed GL_TEXTURE_RECTANGLE_NV entries Robert Osfield 2007-02-21 11:46:49 +00:00
  • 5bba6b4167 Further work on dome RTT Robert Osfield 2007-02-20 21:06:24 +00:00
  • ffda14c669 Fixed inheritance check for copying clear colour to slave cameras Robert Osfield 2007-02-20 20:56:03 +00:00
  • 416e6486f7 Added inhertCullSettings before SceneView::cull() calls Robert Osfield 2007-02-20 16:46:53 +00:00
  • fe8552bbd8 Added beginings of full dome correction support, starting with 6 slave camera configuration. Robert Osfield 2007-02-20 11:44:10 +00:00
  • 3ae76b08e1 Added missing \ to end osgGA entry Robert Osfield 2007-02-20 09:48:59 +00:00
  • d16ce5cf63 Added osgViewer and osgShadow to the wrapper build directories Robert Osfield 2007-02-20 09:48:04 +00:00
  • 57c2939174 Added g/setUpdateVistor method Robert Osfield 2007-02-19 20:57:08 +00:00
  • fa9456f0b9 Added command line arguments descriptions Robert Osfield 2007-02-19 16:59:52 +00:00
  • b348f4a815 Added -1, -2 and -3 model creation options to osgshadow example. Robert Osfield 2007-02-19 16:45:42 +00:00
  • bdfc9de345 Updated wrappers Robert Osfield 2007-02-19 15:42:32 +00:00
  • 65ad3094a9 Added support for ShadowTexture and ShadowMap to osgshadow example Robert Osfield 2007-02-19 15:26:14 +00:00
  • bc0fb12d0a Added option to use osgShadow::ShadowMap technique Robert Osfield 2007-02-19 14:21:01 +00:00
  • 37526e3bea Implemented basic ShadowMap technique Robert Osfield 2007-02-19 14:20:18 +00:00
  • d5c68cfa02 Moved CameraCullCallback into ShadowTechnique scope to make it more resusable between various Techniques Robert Osfield 2007-02-19 12:13:30 +00:00
  • 1964690baa Wired up the texgen to complete the first iteration of ShadowTexture effect Robert Osfield 2007-02-18 15:24:32 +00:00
  • 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. Robert Osfield 2007-02-18 14:21:16 +00:00
  • 9d1e6e107c Added basic set up of the RTT camera. Robert Osfield 2007-02-17 17:16:13 +00:00
  • 291d687cc9 From Paul Martz, "Add GL_TEXTURE_RECTANGLE to list of acceptable texture modes" Robert Osfield 2007-02-17 14:37:55 +00:00
  • afab03a0fa Fixed genwrapper so that it handles .svn directories, updated wrappers Robert Osfield 2007-02-16 17:45:53 +00:00
  • 049f907aad Updated wrappers Robert Osfield 2007-02-16 17:35:52 +00:00
  • a3594bc653 Added new osg::ComputeBoundsVisitor Robert Osfield 2007-02-16 17:34:34 +00:00
  • 808162d344 Added pushViewport/popViewport to CullVisitor::apply(Camera&) Robert Osfield 2007-02-16 16:37:16 +00:00
  • d23b48fe3a Updated wrappers Robert Osfield 2007-02-16 15:29:47 +00:00
  • 3817dbf1a2 From Roland Smeenk, "ClipNode contains a method getClipPlaneList that should actually be called setClipPlaneList." Robert Osfield 2007-02-16 15:17:43 +00:00
  • 990417c9d1 Fixed typo Robert Osfield 2007-02-16 15:14:16 +00:00
  • 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. Robert Osfield 2007-02-16 13:33:29 +00:00
  • 89fdc9fa37 Removed debugging readImageFile, and done further work on RTT setup. Robert Osfield 2007-02-16 13:17:04 +00:00
  • fd3a0c25ba Fleshed out a bit more of the ShadowTexture implementation Robert Osfield 2007-02-16 10:20:10 +00:00
  • 9119f4d3c3 Added osgShadow::ShadowTexture set up Robert Osfield 2007-02-16 10:19:15 +00:00
  • e096a5f44a Added enabling of the stencil buffer when setting up ShadowVolume path Robert Osfield 2007-02-16 06:39:23 +00:00
  • edf050842a From 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
  • 8d8f15cf72 Fixed typo that was breaking the build Robert Osfield 2007-02-16 05:46:50 +00:00
  • dbb7c3c74c Added support for using the new osgShadow plugin as a psuedo loader such that: Robert Osfield 2007-02-15 22:28:32 +00:00
  • 1da57c124f Added .osg support for osgShadow NodeKit Robert Osfield 2007-02-15 17:31:30 +00:00
  • 166d624c7f Added 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
  • 644c92218d Addd 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
  • 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." Robert Osfield 2007-02-15 15:03:30 +00:00
  • 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 Robert Osfield 2007-02-15 14:53:54 +00:00
  • 3eb833c8b8 Twaaked comments Robert Osfield 2007-02-15 14:47:06 +00:00
  • ed01ae9387 From André Garneau, Win32 build fixes Robert Osfield 2007-02-15 14:04:22 +00:00
  • 3fe4be6e70 Added context sharing support. Robert Osfield 2007-02-15 12:24:04 +00:00
  • 4f2474ece8 Fixed 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
  • b717790dcb Removed inappropriate Stats:: prefix Robert Osfield 2007-02-15 10:25:11 +00:00
  • 36b8ccacdd Fixed warnings Robert Osfield 2007-02-15 09:31:00 +00:00
  • f60330df31 Added extra spaces between <> template declarations Robert Osfield 2007-02-15 09:17:03 +00:00
  • b0ab6b49bf Updated wrappers Robert Osfield 2007-02-15 08:29:27 +00:00
  • acf10c827e Removed setFrameStamp Robert Osfield 2007-02-15 08:29:09 +00:00
  • 91ab187ee1 Added 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
  • 6edca062b8 Improved the update of the shadow volume. Robert Osfield 2007-02-15 01:23:00 +00:00
  • b7b8e7ed98 Removed extrandous Stats:: prefix Robert Osfield 2007-02-15 00:53:52 +00:00
  • 1eea407ee0 Added support for osg::State::DynamicObjectCount into the RTT codes Robert Osfield 2007-02-14 20:44:17 +00:00
  • 87ff8e2b55 Added support for sharing context to GraphicsWindowX11 Robert Osfield 2007-02-14 20:14:45 +00:00
  • f82c34ff11 Added getState()->setGraphicsContext(this); to the various GrpahicsWindow implementations Robert Osfield 2007-02-14 17:28:33 +00:00
  • e1fc31f256 Renenabled the toggling on the CullPerCameraDrawPerContext threading model in the thread event handler. Robert Osfield 2007-02-14 16:29:07 +00:00
  • 810e7291fc Added use of Mutex into osg::Stats to better handle multi-threaded usage Robert Osfield 2007-02-14 16:24:49 +00:00
  • 02ff109746 Changed the initialized osg Drager:::PointerInfo::hitIter to prevent compile problems under Windows Robert Osfield 2007-02-14 16:16:38 +00:00
  • d068ffb63a From 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
  • d81d579f07 Changed 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
  • bfa30a644e From Stephan Huber, "attached you'll find an update for the XCode-project. Robert Osfield 2007-02-14 14:53:31 +00:00
  • ff126c3d1d Added 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
  • 07411f3246 Introduced 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
  • 953899d0e2 Set the DataVariance of updating text to DYNAMIC Robert Osfield 2007-02-14 12:42:10 +00:00
  • c71341d0b9 From Jean-Sebastien Guay, fixed path. Robert Osfield 2007-02-14 12:40:45 +00:00
  • 115cf528a1 Removed debugging run method. Robert Osfield 2007-02-14 12:00:33 +00:00
  • 89c99a88fa Added 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
  • 5dcb7af6a4 From Mike Wittman, added spaces into < > macros Robert Osfield 2007-02-14 11:21:41 +00:00
  • 1ac770aebc Fixed warning Robert Osfield 2007-02-13 22:39:59 +00:00
  • da20b59aad Fixed warnings Robert Osfield 2007-02-13 22:24:51 +00:00
  • e8d6cec990 Fixed warning Robert Osfield 2007-02-13 22:22:35 +00:00
  • f85eda9c6a Fixed warnings. Robert Osfield 2007-02-13 22:16:18 +00:00
  • 8b104a2136 Added -losgText to example that used osgViewer but didn't previously include -losgText Robert Osfield 2007-02-13 20:32:45 +00:00
  • 1138c312b7 Changed the DeleteHandler so by default it doesn't cache objects Robert Osfield 2007-02-13 17:39:42 +00:00
  • fe67a91e83 Added OSG_THREADING environmental variable to osgViewer::Viewer::suggestBestThreadingModel Robert Osfield 2007-02-13 16:03:35 +00:00
  • f29ad5d0f2 Reduced the RTT texture size to 256x256 to make setup quicker Robert Osfield 2007-02-13 15:57:01 +00:00
  • 62e61e15ef From 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
  • 9c434274be Added support for ColorMask to .ive plugin Robert Osfield 2007-02-13 14:42:00 +00:00
  • 927dfc0a52 From 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
  • cd07fb61eb From Eric Wing, "Here are some updates for osgsimpleviewerCocoa. Robert Osfield 2007-02-13 13:58:45 +00:00
  • b695160483 Added support for osg::Stencil into .ive Robert Osfield 2007-02-13 13:47:37 +00:00
  • e4ffa968a2 From Ulrich Hertlein, added support for osg::BlendColor to .ive format. Robert Osfield 2007-02-13 12:17:33 +00:00
  • 5fddbfe85c Added support for osg::BlendColor to .osg plugin Robert Osfield 2007-02-13 12:11:32 +00:00
  • cc3d3c6d4c Added 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
  • 66274a632a Changed the BlendFunction StateSet to DYNAMIC Robert Osfield 2007-02-13 09:38:07 +00:00
  • 264d69e0c9 From Mike Wittman, support for reference parameters Robert Osfield 2007-02-13 09:33:35 +00:00
  • 3fbd958716 Added setDataVariance(DYNAMIC) to _inputText to prevent problems when running in DrawThreadPerContext threading model. Robert Osfield 2007-02-13 09:27:44 +00:00