Robert Osfield
f6ace4a7d0
From Ulrich Hertlein, typo fixes
2011-12-23 16:14:51 +00:00
Robert Osfield
c9d19d7bff
Added handling of an empty filename when writing out an image file.
2011-12-23 12:42:18 +00:00
Robert Osfield
0af31eff5d
Removed inappropriate static usage
2011-12-19 16:18:18 +00:00
Robert Osfield
c86e2361d2
Moved the createSpotLightImage function into include/osg/ImageUtils
2011-12-19 09:37:57 +00:00
Robert Osfield
c225f2758c
Added --num-sm and --parallel-split and --cascaded command line options to set the appriopriate ViewDependentShadowMap settings.
2011-12-19 09:09:30 +00:00
Robert Osfield
74fb1f42d9
Moved osgshaders example across to use the new osgUtil::PerlinNoise example
2011-12-13 21:14:33 +00:00
Robert Osfield
22e309e8fb
Created new PerlinNoise class from the Noise.h+Noise.cpp code in the osgshaders example.
2011-12-13 21:12:00 +00:00
Robert Osfield
22ef706e32
Fixed build under Tiny Core.
2011-11-30 19:14:14 +00:00
Robert Osfield
16c2bb5a2f
To fix problems in tight bound computation of the shadow map made the ComputeLightSpaceBounds usage always used when the
...
CastShadowMask is active. Changed the ComputeLightSpaceBounds to use just VIEW_FRUSTUM_CULLING.
2011-11-25 12:48:03 +00:00
Robert Osfield
2b2c1b5671
From Jean-Sebastien Guay, fix for handling texture unit >= 8 and negative LigthNum.
2011-11-25 09:24:50 +00:00
Robert Osfield
92ed903a7f
Added prelimanary support for parallel split shadow maps into ViewDependentShadowMap.
2011-11-22 21:55:30 +00:00
Robert Osfield
116b9a978c
From Trajce Nikolov, "Here is extended version of the osgforest example - technique with geometry shader added, was doing it for a project so I thought might be useful to update the example as well
...
"
2011-11-18 08:20:04 +00:00
Robert Osfield
c7542d5cd8
Fixed indentation
2011-11-18 08:15:36 +00:00
Robert Osfield
ce021df661
Added .get() to fix build
2011-11-17 18:45:18 +00:00
Robert Osfield
862c1c4af3
Updated built in volume shaders to honour the osg::Matierial setting
2011-11-11 10:36:17 +00:00
Robert Osfield
d13bfb522b
Enabled blending for the iso surface rendering to enable fade in/fade out of volume.
2011-11-11 10:25:20 +00:00
Robert Osfield
85418bf7ba
Added handling of osgGA::GUIEventAdapter::getMouseYOrientation() in the orientation of mouse y position.
...
Added updating of properties on both mouse move/drag and keydown.
2011-11-10 15:50:22 +00:00
Robert Osfield
a548daa4be
Added a check against OSX 10.6 to enable better selection of when to provide custom cosf etc. definition.
...
This change has been introduced to address recurcsion problems in 10.7 in the ac3d plugin.
2011-11-07 14:36:50 +00:00
Robert Osfield
693d79c638
Implement presentation update feature that reloads the presentation on pressing 'u'.
2011-11-04 12:50:05 +00:00
Robert Osfield
e8bae33143
Improved the handling of setStartTick() being called mid app, such as when idirectly called when doing a Viewer::setSceneData().
...
Improved the setting the the initial event state.
2011-11-04 12:47:24 +00:00
Robert Osfield
0329ca5cea
Improved handling of resetting of the EventQueue::startTick().
2011-11-04 12:45:32 +00:00
Robert Osfield
747654fb6d
Added removeFromObjectCache method.
2011-11-04 12:44:01 +00:00
Robert Osfield
3c461dd706
Add 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.
2011-11-02 10:57:17 +00:00
Robert Osfield
04f9341161
Replaced the use of PrtScrn with 'm' for taking screenshots, replaced the use of 'm' with 'M' for taking movies.
2011-11-01 16:13:24 +00:00
Robert Osfield
1bcd36f5ed
From 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."
2011-11-01 13:41:48 +00:00
Robert Osfield
76396d0c12
Added 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.
2011-11-01 13:36:07 +00:00
Robert Osfield
215512647c
Added setting of the sampleDensityWhenMovingProperty at the same time as when setting the sampleDensityProperty
2011-11-01 11:08:48 +00:00
Robert Osfield
3cad9d0962
Fixed the use DCM_SeriesDescription
2011-11-01 10:30:18 +00:00
Robert Osfield
14a4aa9a19
Improved 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.
2011-11-01 10:27:12 +00:00
Robert Osfield
ca582c708d
Adding missing checks against View's Camera and SceneData for any update callbacks that need calling.
2011-10-31 15:29:49 +00:00
Robert Osfield
d95801f6a8
Changed the notification level to INFO.
2011-10-28 11:00:55 +00:00
Robert Osfield
bbf081695b
Changed the setting of Traits::sampleBuffers so that it's set to 1 when DisplaySettings::getMultiSamples() is set to a non zero value.
2011-10-28 11:00:08 +00:00
Robert Osfield
3e7900c39e
Changed the default for SampleBuffers to be 1 when set.
2011-10-28 10:36:29 +00:00
Robert Osfield
20ffed1fa1
Removed OSX codepath for setting the depth value to 32 as this turned out to be unneccesary.
2011-10-28 09:45:51 +00:00
Robert Osfield
24ff8796d5
Changed the default depth to 24.
2011-10-28 09:11:21 +00:00
Robert Osfield
98d50250ff
Updated volume shaders to use the GL_LIGHT 0 values to control the direction of the light source
2011-10-27 16:33:18 +00:00
Robert Osfield
3a64805d20
Reimplement the light direction controls so that they now work correctly with osgViewer::Viewer.
...
Improved the computation of the light direction from non-dimensional mouse coords so that they now project onto a hemisphere making
the interaction more intuitive.
2011-10-27 13:11:20 +00:00
Robert Osfield
7bcfb3c130
Added support for ignore returns as white space.
2011-10-27 09:24:34 +00:00
Robert Osfield
c403c052db
Added support for American spelling of swap and add supportOptions(..) documentation for the new options.
2011-10-27 08:34:53 +00:00
Robert Osfield
881078289d
Added support into the .p3d format for specifying the osgDB::Options::OptionString via the <tag options="value">.
...
Added support into .vnc plugin for passing in the keywords "swap", "RGB", "RGBA", "BGR", "BGRA" as OptionString values to allow .p3d presentations to control
whether the pixelformat should be swapped or set to a specific format.
2011-10-26 14:25:56 +00:00
Robert Osfield
5d26d16fd3
Added password support into present3D's vnc support via the tag usage : <vnc password="mypassword">hostname</vnc>
2011-10-26 12:48:57 +00:00
Robert Osfield
9995cb70a9
Added password support into osgvnc example and vnc plugin
2011-10-26 12:29:38 +00:00
Robert Osfield
b9d7989b44
Implement a simply attempt at detecting when the pixel format needs to be swapped.
2011-10-26 09:34:50 +00:00
Robert Osfield
2dc271d85f
Added support for 32bit depth buffer
2011-10-25 15:55:33 +00:00
Robert Osfield
4b655d9c46
Added hack of using a 32bit depth buffer default setting for Traits when compiling under Apple.
2011-10-25 15:31:46 +00:00
Robert Osfield
9b380c8d49
Moved switching off of the cursor till after the slide event handler has had a chance to switch off the scene.
2011-10-24 13:40:29 +00:00
Robert Osfield
1538ecf113
Fixed handling of slide with no layers.
2011-10-24 11:09:35 +00:00
Robert Osfield
e04ca06fc8
Fixed build of StreamOperator
2011-10-22 09:02:18 +00:00
Robert Osfield
9e903861a2
Fixed handling of Vec3dArray in GLBeginEdnAdapter/ArrayDispatchers.
2011-10-21 15:39:51 +00:00
Robert Osfield
d7cba048f5
Added support for using negative scale_x, scale_y and scale_z values in the <volume> tag to allow presentations to flip the imagery
2011-10-21 11:00:29 +00:00