Robert Osfield
55e89e4466
From Cedric Pinson, "updated osgAnimation with the trunk here the update:
...
examples/osganimationviewer/AnimtkViewer.cpp:
- add option to display bone (--drawbone)
- dont crash if the file does not contains a AnimationManagerBase, display the content only
examples/osganimationviewer/AnimtkViewerGUI.cpp:
- adjust the path of image for the gui
include/osgAnimation/Interpolator:
- add warn message instead of old assert
include/osgAnimation/Bone:
src/osgAnimation/Skeleton.cpp:
- change a method name to fit better with what it does. setMatrixInSkeletonSpace instead of setBoneInSkeletonSpace
include/osgAnimation/Skinning:
src/osgAnimation/RigGeometry.cpp:
- add patch from Fabien Lavignotte to compute normal correctly
include/osgAnimation/Sampler:
- adjust behviour without assert, return 0 instead of crashing
"
2009-01-21 19:02:54 +00:00
Robert Osfield
d542961ca3
Fixed compile errors for when ref_ptr<> auto conversion is disabled
2009-01-21 19:01:26 +00:00
Robert Osfield
a6284b0e03
Renamed ShaderTechnique to RayTracedTechnique
2009-01-21 14:27:58 +00:00
Robert Osfield
0897368fa6
Cleaned up osgvolume
2009-01-21 12:06:13 +00:00
Robert Osfield
1c88753551
Introduced the ability to switch between different visual properties in osgVolume
2009-01-21 11:46:03 +00:00
Robert Osfield
a40aa3a734
Moved PropertyAdjustmentCallback from osgvolume.cpp into osgVolume.
...
Updated lighting shaders.
2009-01-20 17:41:45 +00:00
Robert Osfield
fe667cdd2b
Added event key variables
2009-01-20 15:06:44 +00:00
Robert Osfield
d46e0fcc79
Added support for SampleDensityProperty and TransparencyProperty
2009-01-20 13:50:57 +00:00
Robert Osfield
87cd4530f5
Added AlphaFunc support into osgVolume::AlphaFuncProperty.
2009-01-20 12:39:26 +00:00
Robert Osfield
894b161878
Updated event callback to be able to update iso surface value.
2009-01-17 17:23:47 +00:00
Robert Osfield
b176c3a223
Removed old volume rendering scene graph code from osgvolume example.
...
Moved createNormalMapTexture and applyTransferFunction functions from osgvolume example into include/osgVolume/Layer.
2009-01-16 17:59:38 +00:00
Robert Osfield
29ac92df0e
Moved basics of fixed function pipeline implementation from osgvolume example into osgVolume
2009-01-16 11:27:20 +00:00
Robert Osfield
78c2f98b7a
Introduced ImageLayer computeMinMax + rescaling methods, and use of rescaleToZeroToOneRange by default.
2009-01-16 10:23:17 +00:00
Robert Osfield
ba94ea8c7d
Introduce osgVolume::PropertVisitor, and IsoSurface, MaximumImageProjection, Ligting and AlphaFunc Properties
2009-01-15 15:57:04 +00:00
Robert Osfield
d87ec7cb18
Introduced osgVolume::Property, CompositePropery and TransferFunctionPropety classes
2009-01-14 15:16:29 +00:00
Robert Osfield
f260737cd8
Introduced class interfaces for FixedFunctionTechnique and ShaderTechnique volume rendering techniques.
2009-01-13 17:20:32 +00:00
Robert Osfield
c2e7eacc06
Changed to use ref_ptr<> for scene model to avoid crash
2009-01-12 13:12:04 +00:00
Robert Osfield
e37d22ad27
Fixed warning
2009-01-09 15:57:14 +00:00
Robert Osfield
458993fa88
Moved osgVolume::ImageUtils to osg::ImageUtils, updated wrappers, and started moving osgvolume example across to create osgVolume subgraphs
2009-01-09 15:19:25 +00:00
Robert Osfield
c380ac5a1f
From Cedric Pinson, "Here the updated osganimationskinning.cpp that works as before"
2009-01-08 14:52:11 +00:00
Robert Osfield
803d0dc60c
Added missing *.
2009-01-08 12:47:20 +00:00
Robert Osfield
418dc34776
Fixed warnings
2009-01-07 11:24:47 +00:00
Robert Osfield
8745ec7d69
Removed the usage of assert to prevent associated compile warnings and to clean up code
2009-01-06 19:09:50 +00:00
Robert Osfield
5bf69c9cbb
Updated path to reflect where the new button images are located.
2009-01-06 19:08:34 +00:00
Robert Osfield
1d599c0572
From Don Leich, "Here are a couple of fixes for the file examples/osgviewerQT/QOSGWidget.cpp to
...
address some OS X issues. Most of these fixes were previously submitted by Julian Scheid. However, this patch however should not break the example for non-OS X builds and has been tested on 64-bit Linux as well as Mac OS X 10.5.
o The value returned by QWidget::winId() is not usable as input for
WindowData under OS X the way it is for both Windows and Unix. Julian's fix
for this uses the Carbon API. Since the fix for X11 in unknown, it is now
assumed that OSG has been built with OSG_WINDOWING_SYSTEM='Carbon' for this
example to work at all when running under OS X.
o The CompositeViewer version would hang on exit with the original timer start
argument. Changing the argument value to match the non-composite version
seemed to cure the hanging.
o Julian's patch altered the setGeometry position to 30/30 in order to see any
window decorations. I did not have this problem, but left his changes intact.
o The non-composite viewer needed it's camera initialization defered until
after the ViewerQOSG's Qt base class had been initialized. Otherwise, the view
did not cover the entire window.
"
2009-01-06 16:45:35 +00:00
Robert Osfield
af7bb82175
From Paul Martz, example demonstating new draw instanced primitive funcitonality.
2009-01-06 15:11:54 +00:00
Robert Osfield
3ddafa1078
From Don Leich, build fix for OSX.
2009-01-05 17:52:41 +00:00
Robert Osfield
910927145e
From Paul Martz, added --points option for forcing points rendering of polygonal models
2009-01-05 17:06:09 +00:00
Robert Osfield
02beb8c74a
Added support for user defined clipping of the precipitation effect, to test use:
...
osgpreciptation lz.osg --clip 20
2008-12-19 16:13:19 +00:00
Robert Osfield
74d090845f
Added StandardShadowMap to list to test cases
2008-12-19 12:28:53 +00:00
Robert Osfield
9b1445d5b9
Fixed warnings
2008-12-18 13:56:30 +00:00
Robert Osfield
f8151127e3
From J.P Delport, "I changed the default HDR mode to the ARB format and put in comments for some other possible modes.
...
Some other comment cleanups too."
2008-12-17 17:23:17 +00:00
Robert Osfield
ffe77a785a
Build fixes for when the implict ref_ptr<> cast is not enabled
2008-12-16 20:49:12 +00:00
Robert Osfield
60fc821764
From Cedric Pinson and Jeremey Moles, Changes to OpenSceneGraph-osgWidget-dev branch.
...
Notes from Robert Osfield, Merged changes to OpenSceneGraph-osgWidget-dev r9367 (prior to my botched attempt at merged svn/trunk into the branch).
2008-12-16 20:29:00 +00:00
Robert Osfield
315aeeb557
Where possible moved redundent C header includes from headers to source files
2008-12-12 18:47:30 +00:00
Robert Osfield
4896fe6e05
From Mattias Helsing, "When building osg static on Windows the _declspec's wasn't escaped for
...
applications, examples or wrappers. Attached are the CMakeLists I had
to change to make these compile.
"
2008-12-11 17:00:40 +00:00
Robert Osfield
c3611c5875
Added mechanism for registering proxy objects in the .osg plugin in a way that is compatible with static linking.
2008-12-10 16:26:02 +00:00
Robert Osfield
bceaef6f06
Fixed link line
2008-12-10 12:50:40 +00:00
Robert Osfield
c8190d9c54
Cleaned up osgWidget::VncClient and osgWidget::Browser so that their implementations are all more consitent with the osgWidget::PdfReader.
2008-12-09 11:05:04 +00:00
Robert Osfield
d8c17e4c4c
Added support for setting background colour of Pdf document.
2008-12-09 09:26:51 +00:00
Robert Osfield
6f356aeb97
Intoduce new osgWidget::PdfReader and osgWidget::VncClient front ends to osgWidget,
...
with new pdf plugin and updated vnc plugin that now support these front ends.
Updated osgpdf and osgvnc examples to new these new interfaces.
2008-12-07 17:02:30 +00:00
Robert Osfield
3c611dcf30
Build fix for when implicit conversion in ref_ptr<> is switched off.
2008-11-29 11:35:03 +00:00
Robert Osfield
cd4b4b8bfe
Added new examples
2008-11-28 14:37:58 +00:00
Robert Osfield
070b9c2cd9
From Cedric Pinson, updates to osganimation examples.
...
Merged by Robert Osfield, from OpenSceneGraph-osgWidget-dev
2008-11-28 14:37:16 +00:00
Robert Osfield
9b1841d009
From Jeremy Moles, updates to osgwidget examples.
...
Merged by Robert Osfield from OpenSceneGraph-osgWidget-dev
2008-11-28 14:36:39 +00:00
Robert Osfield
12bfb6d79a
From Jean-Sebastien Guay, "osgautocapture uses M_PI to convert degrees to radians, which didn't compile on Win32. Switched to using osg::DegreesToRadians. Also removed the "convert to radians" comment on each line, as the code clearly conveys this without needing a comment now."
2008-11-27 09:45:41 +00:00
Robert Osfield
270fd48536
From John Vidar Larring, osgautocapture example that captures an image from a paged database by frame loop to the paging is complete, then takes a snapshot.
2008-11-26 11:23:06 +00:00
Robert Osfield
a7a7115581
Fix for build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off
2008-11-25 15:57:27 +00:00
Robert Osfield
d08d778608
From Jaromir Vitek, "In attachment are another fixes for using packed depth+stencil (PDS).
...
* When used PDS RenderStage::runCameraSetUp sets flag that FBO has already stencil,depth buffer attached. Prevents adding next depth buffer.
* Sets correct traits for p-buffer if used PDS and something goes wrong with FBO setup or p-buffer is used directly.
* Adds warning to camera if user add depth/stencil already attached through PDS.
* Sets blitMask when use blit to resolve buffer.
There is also new example with using multisampled FBO."
2008-11-25 10:57:14 +00:00
Robert Osfield
2517c1e77e
Improved the set of the master + slave cameras
2008-11-24 16:02:20 +00:00