Robert Osfield
fa84f280f6
Renamed the osgVolume::Layer/ImageDetails parameters RescaleIntercept and RescaleSlope to more general TexelOffset and TexelScale, and changed type to Vec4.
...
Refactored the transfer function set up in RayTracedTechnique to prepare for new scale and offset uniforms.
Updated wrappers
2009-09-03 13:40:50 +00:00
Robert Osfield
43e3089417
Added support for recording the RescaleIntecept and RescaleSlope from the dicome files and passing these values onto osgVolume::ImageLayer
2009-09-01 10:48:32 +00:00
Robert Osfield
ea43bc7d52
Updated wrappers
2009-08-31 15:10:38 +00:00
Cedric Pinson
641769a681
From Cedric Pinson, add missing files
2009-08-31 10:37:44 +00:00
Cedric Pinson
b6ab5bbe27
From Cedric Pinson, The following modification are
...
Update Timeline.cpp to add current layer to the ActionVisitor, use correctly the priority
Add accessors in Action.cpp to retrieve protected data
Split files and rename them to classname
Change de default color of UpdateMaterial to FFOOFF to detect unset value
Add accessors in LinkVisitor instead of accessing data directly
Update osganimationtimeline example to fit the api callback
2009-08-31 09:40:56 +00:00
Robert Osfield
79f780d4b8
Fixed the compute of the extents/bounding sphere
2009-08-27 19:25:23 +00:00
Robert Osfield
ca78f3a6bc
Added support to .p3d format's volume tag for the properties:
...
region="xmin ymin zmin xmax ymax zmax"
alpha="float_value"
cutoff="float_value"
sampleDenstiy="float_value"
2009-08-27 16:42:47 +00:00
Cedric Pinson
3f9216800d
From Michael Platings, I've moved the matrix updating from UpdateSkeleton to UpdateBone. UpdateSkeleton now merely checks that Bones appear before other children and issues a warning if this isn't the case
2009-08-27 16:21:01 +00:00
Cedric Pinson
729d5205ef
From Michael Platings, I've just added a few simple accessors I found necessary
2009-08-26 16:39:53 +00:00
Cedric Pinson
3c45fb1e6c
From Michael Platings,
...
- Animations with equal priority are now weighted correctly relative to each other
- (minor) Channels no longer store their weight as the only time it's used is in update() when Animation can pass in the weight directly
From Cedric Pinson,
- I adjusted the quaternion blending to keep the commutativy property
2009-08-26 09:24:02 +00:00
Robert Osfield
c56dd6faa5
From Michael Platings, "the DAE importer was crashing when calling osg::Object::setName with a null pointer argument. Rather than trying to fix all the places this might happen and probably missing a few, I thought it would be better to trivially validate the input in setName. With this fix if setName is called with a null pointer then the name is cleared."
2009-08-22 17:13:19 +00:00
Robert Osfield
a63dbc225e
Fixed osgAnimation wrappers
2009-08-21 13:55:03 +00:00
Robert Osfield
5d7d7137d2
Updated wrappers
2009-08-21 12:53:23 +00:00
Robert Osfield
fd299b5f65
From Magnus Kessler, "At the end of the void function
...
osg::Animation::TemplateStepInterpolator::getValue the code tries to return
the result rather than assigning it to the result parameter reference.
The following patch fixes this."
2009-08-21 11:31:10 +00:00
Robert Osfield
8f0322d9d1
Fixed handling of double precision bounding sphere type.
2009-08-21 10:18:46 +00:00
Robert Osfield
aa85f18bbc
From Stephane Lamoliatte, "I just add the a missing getView() function to the WindowManager."
2009-08-21 09:54:45 +00:00
Robert Osfield
e8eeaa0c8b
From Wojciech Lewandowski, part of the FBO attachment submission
2009-08-21 09:43:41 +00:00
Robert Osfield
613c59ad3b
Updated wrappers
2009-08-21 09:42:54 +00:00
Robert Osfield
3f65f4f80b
From Wojciech Lewandowski, support for FBO's without colour or depth attachments.
...
Note from Robert Osfield, I've temporarily re-enabled the old focing of of color and depth attachment to avoid regressions on some OpenGL driver. We'll revist this once
we have a mechanism for controlling this override at runtime.
#define FORCE_COLOR_ATTACHMENT 1
#define FORCE_DEPTH_ATTACHMENT 1
2009-08-21 09:34:48 +00:00
Robert Osfield
65352c8533
From Magnus Kessler, "osgAnimation/Interpolator includes itself. The following patch removes the
...
superfluous include"
2009-08-20 16:39:14 +00:00
Robert Osfield
564ae70d45
From Tom Moore, "Parens were being returned when the bracket keys were typed. The fix
...
is easy and the original code looks like a typo"
2009-08-20 16:05:06 +00:00
Robert Osfield
9347fc1ddb
From Colin McDonald, "This file didn't build when OSG_USE_UTF8_FILENAME was on"
2009-08-20 15:32:02 +00:00
Robert Osfield
60253d164d
From Colin McDonald, "There is a duplicate class definition in the obj & dxf plugins trunk,
...
causing static builds to fail."
2009-08-20 15:20:55 +00:00
Robert Osfield
9f454c1714
From Colin McDonald, "The bsp & mdl plugins have calls to atof() without including the
...
associated <stdlib.h> header. This breaks the build on my Solaris setup.
Rather than adding the missing <stdlib.h> include, I have changed the
atof() calls to osg::asciiToDouble(). This is the same as was done
throughout the other plugins recently, for locale independance.
I've attached updates to the svn trunk, the fix is also appropriate for
the 2.8.* branch."
2009-08-20 14:59:29 +00:00
Robert Osfield
fe8822e496
Added check against a minimual video size of 10x10 to prevent problems with swscale reporting errors and crashing on small video dimensionsline, and those below, will be ignored--
...
M ffmpeg/FFmpegImageStream.cpp
2009-08-20 14:59:00 +00:00
Robert Osfield
c6fe8046dc
Improved the custom cursor code and release and compute settings
2009-08-20 14:20:55 +00:00
Robert Osfield
a2a2740a23
From Ronald van Maarseveen and Robert Osfield, changed compute of up vector and localToWorld transform so that it takes in to account the geographic latitude.
2009-08-20 14:19:10 +00:00
Robert Osfield
b76983c7f9
Fixed typo
2009-08-19 15:36:46 +00:00
Robert Osfield
850ea3de9f
Added support for trimming the contents of parsed Xml graph
2009-08-19 15:36:23 +00:00
Robert Osfield
f3c20310d6
Added tabs to treatment as white space to skyWhiteSpace()
2009-08-18 13:38:17 +00:00
Robert Osfield
1241f8a0d6
Added check for space in option name parsing
2009-08-17 16:07:04 +00:00
Robert Osfield
2d77db3627
Added support for the TabBoxTrackballDragger
2009-08-17 15:46:22 +00:00
Robert Osfield
a1709abbee
Changed the autorun keys to 'g' for go, and 'h' for halt.
2009-08-17 15:45:43 +00:00
Robert Osfield
321a404f05
Updated wrappers
2009-08-17 15:24:15 +00:00
Robert Osfield
804f7622cc
Moved static string initialization into singleton method
2009-08-17 15:22:01 +00:00
Cedric Pinson
2916d9b7ea
From Michael Platings,
...
Changes to allow osgAnimation::*CubicBezierChannel to be used
Added TemplateStepInterpolator class
2009-08-06 12:40:06 +00:00
Robert Osfield
38c36f0158
Added a viewer.frame() call prior to the useCursor(false) calls to avoid a threading crash under X11
2009-08-06 10:57:42 +00:00
Robert Osfield
45efe61d44
Fixed custom cursor support
2009-08-06 10:06:20 +00:00
Robert Osfield
c24e9330a0
Added support for selecting the TabBoxTrackballDragger using dragger="trackball-box"
2009-08-05 17:01:50 +00:00
Robert Osfield
589629cab8
Introduced TabBoxTrackballDragger
2009-08-05 16:02:44 +00:00
Robert Osfield
93996e6133
Added support for volume tags with properties:
...
dragger="box" or dragger="trackball"
and
technique="light" or technique="isosurface" or technique="iso" or technique="mip"
and
tf="transferfunctionfile.tf"
i.e.
<volume dragger="box">CardiacCT</volume>
<volume tf="colour.tf">CardiacCT</volume>
<volume technique="isosurface">CardiacCT</volume>
2009-08-05 14:37:56 +00:00
Robert Osfield
5b81e1e76f
Updated wrappers
2009-08-05 12:51:10 +00:00
Robert Osfield
df9385ac19
Moved the updating and expiry of the Registry object cache from DatabasePager into osgViewer::Viewer/CompositeViewer.
2009-08-05 11:06:53 +00:00
Robert Osfield
2f3dfc4349
Updated the Present3D version number
2009-08-04 16:19:28 +00:00
Cedric Pinson
d2af7efc61
From Cedric Pinson, Add UpdateMaterial callback to animate material\nUpdate LinkVisitor to traverse stateset\nUpdate ReaderWriter to read osgAnimation::UpdateMaterial Callback\nUpdate nathan.osg data file to demonstrate the MaterialAnimation
2009-08-03 09:48:12 +00:00
Robert Osfield
239aed9a88
Tweak of NodeMask docs
2009-07-28 06:00:23 +00:00
Robert Osfield
91f53369a3
From Terry Welsh, .osg and .ive support for new Text boxes
2009-07-28 06:00:03 +00:00
Robert Osfield
fcaec80dc9
Fixed bug in handling of stereo image pairs
2009-07-27 15:39:27 +00:00
Robert Osfield
e078aad61f
Updated wrappers
2009-07-24 15:55:50 +00:00
Robert Osfield
35962ab099
From Lee Butler and Robert Osfield, doxygen comment explaining role of NodeMask
2009-07-24 15:30:13 +00:00