Commit Graph

  • fa77f50260 Added readNode implementation that creates an osgVolume::Volume for the specified dicom file. Robert Osfield 2008-09-22 11:13:50 +00:00
  • 3ec2c22ad4 Added Volume wrappers, and updated terrain wrappers Robert Osfield 2008-09-21 11:12:31 +00:00
  • 00f6622ac8 Create initial class placeholders for main volume rendering classes Robert Osfield 2008-09-21 11:05:03 +00:00
  • ae08a5b261 Change TileID::layer to TileID::level Robert Osfield 2008-09-20 15:43:38 +00:00
  • c35159fdde From Chris Denham, changed gluGetErrorString to using osg::State::checkGLErrors() to avoid null pointer dereference Robert Osfield 2008-09-20 10:34:47 +00:00
  • 4aaf24b5d8 From Mathias Froehlich, added catch for GL_COLOR_MATERIAL mode being set. Robert Osfield 2008-09-20 10:09:56 +00:00
  • 8552faf774 From John Vida Larring, "If an application initializes osgViewer::GraphicsWindowEmbedded() but never gets around to do any rendering before the application is closed, the result with be a crash (SIGABRT/std::logic_error) in osg::getGLVersionNumber(). Robert Osfield 2008-09-20 10:05:31 +00:00
  • 0b5852948d Added wrapper support for new osgShadow classes Robert Osfield 2008-09-19 19:51:57 +00:00
  • bf15614df6 From Wojciech Lewandowski, a range of new ShadowMap implementations include View Dependent Shadow Maps - LispSM Robert Osfield 2008-09-19 19:51:27 +00:00
  • f388d6a938 From Mathias Froehlich, added support for search in the installed directories for plugins Robert Osfield 2008-09-19 12:49:22 +00:00
  • a961b880bb From Richard Schmidt, fixed the handling of user data so that it uses ref_ptr<> to avoid data getting deleted. Robert Osfield 2008-09-19 08:16:41 +00:00
  • a5c89f469b Finish the job of bumping the version number to 2.6.1. Cange SOVERSION to 48, and change both the SOVERSION and OSG version numbers in the CMakeLists.txt. Paul MARTZ 2008-09-18 22:06:30 +00:00
  • 9f1672ca4c Updated ChangeLog Robert Osfield 2008-09-18 16:48:21 +00:00
  • 44113cfa14 Added Serializer wrappers Robert Osfield 2008-09-18 16:03:34 +00:00
  • 90d5c9d0c6 Moved Serializer header from VPB into osgDB. Robert Osfield 2008-09-18 15:50:22 +00:00
  • 7615c7073c Updated wrappers Robert Osfield 2008-09-18 15:44:21 +00:00
  • 4824eac91e Merge in r8888 to correctly init the strip textures option in the OpenFlight exporter. Paul MARTZ 2008-09-18 15:32:53 +00:00
  • 91f7895735 refactored the getWindows(..) and getContexts(..) methods so that they produce consistent ordering based on the order Camera/slave camera ordering. Robert Osfield 2008-09-18 15:18:59 +00:00
  • 8bdb22c22e From Mathias Froehlich, "Attached one namespace/scope lookup problem which shows up on irix." Robert Osfield 2008-09-18 15:16:57 +00:00
  • 1d328ba0d4 From Christopher Blaesius, "Soft shadow mapping is basically the same as hard shadow mapping beside that it uses a different fragment shader. So for me it makes sense that osgShadow::SoftShadowMap is derived from osgShadow::ShadowMap, this makes it easier to maintain the two classes. Additional SoftShadowMap also provides the same Debug methods as ShadowMap." Robert Osfield 2008-09-18 14:48:28 +00:00
  • 47e07244b9 Updated wrappers Robert Osfield 2008-09-18 13:54:22 +00:00
  • 9510df9c2e From Alan Dickinson, change methods to virtual. Robert Osfield 2008-09-18 13:54:13 +00:00
  • 95a822b70d From John Argentieri, added missing _stripTextureFilePath( false ) initializer. Robert Osfield 2008-09-18 13:18:12 +00:00
  • 9cca510d6c From Chris Denham, added missing ccopy of polyOffset in copy constructor Robert Osfield 2008-09-18 13:09:21 +00:00
  • 40723ca8ac From Chris Denham, " I think I may have discovered a bug in osgShadow/ShadowMap.cpp that results in incomplete shadows being generated. The problem seems to caused by an incorrect interpretation of the spot light cutoff angle. The valid ranges for spot cutoff are 0-90 and 180, i.e half the 'field of view' for the spotlight. Whereas the shadow map code seems to assume the the spot cutoff is equal to the field of view. This results in the shadows generated by the spotlight getting clipped at half the spot cutoff angle. Robert Osfield 2008-09-18 13:05:24 +00:00
  • 4923c88bd0 From Ralf Habacker, "the appended patch fixes the problem reported on http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2008-January/006110.html. " Robert Osfield 2008-09-18 12:57:15 +00:00
  • 8dd9c54229 From Robert Osfield and Christophe Loustaunau, fixes for support for 16bit and 32bit tiff images Robert Osfield 2008-09-18 12:50:20 +00:00
  • 21686c27af From Mathias Froehlich, "I did some performance test runs with the development gcc-4.4 version. To make it compiel with future gcc's we sppear to need the attached missing includes ..." Robert Osfield 2008-09-18 10:52:35 +00:00
  • 9e47480bc7 From Mathieu Marache, "This is an addition for osgSim reader/writer for the osg ascii file format adding osgSim::OverlayNode support. " Robert Osfield 2008-09-18 10:49:18 +00:00
  • 0d74d508df From Tim Moore, "his submission fixes a bug when the ModularEmitter and ParticleSystem are in different frames of reference. Specifically, it supports the case where the ParticleSystem is not in the world frame. One way this can come up is if your world coordinate system is Earth-centric; the float coordinates of particles don't have enough precision to avoid terrible jitter and other rendering artifacts, so it's convenient to root the particle systems in a local Z-up coordinate system that gets moved around from time to time. " Robert Osfield 2008-09-18 10:39:37 +00:00
  • 0969a5384b Improved the constness of parameters the Node::getWorldMatrices(..) method. Robert Osfield 2008-09-18 10:38:18 +00:00
  • 93d4090169 From Rob Bloemkool, "This is a submission for src/osgPlugins/ogr/ReaderWriterOGR.cpp - adds display of options when using osgconv --formats. - adds useGroupPerFeature option to have each feature in a separate group. Usage: OSG_OPTIMIZER=OFF osgconv -e ogr -O addGroupPerFeature <infile> <outfile> " Robert Osfield 2008-09-17 20:02:39 +00:00
  • 17161a9363 From Ewe Woessner, "I looked at the Anaglyphic stereo implementation in SceneView.cpp and think I spotted some copy-paste bugs. Robert Osfield 2008-09-17 19:51:35 +00:00
  • cc079453da From Mattias Helsing, Robert Osfield 2008-09-17 19:25:40 +00:00
  • 377a553295 From Alberto Luaces, "Cygwin's cmake build adds a "d" postfix to the plugins installed in debug mode. Nevertheless, the code doesn't acknowledge that, so I had problems with debug versions of the library not being able to open their plugins whereas the release versions worked fine. Robert Osfield 2008-09-17 18:56:59 +00:00
  • ff119b78cd From Adrian Egli, "i came around reviewing my code, and found now finally a solution to remove the polygon offset issue. as we all know the polygon offset has a different behaviour on different GPU system (ATI, NVidia) and this make the use of polygon offset complicate. so i looked for a solution to remove this offset. Robert Osfield 2008-09-17 18:54:23 +00:00
  • 19d02d8c78 From Adrian Egli, "I changed the PSSM shadow map implementation, if we have filtered turned on, it should be now correct. The implementation is more robut on different scene. i tested it on NVIDIA card against a park scene, a chess board and a terrain. unfort. i couldn't test it on any ATI system. may there will be still another problem there. if there are still some artefacts. we should try out better fZOffSet value " Robert Osfield 2008-09-17 18:51:17 +00:00
  • 7f39dc3499 From Bill Prendergast, "Found a typo in CameraRenderOrderSortOp in osg/GraphicsContext.cpp (V2.6.0 and prior) as noted below: Robert Osfield 2008-09-17 18:42:52 +00:00
  • 274aa49f8a From Christophe Loustaunau," I have found some errors on the example osgGeometryShaders. It's about the varying in the geometry shader. take a look at the varying vec4 v_color. In the vertex shader, v_color is initialized to gl_vertex then in the geometry shader v_color is initialized to gl_PositionIn[0] and in the fragment shader v_color is used as the fragment color. Robert Osfield 2008-09-17 17:25:39 +00:00
  • 5209b33c31 From Max Bandazian, "Lines 302-305 of WindowManager.cpp seem to have a parenthesizing error - the code is if( (!win || win->getVisibilityMode() == Window::VM_PARTIAL) && !win->isPointerXYWithinVisible(x, y) ) continue; Robert Osfield 2008-09-17 17:13:13 +00:00
  • 5052432cc7 Updated wrappers Robert Osfield 2008-09-17 17:07:52 +00:00
  • 22eae68e48 From Mathias Froehlich, "This is a generic optimization that does not depend on any cpu or instruction set. Robert Osfield 2008-09-17 16:14:28 +00:00
  • 0598ac3b69 Updated osgwidget examples to use the new osg::clone() methods Robert Osfield 2008-09-17 14:23:25 +00:00
  • fbeabc23e0 Updated wrappers of osgWidget Robert Osfield 2008-09-17 14:23:05 +00:00
  • 5c5ab84420 Tweaks to facilitate osgWrapper build Robert Osfield 2008-09-17 14:21:47 +00:00
  • 7ec5632bcc Introduce new templated clone(..) methods that return the correct type of object cloned. Robert Osfield 2008-09-17 14:21:19 +00:00
  • 97b37cb117 Added support for finding DCMTK-3.5.4 installed lib/include placement Robert Osfield 2008-09-17 11:43:14 +00:00
  • d57ad27fcc Added osgVolume to docs and wrappers Robert Osfield 2008-09-16 18:41:13 +00:00
  • b310af4ed9 Merge 8765 from trunk. This resolves an FBO issue encountered by Jason Beverage. Paul MARTZ 2008-09-16 17:25:39 +00:00
  • 02d3c097e4 Merged revisions 8795 and 8796 from trunk. This is the workaround for occlusion query on NVIDIA plus the cmake interface to enable it. Also bumped the rev to 2.6.1 in anticipation of upcoming branch release. Paul MARTZ 2008-09-16 17:16:01 +00:00
  • 6ea2adf1f5 Introduced beginings of osgVolume NodeKit. Robert Osfield 2008-09-16 15:32:23 +00:00
  • 28af7882f5 Complted the first pass at the DCMTK based dicom loader Robert Osfield 2008-09-16 15:31:47 +00:00
  • b5474780c3 Change the GLSL textureRec and texture2D parameters to use .st to make sure they only use 2D coords. Robert Osfield 2008-09-16 09:31:29 +00:00
  • d07f3d5662 Added optional usage of DCMTK in the dicom plugin Robert Osfield 2008-09-15 19:59:12 +00:00
  • c7b66322be From Ralf Habacker, removed redundent SwitchLayer::clear() Robert Osfield 2008-09-15 11:27:30 +00:00
  • 438e8506fc merged from svn trunk using : Robert Osfield 2008-09-14 10:35:07 +00:00
  • d71a6f6cab Introduced Geometry::containsSharedArrays() and Geometry::duplicateSharedArrays() to support a fix to the osgUtil::Simplifier that couldn't handle shared arrays Robert Osfield 2008-09-14 10:31:27 +00:00
  • b55ed0c56b Added reading of whole directories of images Robert Osfield 2008-09-13 13:38:06 +00:00
  • 995ead176a Introduced TransferFunction1D::assign(ValueMap&). Robert Osfield 2008-09-13 09:09:51 +00:00
  • b000198cc4 Removed use of ints and reading from gl_FragColor in shader Robert Osfield 2008-09-12 15:41:30 +00:00
  • dc1b52aa7c Updated version numbers in prep for up comming dev release Robert Osfield 2008-09-11 16:11:51 +00:00
  • 9c97895116 Added an svn update into the make ChangeLog entry. Robert Osfield 2008-09-11 16:06:37 +00:00
  • f494bc5b8a Updated wrappers Robert Osfield 2008-09-11 16:01:17 +00:00
  • e1930d127e Refinements to SwitchLayer and WhiteListTileLoadedCallback Robert Osfield 2008-09-11 14:28:42 +00:00
  • 2be243deda Added support for SwitchLayer into GeometryTechnique Robert Osfield 2008-09-11 14:27:50 +00:00
  • ff299eb104 Introduced osgTerrain::WhiteListTileLoadedCallback for the management of options terrain layers Robert Osfield 2008-09-11 13:21:58 +00:00
  • a214a677f8 First cut of WhiteListTileLoadedCallback Robert Osfield 2008-09-11 10:40:48 +00:00
  • 04a3f0da1c Changed the createGeodeFromImage code to use the non power of two extension, and disabled mipmapping Robert Osfield 2008-09-11 09:26:14 +00:00
  • 4f6b405edf Added support for reading source image file names from the command line. Robert Osfield 2008-09-11 09:05:16 +00:00
  • b4b5b5ea41 Introduced TerrainTile::TileLoadedCallback Robert Osfield 2008-09-10 18:11:54 +00:00
  • ed4bd41574 Removed unneccessary compound name usage Robert Osfield 2008-09-10 16:17:17 +00:00
  • 898a0c11c2 Removed debugging output Robert Osfield 2008-09-10 11:38:49 +00:00
  • f738ab8fe2 Changed the image reading so that it leverages the osgDB::Input::readImage() method to ensure that it picks up on any local paths set on the Input object. Robert Osfield 2008-09-10 11:28:47 +00:00
  • c266cef6b1 Changed the path management so that the node path is prepended on the database path list, rather than replacing it. Robert Osfield 2008-09-10 11:27:45 +00:00
  • b0cf7823a7 Added playing of the imagesequence on creation of the imagesequence Robert Osfield 2008-09-10 11:27:00 +00:00
  • 45ccf11161 Added osg::Image::set/getWriteHint() that allows images themselves to control how they are written to disk, either inline or as an external file. Added support for this in the .ive plugin. Default of WriteHint is NO_PREFERNCE, in which case it's up to the reader/writer to decide. Robert Osfield 2008-09-10 11:26:30 +00:00
  • c478ad08fc Fix for when looping is is disabled Robert Osfield 2008-09-04 17:30:56 +00:00
  • db83ee7add From Stephan Huber: updated XCode-project Stephan Maximilian HUBER 2008-09-04 14:23:29 +00:00
  • d2e29efcd9 Added acceptance of .ogv extensions in xine-lib plugin Robert Osfield 2008-09-02 16:13:54 +00:00
  • 08883dbf6c Added setSetName/getSetName() methods Robert Osfield 2008-09-02 12:55:26 +00:00
  • 0a5a91f5a1 Update ChangeLog Robert Osfield 2008-09-01 16:28:02 +00:00
  • 8759984f52 Replaced uint with unsigned int Robert Osfield 2008-09-01 15:29:22 +00:00
  • 8044188457 Introduced a OSG_MAINTAINER section of cmake build to help support making tags and branches Robert Osfield 2008-09-01 15:27:35 +00:00
  • d10d0137b9 Updated wrappers Robert Osfield 2008-09-01 14:05:40 +00:00
  • 13878d9a2e Changed curr and min to current and minimum respectively, to avoid compile problems under Windows Robert Osfield 2008-09-01 14:03:41 +00:00
  • 99a294ebae Implemented support for ShapeAttributeList, used John Vidar Larring's initial submission as a base, but implementing the user data functionality in a different way to facilitate more flexible user data support Robert Osfield 2008-09-01 12:40:33 +00:00
  • befa2112f8 From John Vidar Larring, initial cut of .ive support for ShapeAttributeList user data Robert Osfield 2008-09-01 12:39:19 +00:00
  • 4a18b9cee1 Updated version for 2.7.2 dev release Robert Osfield 2008-09-01 11:09:03 +00:00
  • 58f4290310 Updated wrappers Robert Osfield 2008-09-01 10:49:22 +00:00
  • 6d9206224d Added call to free in setValue methods to prevent potential memory leak Robert Osfield 2008-09-01 10:48:28 +00:00
  • 2582e0342a From Mathias Froehilch,"Current include/osgSim/ShapeAttribute also misses string.h include because of strdup. Attached is the changed file." Robert Osfield 2008-09-01 10:46:50 +00:00
  • 7945f94246 From He Sicong, "I found a bug here in VERTICAL_SPLIT stereo type: The vertical separation not actually displayed as it is set. So some display the up and down stereo images style will not be correct. Someone may forget to change the "Horizontal" to "Vertical" after copying and pasting the code from above HORIZONTAL_SPLIT code segment. I've attached the file. By replacing the incorrect "Horizontal" to "Vertical", the bug is gone. " Robert Osfield 2008-09-01 10:22:06 +00:00
  • 5484981693 Removed std:: from in front of strcmp and added a string.h Robert Osfield 2008-09-01 10:19:06 +00:00
  • 2ce8fbdcf9 From Wojciech Lewandowski, "Most recent changes to CameraPathEventHandler change path writing method. Now control points are written on the fly. But default stream precision is not adjusted as it used to and remains set to 6 digits (at least with VS 2008) so larger coordinates like positions on Earth Ellipsoid loose lots of fidelity. This patch fixes this issue. " Robert Osfield 2008-09-01 10:06:19 +00:00
  • 8fec858b49 Build fixes for Windows Robert Osfield 2008-09-01 09:57:35 +00:00
  • bc747b0935 Added CompositeLayer::addLayer(setname,filename) convinience function Robert Osfield 2008-08-29 09:28:28 +00:00
  • 141296c323 From Michael Guerrero, "I've attached the files with the new addition of the "registered = true" flag set." Robert Osfield 2008-08-29 09:26:07 +00:00
  • ed617f87df Introduce the concept of layer set name, using the osg::Object::s/getName() to store the setname, and using a compound string (set:setname:filename) in place of standard filename when reading and writing files. Robert Osfield 2008-08-28 16:15:57 +00:00
  • c8ef144532 Converted AutoTransform to use doubles. Robert Osfield 2008-08-28 09:43:00 +00:00
  • 95a359bdab Introduced SwitchLayer which will form the basis of provided support for varients Robert Osfield 2008-08-27 10:13:30 +00:00