3c461dd706Add check to filter out the return of FILE_NOT_FOUND from archive results to prevent these from prematurely exiting the Registry::read(..) method bofore it loads plugins to try and load requested file.
Robert Osfield
2011-11-02 10:57:17 +00:00
04f9341161Replaced the use of PrtScrn with 'm' for taking screenshots, replaced the use of 'm' with 'M' for taking movies.
Robert Osfield
2011-11-01 16:13:24 +00:00
1bcd36f5edFrom Stephan Huber, "A recent commit (41e23f466d) for GraphicWindowsIOS.mm broke the compilation for OpenGL ES 1.x as GL_DEPTH_COMPONENT32_OES is not defined for 1.x. I added a #define-guard."
Robert Osfield
2011-11-01 13:41:48 +00:00
76396d0c12Added screen capture handler to present3D, with the PrtScn button used for a single frame capture and 'm' for continuous frame capture. The --screenshot filename command line option can be used to configure the name of the screen capture.
Robert Osfield
2011-11-01 13:36:07 +00:00
215512647cAdded setting of the sampleDensityWhenMovingProperty at the same time as when setting the sampleDensityProperty
Robert Osfield
2011-11-01 11:08:48 +00:00
3cad9d0962Fixed the use DCM_SeriesDescription
Robert Osfield
2011-11-01 10:30:18 +00:00
14a4aa9a19Improved the handling of multiple datasets being read at once, with all the images in a series being group according to Series UID and SeriesDescription and orientation.
Robert Osfield
2011-11-01 10:27:12 +00:00
ca582c708dAdding missing checks against View's Camera and SceneData for any update callbacks that need calling.
Robert Osfield
2011-10-31 15:29:49 +00:00
d95801f6a8Changed the notification level to INFO.
Robert Osfield
2011-10-28 11:00:55 +00:00
bbf081695bChanged the setting of Traits::sampleBuffers so that it's set to 1 when DisplaySettings::getMultiSamples() is set to a non zero value.
Robert Osfield
2011-10-28 11:00:08 +00:00
3e7900c39eChanged the default for SampleBuffers to be 1 when set.
Robert Osfield
2011-10-28 10:36:29 +00:00
20ffed1fa1Removed OSX codepath for setting the depth value to 32 as this turned out to be unneccesary.
Robert Osfield
2011-10-28 09:45:51 +00:00
24ff8796d5Changed the default depth to 24.
Robert Osfield
2011-10-28 09:11:21 +00:00
98d50250ffUpdated volume shaders to use the GL_LIGHT 0 values to control the direction of the light source
Robert Osfield
2011-10-27 16:33:18 +00:00
3a64805d20Reimplement the light direction controls so that they now work correctly with osgViewer::Viewer.
Robert Osfield
2011-10-27 13:11:20 +00:00
7bcfb3c130Added support for ignore returns as white space.
Robert Osfield
2011-10-27 09:24:34 +00:00
c403c052dbAdded support for American spelling of swap and add supportOptions(..) documentation for the new options.
Robert Osfield
2011-10-27 08:34:53 +00:00
881078289dAdded support into the .p3d format for specifying the osgDB::Options::OptionString via the <tag options="value">.
Robert Osfield
2011-10-26 14:25:56 +00:00
5d26d16fd3Added password support into present3D's vnc support via the tag usage : <vnc password="mypassword">hostname</vnc>
Robert Osfield
2011-10-26 12:48:57 +00:00
9995cb70a9Added password support into osgvnc example and vnc plugin
Robert Osfield
2011-10-26 12:29:38 +00:00
b9d7989b44Implement a simply attempt at detecting when the pixel format needs to be swapped.
Robert Osfield
2011-10-26 09:34:50 +00:00
2dc271d85fAdded support for 32bit depth buffer
Robert Osfield
2011-10-25 15:55:33 +00:00
4b655d9c46Added hack of using a 32bit depth buffer default setting for Traits when compiling under Apple.
Robert Osfield
2011-10-25 15:31:46 +00:00
9b380c8d49Moved switching off of the cursor till after the slide event handler has had a chance to switch off the scene.
Robert Osfield
2011-10-24 13:40:29 +00:00
1538ecf113Fixed handling of slide with no layers.
Robert Osfield
2011-10-24 11:09:35 +00:00
e04ca06fc8Fixed build of StreamOperator
Robert Osfield
2011-10-22 09:02:18 +00:00
9e903861a2Fixed handling of Vec3dArray in GLBeginEdnAdapter/ArrayDispatchers.
Robert Osfield
2011-10-21 15:39:51 +00:00
d7cba048f5Added support for using negative scale_x, scale_y and scale_z values in the <volume> tag to allow presentations to flip the imagery
Robert Osfield
2011-10-21 11:00:29 +00:00
d3cebab9a3Added flipDepth() method
Robert Osfield
2011-10-21 10:59:42 +00:00
088d00c651Fixed handling of scale.x, scale.y and scale.z paramters so that all of them now take an effect.
Robert Osfield
2011-10-21 09:31:56 +00:00
6607b373d5Fixed handling of reading/writing of osgVolume::VolumeTile tiles
Robert Osfield
2011-10-20 16:49:08 +00:00
affe0b4a6dAdded support for calling throwException() from InputIterator and added a check for negative string sizes.
Robert Osfield
2011-10-20 16:35:50 +00:00
62888dba38Added check against build type to avoid the build of the osgviewerWX example with debug build as this fails with unresolved symbols within the internals of WxWidgets.
Robert Osfield
2011-10-20 11:50:04 +00:00
aa14f603d1From Ulrich Hertlein, fixed build problem due to cmake_policy CMP0017 being only available from cmake-2.8.4, added guard to prevent build problems
Robert Osfield
2011-10-20 10:52:32 +00:00
3fd407a60eImproved handling of recent Cmake versions
Robert Osfield
2011-10-20 09:23:26 +00:00
2c4eb8d181Fixed typo in command line output, and add an explanation message for when createTexture3D fails to create an osg::Image from a list of input osg::Image.
Robert Osfield
2011-10-20 08:59:47 +00:00
61b2659fabFixed typo
Robert Osfield
2011-10-17 15:39:46 +00:00
33479c7768Improvements to the compute near/far
Robert Osfield
2011-10-17 14:41:49 +00:00
bdb0dfe27dImprovements to osgShadow::ViewDependentShadowMap and ShadowSettings
Robert Osfield
2011-10-17 14:40:29 +00:00
0fc0c642bfQuitened down debug message
Robert Osfield
2011-10-17 11:12:05 +00:00
4992f798d7From Jean-Sebastien Guay, add --mapres size option to ViewDependentShadowMap settings.
Robert Osfield
2011-10-17 10:25:28 +00:00
d9dbff18a2Add catch for when shadows are enabled between the update and draw traversals.
Robert Osfield
2011-10-03 15:57:06 +00:00
e8e25e82a9From Jean-Sebastien Guay, changed the border colour for the shadow map to be 1 rather the 0 used for debugging so that areas outside the shadow map default to being unshadowed rather than shadowed. changed the shadow map texture assigment to StateSet so that it doesn't use OVERRIDE, enabling subgraphs to use the same texture unit for other textures if they so required. tidied up indentation.
Robert Osfield
2011-10-03 15:25:16 +00:00
78ad56f76cChanged getVertical(..) so it uses the same coord scale as the getGlyph
Robert Osfield
2011-10-03 14:57:39 +00:00
951a437c0cFixed handling of ShadowSetting LightNum
Robert Osfield
2011-10-03 14:56:38 +00:00
db329cf943Added catch for NaN vertices that were being generated by osgText, these NaN vertices were causing glu tesselation functions to crash.
Robert Osfield
2011-09-28 11:52:27 +00:00
b32d8e0151Added computation of the extents, in light space, of the shadow maps RenderStage contents and use of this to produce a tighter bound light space projection.
Robert Osfield
2011-09-28 10:54:30 +00:00
12e8d09ed1Added a half second sleep after calling system command when the command is run in the background so that this command has a chance to run and open a window before the calling present3D moves on to the next frame.
Robert Osfield
2011-09-20 11:46:45 +00:00
0b7dbc68c9Added better error reporting and handling when <key> tag contents are not valid.
Robert Osfield
2011-09-20 10:59:18 +00:00
845d33b353Added handling of <!DOCTYPE...> tag and "" options.
Robert Osfield
2011-09-20 10:01:07 +00:00
2c1b6789dbFrom Ulrich Hertlein, "attached is a patch that cleans up compiler warnings and common functionality."
Robert Osfield
2011-09-19 10:42:54 +00:00
e557d4f28bFrom Wojciech Lewandowski, "There was a bug in reading modifier keys when focus to GraphicsWindowWin32 was restored. Handler of WM_SETFOCUS was reading pressed keys and sending WM_KEYDOWN messages to fill initial keyboard state. But WM_KEYDOWN messages sent had 0 on lParam and adaptKey method computing state of modifier mask was using lParam to find which modifier keys are down. Obviously when lParam was 0 it was not recording proper modifier masks.
Robert Osfield
2011-09-19 10:39:19 +00:00
8a230d42edFrom Luc Frauciel, "You'll find attached a new option that allow, when using LOD in USER_DEFINED_CENTER mode to expand the radius of the node by the radius of loaded objets. Motivation ; When using PagedLODs, you don't always know the real size of loaded children, If it occurs that they are out of predefined bounds, picking on the parts that are out of bound will fail They also can be culled out too soon. The problem often occurs with long object (roads). I've modified LOD and ProxyNode to include this option."
Robert Osfield
2011-09-19 10:34:31 +00:00
6e01f05853Added removal of [..] from names returned from glGetActiveUniform results to avoid issues with name lookups when the driver add the [..] for uniform arrays.
Robert Osfield
2011-09-19 10:12:53 +00:00
f9dffdba2cCopya and Paste Anti-Pattern strikes again! Renamed FreeType usage to Revisions to correct previous mistake when copying and modifying the ReaderWriter.
Robert Osfield
2011-09-19 09:44:29 +00:00
3279e9a5f5Fixed memory leak
Robert Osfield
2011-09-14 10:45:11 +00:00
420d8f6acfAdded missing forward declaration
Robert Osfield
2011-09-14 10:22:04 +00:00
8345c85c3cAdded asCamera() methods into osg::Camera and osg::Node
Robert Osfield
2011-09-14 10:02:11 +00:00
0f30c08701From Laurens Voerman, "attached is a zipped OpenSceneGraph\src\osgPlugins\ffmpeg\FFmpegDecoderAudio.cpp
Robert Osfield
2011-09-14 09:49:28 +00:00
c1af863f78From Morten Hauknes, "I have been using the getLastVisiblePixelCount on pre 3.0 osg. I believe maybe this was a private function that we made public in our side. I use(d) this method to make a simple algorithm to tell how much visible an object was in percent.
Robert Osfield
2011-09-13 13:38:26 +00:00
41924dfc14From Sukender, "I just fount that writing double precision values (eg. Vec3dArray for vertices) works with .osg but not .osgt/.osgx. So here is the fix (SVN trunk r12712). I suppose .osgb works as expected on this point and did not change anything. So, as for .osg, if you add "precision 16" (for instance) to the optionString, then you'll get double precision vertices written correctly. "
Robert Osfield
2011-09-13 11:48:06 +00:00
64fa6aec43From Robert Milharcic, "This will hopefully fix some issues with osgQt, more precisely with GLWidget event handling. There are at least two current GL context braking events, QEvent::Hide and QEvent::ParentChange. When running in a multithreaded mode they both try to change current GL context in a wrong thread (main GUI thread). The QEvent::ParentChange is also problematic when running in a single threaded model because Qt is going to release current contex then delete it, and then it will create new one, and as a result the osg will continue to render to an invalid deleted context. This changes workaround above problems by deferring execution of the problematic evens. These events has to be enqueued and executed later. The enqueued event processing is currently done right after swap in a swapBuffersImplementation of GraphicsWindowQt while code is running in a render thread by calling QGLWidget handler directly. In principle the deferred events queue should be executed while in GUI thread but I couldn't find any reliable way to do this, that is without risking a deadlock. For now it is assumed, Qt is not going to execute any GUI thread only operations inside the QGLWidget handler."
Robert Osfield
2011-09-13 11:09:39 +00:00
098bc6df5eFrom Farshid Lashkari, " The osgUtil::CullVisitor class will display an OSG_INFO notification when attempting to clamp the projection matrix with invalid near/var values. This usually appears when the scene graph is empty or all objects are culled. I don't think this scenario warrants having this message appear every frame. It makes it very difficult to debug other issues when this notification floods the output window.
Robert Osfield
2011-09-13 10:15:07 +00:00
408c2a2267From Paul Martz, "Here's my proposed change regarding the osg-users post "small feature culling threshold". I've updated the comments and brought the default values into agreement, but didn't bother to add the environment variable support."
Robert Osfield
2011-09-13 09:59:21 +00:00
c35fdf7333From Jean-Sebastien Guay, "I added a simple setting in OSG's CMakeLists.txt to be able to disable building anything related to Qt. It just skips the FindPackage(...) for Qt3 and Qt4, so since they are not found nothing related to Qt will be generated by CMake. The default is to build the Qt related stuff, so current behavior is unchanged."
Robert Osfield
2011-09-13 09:53:34 +00:00
698a284da8From Sukender, "I added a tiny check to avoid an integer divide-by-zero, when image is invalid (ie. all values are 0)."
Robert Osfield
2011-09-13 09:46:22 +00:00
abb7228d56From Sukender, "I added a crash-guard against corrupted 3DS files, having faces indexes out of the range of existing vertices."
Robert Osfield
2011-09-13 09:43:45 +00:00
6d1ba5b06dFrom Farshild Lashkari, "Attached is a simple patch that avoids the depth write pass in Text::renderWithDelayedDepthWrites if the current osg::State object has GL_DEPTH_TEST disabled."
Robert Osfield
2011-09-13 09:21:07 +00:00
43483408f3Reverted Paul Idstein warning fix as this was breaking the build
Robert Osfield
2011-09-13 09:17:21 +00:00
757d00c3c8From Ulrich Hertlein, Added some error checks and memory cleanup.
Robert Osfield
2011-09-12 16:24:08 +00:00
cd6e174a5cFrom Stephan Huber, fixed build for OSX 10.6 and earlier
Robert Osfield
2011-09-12 16:20:45 +00:00
cc37579392From Johannes Baeuerle, opptimization of ES support of osg/BufferObject
Robert Osfield
2011-09-12 16:17:33 +00:00
140a04aebcFrom Bjorn Blissing, "Found a minor (probably a copy & paste) bug in ViewerEventHandlers. Line 251: int getKeyEventWindowedResolutionDown() const { return _keyEventWindowedResolutionUp; }
Robert Osfield
2011-09-12 12:38:41 +00:00
6e6dafcd3eFrom Luc Frauciel, "When osgUtil::DelaunayTriangulator triangulate() function ends with no triangle generated, it crashes. This patch fixes that"
Robert Osfield
2011-09-12 12:26:55 +00:00
ca51a1113bFrom Magnus Kessler, documentation fixes
Robert Osfield
2011-09-12 12:14:17 +00:00
22dd9df78bImproved the clarity of doxygen comments
Robert Osfield
2011-09-12 12:04:46 +00:00
4b6593b211Fixed typos in the documentation
Robert Osfield
2011-09-12 11:51:14 +00:00
796ccd14c8From Cedric Pinson, from three submissions:
Robert Osfield
2011-09-12 11:28:14 +00:00
19b8b1f474From Bob Kuehne, build fix for OSX 10.7 SDK.
Robert Osfield
2011-09-12 11:24:52 +00:00
edd83a03feFrom Paul Idstein, warning fixes for OSX 10.7
Robert Osfield
2011-09-12 11:24:24 +00:00
9be4a1a1c8From Magnus Kessler, typo fixes
Robert Osfield
2011-09-12 10:52:16 +00:00
5162fcc108From Wang Rui, "I've encountered a strange problem that osgviewerMFC doesn't work well with the StatsHandler. When the 's' key is pressed, the rendering window will be halted. I tried solving the problem by commenting a line in CMFC_OSG_MDIView::OnKeyDown() and it seems to work now.
Robert Osfield
2011-09-12 10:47:59 +00:00
c8de3b70caUpdated SO version number to 90 to allow for recent changes to the ABI, and to set the base for the 3.1.0 series.
Robert Osfield
2011-09-12 10:46:42 +00:00
94777c4ef5From Sukender, "I added private constructors to osg::ValueObject & TemplatedValueObject, to avoid allocation on the stack and ugly things like: TemplatedValueObject<int> value(....); container->addUserObject(value);"
Robert Osfield
2011-09-12 10:43:24 +00:00
83524f958eAdded handling the ShadowSettings::LightNum for selecting which light to use.
Robert Osfield
2011-09-07 20:05:25 +00:00
b2fd8f4059Added handling of the case when RenderLeaf::_modelview matrix is NULL, such as when LightPointNode is used in the scene graph.
Robert Osfield
2011-09-07 16:26:57 +00:00
3a79bc343dMoved ViewDependetShadowMap parameter settings into a dedicated ShadowSettings object in prep for making it possible to scale the API to handle multiple lights and multiple shadow maps per light.
Robert Osfield
2011-09-07 15:55:54 +00:00
772c7d75c5Added setting of the shadow map Camera's name to "ShadowCamera" to improve integration with osgOcean.
Robert Osfield
2011-09-06 17:26:27 +00:00
f26ef2d9e0Added optimization of the mutliple cessna shadow model to address peformance issues when rendering 100 cessna's.
Robert Osfield
2011-09-06 14:13:13 +00:00
f95f43dbc6Added -5 model option using Wang Rui's test demo as a base
Robert Osfield
2011-09-06 11:42:54 +00:00
ecbca83c01Fixed the heights of the trees and houses
Robert Osfield
2011-09-06 11:11:38 +00:00
f83722d62bAdded s/getPerspectiveShadowMapCutOffAngle() and use of this when setting up light space to avoid sigularaties when the light and view directions are co-incident.
Robert Osfield
2011-09-06 10:12:45 +00:00
15ad6eda63Added support for setting whether ViewDependentShadowMap should provide it's own vertex and fragment shaders.
Robert Osfield
2011-09-05 12:36:47 +00:00
454ccad3b9Replaced use of ShapeDrawable with osgTerrain for the terrain tile
Robert Osfield
2011-09-05 12:27:20 +00:00
52c2bc3ff5Added s/getTextureSize() method for setting the shadow map texture size.
Robert Osfield
2011-09-02 10:16:16 +00:00
f476406ae1Disabled the use of the ReceivesShadowTraversalMask() mask
Robert Osfield
2011-09-02 07:46:08 +00:00
ec3b2ba2d3Added test line for COMPUTE_NEAR_USING_PRIMITIVES
Robert Osfield
2011-09-01 18:49:33 +00:00
1fd3c84287Added fine grained computation of the far plane when using the COMPUTE_NEAR_FAR_USING_PRIMITIVES ComputeNearFarMode. Added COMPUTE_NEAR_FAR_USING_PRIMITIVES option that provides the original functionality where only the near plane is computed in a fine grained way, with the far plane being computed simply from bound volumes.
Robert Osfield
2011-09-01 18:48:21 +00:00