Commit Graph

  • 16e1ea70a6 Updated news Robert Osfield 2009-01-29 15:07:57 +00:00
  • 66d77e3ebd Fixed the sumation of the the unique number of primtivesets and vertices in the scene Stats collect Robert Osfield 2009-01-29 14:41:18 +00:00
  • 4291a8e193 Added CMakeLists.txt for osgcluster Robert Osfield 2009-01-29 14:35:15 +00:00
  • 7db0ba0bea First cut of NEWS for 2.8 release Robert Osfield 2009-01-29 14:00:59 +00:00
  • 8e3b5e41c7 Restructed the reporting of the libpath message so that it only appears the first time it's required Robert Osfield 2009-01-29 13:29:08 +00:00
  • 9b64144a2f Added osgcluster example into build system Robert Osfield 2009-01-29 13:17:48 +00:00
  • d62c34efe8 From Jason Daly, "Somehow, one of the shaders in the bsp plugin started behaving incorrectly between the original submission and now. I suspect it has to do with a typo in the setup of the shader that was fixed at some point, or it happened during the recent warnings purge. In any case, I had to invert the usage of a parameter in the shader to make it behave properly again. Robert Osfield 2009-01-29 11:18:03 +00:00
  • 2bf68cab53 Fixed warning Robert Osfield 2009-01-29 11:03:38 +00:00
  • d44b4d21b9 Revised the message about install path. Robert Osfield 2009-01-29 10:43:11 +00:00
  • 2014d6162c Added missing entry in build for AnimationManager.cpp Robert Osfield 2009-01-29 10:22:52 +00:00
  • be179b481d Improved the handling of toggling of GL_LIGHTi modes when SceneView::setLightingMode() is toggled on/off. Robert Osfield 2009-01-29 09:28:08 +00:00
  • 5ac339d7b2 Replaced -1 with ~0u to fix warning due to being written to a UInt field. Note, OpenFlight spec says -1, which is clearly an error in the spec, so we've had to guess at ~0u being an appropriate value. Robert Osfield 2009-01-29 09:27:23 +00:00
  • e5680b2b4f Removed now redundent shader files. Robert Osfield 2009-01-29 09:24:45 +00:00
  • 8c134750e6 Removed old shader files Robert Osfield 2009-01-28 16:48:10 +00:00
  • f9855c35ec Removed comments. Robert Osfield 2009-01-28 16:44:46 +00:00
  • 4004b37ee8 Updated wrappers Robert Osfield 2009-01-28 15:23:18 +00:00
  • ac264a4a0c Moved push/popCulling set it public scope. Robert Osfield 2009-01-28 15:15:19 +00:00
  • ef9987559e From Paul Melis, "1) Changes the order of the camera stats slightly, to be more in line with the view stats 2) Uses a slightly smaller block for view statistics" Robert Osfield 2009-01-28 13:45:04 +00:00
  • 89d9da4fbe From Mathias Froehlich, fixed typo. Robert Osfield 2009-01-28 12:55:38 +00:00
  • ca1f1e5abe Fixed warnings Robert Osfield 2009-01-28 12:51:47 +00:00
  • d85759c61c Fixed of warnings Robert Osfield 2009-01-28 12:45:05 +00:00
  • 065b1d4978 Fixed warnings Robert Osfield 2009-01-28 12:28:04 +00:00
  • b328758058 Temporarily disabled VS warning C4100 to enable use to home in on the useful warnings that could do with resolving. Robert Osfield 2009-01-28 12:02:35 +00:00
  • f0a044ee77 From Mathias Froehlich, "I have today built svn trunk on HP-UX and Solaris8. I had to do two small changes to src/osgWidget/Input.cpp and src/osgAnimation/Animation.cpp mainly because of name lookup problems. " Robert Osfield 2009-01-28 11:59:06 +00:00
  • 84f300fdaf From Lionel Lagarde, removed accounting of local to world transform on the force vector as the particle velocity should already been in world coords. Fixing this addresses a bug where particles accelerated out of the scene rather than slowing down. Robert Osfield 2009-01-28 11:16:29 +00:00
  • 789c35381d Added check against existing of a valid Stats object in ViewerBase::renderinTraverls() to prevent crash. Robert Osfield 2009-01-28 10:06:15 +00:00
  • 75cd471254 From Mattias Helsing, "this is a semi-submission based on what you and others have been talking about in the LIB_POSTFIX thread. It is a bit verbose perhaps and the message I emit during the make install step flashes by and gets burried under all "installing..." and/or "up-to-date..." messages. I have posted on the cmake mail list on ways to do this better. Robert Osfield 2009-01-28 09:42:21 +00:00
  • 2b45fd1510 From Paul Melis, "Here is an updated osgViewer::StatsHandler. It has the following changes: - The text and dark background rectangles are now correctly placed, and slightly resized here and there. - All counters (vertices, etc) now use a fixed formatting with 0 digits precision, to prevent the text from being shown in scientific notation when the number get large (e.g. 6.34344e+6). I tested with a scene containing roughly 4 million vertices, to make sure its stats would display correctly. Robert Osfield 2009-01-28 09:31:43 +00:00
  • baa25411fd From Paul Melis, remove redundent spaces Robert Osfield 2009-01-28 09:26:44 +00:00
  • 49fbc56587 From Paul Melis, removed redundent spacing. Robert Osfield 2009-01-28 09:24:06 +00:00
  • d2d89498ad Fixed the handling of setLightingMode and inheritCullSettings so that it properly manages the GL_LIGHTING mode Robert Osfield 2009-01-28 09:23:26 +00:00
  • a51e95222d From Patrick Hartling, "I encountered a bug related to RTTI for subclasses of osg::Shape. The circumstances under which this bug occur are rather specific, but the basic problem occurs when one translation unit other than libosg.so constructs an object that is a subclass of osg::Shape and another translation unit other than libosg.so tries to perform a dynamic_cast or other RTTI-based operation on that object. Under these circumstances, the RTTI operation will fail. In my case, the translation units involved were an application and osgdb_ive.so. The application constructed a scene graph that included instantiations of subclasses of osg::Shape. Depending on how the user ran the application, it would write the scene graph to an IVE file using osgDB::writeNodeFile(). The dynamic_cast operations in DataOutputStream::writeShape() would fail on the first subclass of osg::Shape that was encountered. This is because there were two different RTTI data objects for all osg::Shape subclasses being compared: one in the application and one in osgdb_ive.so. Robert Osfield 2009-01-28 09:21:46 +00:00
  • 998582e945 Added back in intializers for RenderSurface. Robert Osfield 2009-01-28 09:06:46 +00:00
  • e02ef22062 Removed .pc files as they are now automatically generated with the correct values by Cmake from the openthreads.pc.in and openscenegraph.pc.in files. Robert Osfield 2009-01-27 15:35:51 +00:00
  • c898bc0ce7 From Alberto Luaces, "I have modified CMakeLists.txt in order to make CMake fill the existent openscenegraph.pc and openthreads.pc files with OSG's installation values. Then I install those files into the expected path for pkg-config (this can also be modified through PKG_CONFIG_PATH environment variable). Therefore those of us who are using pkg-config for linking can easily select which version of OSG we want to use." Robert Osfield 2009-01-27 15:34:57 +00:00
  • 0308a2005e From Alberto Luaces, "I have modified CMakeLists.txt in order to make CMake fill the existent openscenegraph.pc and openthreads.pc files with OSG's installation values. Then I install those files into the expected path for pkg-config (this can also be modified through PKG_CONFIG_PATH environment variable). Therefore those of us who are using pkg-config for linking can easily select which version of OSG we want to use." Robert Osfield 2009-01-27 15:34:28 +00:00
  • a7b057feee From Jason Beverage, "Here is a small fix that enables writing 16 bit short images in the tiff plugin. " Robert Osfield 2009-01-27 15:14:47 +00:00
  • c7744b15a3 Converted viewer camera references to use observer_ptr<> rather than ref_ptr<> or C pointers to avoid issues with circular references/dangling pointers. Robert Osfield 2009-01-27 14:11:37 +00:00
  • 29157f24d9 Refactored the view stats. Robert Osfield 2009-01-27 13:23:20 +00:00
  • 1787efc9a3 Commented out debug message Robert Osfield 2009-01-27 09:09:48 +00:00
  • 48f683ec3f Ported onscreen camera stats across to using thread safe stats collection Robert Osfield 2009-01-26 21:23:09 +00:00
  • eb17751edd Added passing of command line args to cmake Robert Osfield 2009-01-26 19:22:27 +00:00
  • c7bf776bcb Converted across to using ref_ptr<> to avoid memory leak/dangling pointer issues. Robert Osfield 2009-01-26 16:55:53 +00:00
  • 69f9377093 Fixed effective leak in Program::PerContextProgram caused by previously osg::State keeping a set of std::ref_ptr<Program::PerContextProgram> without ever pruning this list. The fix was to convert the osg::State to use C pointers for the set of applied PerContexProgram objects, and use the osg::Oberver mechanism to avoid dangling pointers for being maintained in osg::State. Robert Osfield 2009-01-26 15:16:24 +00:00
  • 55a0381687 Moved the XRANDR include into LIB_PRIVATE_HEADERS to avoid FreeBSD build problem Robert Osfield 2009-01-26 13:48:50 +00:00
  • f623f6e83f Updated wrappers Robert Osfield 2009-01-26 10:52:16 +00:00
  • 6b48e4b1ea From Rick Appleton, "In DatabasePager.cpp I believe there's a copy-paste ommission. A little bit further down the file where the Drawables are compiled the code is similar to how I have fixed the code here for the StateSets. If the DatabasePager thread is supposed to pre-compile things, it will call the compileGLObjects such that compileAll will be true. However, when compiling StateSets compileAll isn't currently checked." Robert Osfield 2009-01-26 10:35:16 +00:00
  • 2d9097bb26 Changed META_NodeVisitor usage to META_Object as it's more appropriate. Robert Osfield 2009-01-24 10:02:32 +00:00
  • e4b2562f7b From Stephan Huber, "OS X failed to compile AnimationManager because of the useage of META_Node-macro, but AnimationManager is inherited from NodeVisitor, so I changed the Macro to META_NodeVisitor" Robert Osfield 2009-01-24 10:00:23 +00:00
  • 85d993cdef From Stephan Huber: updated XCode project Stephan Maximilian HUBER 2009-01-23 23:04:18 +00:00
  • 88ce4a3786 From Roland Smeenk, "attached is a small crash fix for the case that a texture is used for transparency without the availability of a diffuse texture." Robert Osfield 2009-01-23 15:52:10 +00:00
  • e0c279bf3d Added forward declaration of callbacks to headers to avoid scoping issues of classes with same names. Robert Osfield 2009-01-23 15:50:05 +00:00
  • 7b598c5701 Warning fixes for VS, and removal of associated warning disables Robert Osfield 2009-01-23 15:12:26 +00:00
  • aa8402ce81 Added workaround for silly posix read deprecation warning under VS. Robert Osfield 2009-01-23 15:02:04 +00:00
  • 4161762cff Removed unneccesary warning disables Robert Osfield 2009-01-23 14:00:49 +00:00
  • 1fe0f0c0d6 Added range of visual rendering properties to readNode's creation of VolumeTile/ImageLayer. Robert Osfield 2009-01-23 11:52:18 +00:00
  • b36f7e1fe7 From Mattias Froehlich, "To pass the Microsoft application verifier we have tried to get osgviewer working with that thing. This is what was missing so far: Robert Osfield 2009-01-23 10:29:09 +00:00
  • c17d85c241 From Lionel Lagarde, "here is a correction on osgVolume/Property added OSGVOLUME_EXPORT to PropertyAdjustmentCallback Robert Osfield 2009-01-23 09:24:34 +00:00
  • 33db349781 Upped notification level of timing stats Robert Osfield 2009-01-23 09:22:31 +00:00
  • 2e7ef9ed62 Updated wrappers Robert Osfield 2009-01-21 19:28:46 +00:00
  • 55e89e4466 From Cedric Pinson, "updated osgAnimation with the trunk here the update: Robert Osfield 2009-01-21 19:02:54 +00:00
  • d542961ca3 Fixed compile errors for when ref_ptr<> auto conversion is disabled Robert Osfield 2009-01-21 19:01:26 +00:00
  • 99313d225b From Roger James, The changes are as follows:- Robert Osfield 2009-01-21 18:47:55 +00:00
  • a3b91f9294 From Mattias Helsing, "got some feedback from J-S on the packaging so I have changed the name of the top folder in each package to OpenSceneGraph-x.y.z Robert Osfield 2009-01-21 18:34:10 +00:00
  • 908432c732 Replaced readImageFile() usage with readRefImageFile() to prevent threading issues with caching of imagery in the osgDB::Registry cache. Robert Osfield 2009-01-21 18:23:55 +00:00
  • e17535813f From Jason Beverage, "I realized today that there is an issue with the Registry changes I submitted to allow plugins to have the first go at URLs. Robert Osfield 2009-01-21 17:10:51 +00:00
  • 39fc490a64 From Sherman Wilcox, "Minor change to the glPushAttrib(...) call in renderWithStencilBuffer(...) - added GL_STENCIL_BUFFER_BIT" Robert Osfield 2009-01-21 14:37:36 +00:00
  • a6284b0e03 Renamed ShaderTechnique to RayTracedTechnique Robert Osfield 2009-01-21 14:27:58 +00:00
  • 0897368fa6 Cleaned up osgvolume Robert Osfield 2009-01-21 12:06:13 +00:00
  • 1c88753551 Introduced the ability to switch between different visual properties in osgVolume Robert Osfield 2009-01-21 11:46:03 +00:00
  • f23f2c351f Updated wrappers Robert Osfield 2009-01-20 17:53:06 +00:00
  • a40aa3a734 Moved PropertyAdjustmentCallback from osgvolume.cpp into osgVolume. Robert Osfield 2009-01-20 17:41:45 +00:00
  • 0739b09519 Removed redundent shader files Robert Osfield 2009-01-20 15:30:30 +00:00
  • bda89b113e Added lighting based shaders Robert Osfield 2009-01-20 15:29:32 +00:00
  • fe667cdd2b Added event key variables Robert Osfield 2009-01-20 15:06:44 +00:00
  • d46e0fcc79 Added support for SampleDensityProperty and TransparencyProperty Robert Osfield 2009-01-20 13:50:57 +00:00
  • 87cd4530f5 Added AlphaFunc support into osgVolume::AlphaFuncProperty. Robert Osfield 2009-01-20 12:39:26 +00:00
  • 8a971d96d2 Fixed compile error when using ITK Robert Osfield 2009-01-20 11:34:15 +00:00
  • 894b161878 Updated event callback to be able to update iso surface value. Robert Osfield 2009-01-17 17:23:47 +00:00
  • 71ee1a7047 Updated Uniform name for controlling IsoSurfaceValue Robert Osfield 2009-01-17 17:23:17 +00:00
  • 069d86ae8b Updated wrappers Robert Osfield 2009-01-17 16:00:39 +00:00
  • b176c3a223 Removed old volume rendering scene graph code from osgvolume example. Robert Osfield 2009-01-16 17:59:38 +00:00
  • 9d4b44f956 Completed firt pass implementation FixedFunction and ShaderTechnique. Robert Osfield 2009-01-16 16:21:54 +00:00
  • 29ac92df0e Moved basics of fixed function pipeline implementation from osgvolume example into osgVolume Robert Osfield 2009-01-16 11:27:20 +00:00
  • 5e629d1236 Added default use of osgVolume::ShaderTechnique Robert Osfield 2009-01-16 10:34:58 +00:00
  • 78c2f98b7a Introduced ImageLayer computeMinMax + rescaling methods, and use of rescaleToZeroToOneRange by default. Robert Osfield 2009-01-16 10:23:17 +00:00
  • ba94ea8c7d Introduce osgVolume::PropertVisitor, and IsoSurface, MaximumImageProjection, Ligting and AlphaFunc Properties Robert Osfield 2009-01-15 15:57:04 +00:00
  • 3be239bdb2 Removal of rendundant characters from Camera and Camera.cpp. Robert Osfield 2009-01-15 10:44:52 +00:00
  • 2f7fb53ff7 From Rudolf Wiedemann, "attached is the osg::Camera class (based on revision 9493), where methods getProjectionMatrixAsOrtho() getProjectionMatrixAsFrustum() getProjectionMatrixAsPerspective() getViewMatrixAsLookAt() (2x) are now const, as they only call const methods of osg::Matrixf/d. " Robert Osfield 2009-01-15 10:36:04 +00:00
  • c28221b06f Changed setVolumeTechnique to setVolumeTechniquePrototype() Robert Osfield 2009-01-14 20:43:21 +00:00
  • 778f4e321d Added VolumeTechnique to Volume Robert Osfield 2009-01-14 20:38:12 +00:00
  • 1a00a2ce3c Added osgVolume .osg plugin Robert Osfield 2009-01-14 20:32:06 +00:00
  • d87ec7cb18 Introduced osgVolume::Property, CompositePropery and TransferFunctionPropety classes Robert Osfield 2009-01-14 15:16:29 +00:00
  • c21eef7afb From Lionel Lagarde, "The last field of the LightPointAppearancePalette is only valid for > 15.8 version of the format." Robert Osfield 2009-01-14 10:32:20 +00:00
  • 2efce3965a Integrated state setup code from osgvolume.cpp example into ShaderTechnique path. Robert Osfield 2009-01-13 17:51:45 +00:00
  • f260737cd8 Introduced class interfaces for FixedFunctionTechnique and ShaderTechnique volume rendering techniques. Robert Osfield 2009-01-13 17:20:32 +00:00
  • 7bcdaa74bf Added ZLIB_FOUND to dicom qualification Robert Osfield 2009-01-13 10:15:04 +00:00
  • 6a19b04d22 Added a / in front of the ${DCMTK_ROOT_INCLUDE_DIR} to workaround a CMake bug that ignores /usr/local/include directories. Robert Osfield 2009-01-13 10:12:13 +00:00
  • 53d99109bd Added test message Robert Osfield 2009-01-12 17:41:25 +00:00
  • 12a484593c Further tweak to include paths Robert Osfield 2009-01-12 16:37:38 +00:00