Robert Osfield
4d75729650
Added stats collection to new Texture Pool code, and improved TexturePool implementation.
...
The Texture Pool can be enabled by setting the env var OSG_TEXTURE_POOL_SIZE=size_in_bytes.
Note, setting a size of 1 will result in the TexturePool allocating the minimum number of
textures it can without having to reuse TextureObjects from within the same frame.
2009-09-25 18:05:54 +00:00
Robert Osfield
6bc9c626f4
Fixed warning
2009-09-25 18:03:49 +00:00
Robert Osfield
a74af20b54
Added return at end of to fix warning
2009-09-24 10:11:32 +00:00
Robert Osfield
216849f73a
From Jean-Sebastien Guay, fixed Widows build and updated the SO version
2009-09-23 15:16:34 +00:00
Robert Osfield
0c0f96ac3d
Moved setting of TexturePoolSize into State.
2009-09-23 14:54:13 +00:00
Robert Osfield
d56499025b
Introduced memory pool size management
2009-09-23 13:51:20 +00:00
Robert Osfield
3d75054e2c
Preliminary work on support for a texture object pool that is designed to help manage resources down the GPU more tightly.
2009-09-22 18:45:24 +00:00
Robert Osfield
26925be4f4
Change win32 external library to wsock32.lib
2009-09-20 09:26:26 +00:00
Robert Osfield
c1d67b7e17
Added Ws2_32.lib to link of dicom plugin under Win32
2009-09-19 09:18:42 +00:00
Robert Osfield
3c03682b4c
Introduced new osgQtBrowser example.
2009-09-17 13:40:53 +00:00
Robert Osfield
b59556e2e6
Updated wrappers
2009-09-14 16:07:27 +00:00
Robert Osfield
e53876bae9
Fixed bug in interpolation of colour values
2009-09-11 13:08:49 +00:00
Robert Osfield
16312a4aa0
Added tf-255 option to volume tag
2009-09-10 16:39:05 +00:00
Cedric Pinson
2b3d76aade
From Cedric Pinson, Fix createKeyframeContainerFromTargetValue to recreate its sampler from scratch to not change keyframe container of another sampler
2009-09-09 18:13:24 +00:00
Robert Osfield
1e768c0631
Added reset of the ImageDetails values of TexelOffset and TexelScale.
2009-09-09 15:22:04 +00:00
Robert Osfield
251ec3c4f0
Added support for using the ImageDetails to fill in the Locator and TexelScale/Offset values in the ImageLayer
2009-09-09 13:31:32 +00:00
Robert Osfield
13a7ecebde
Added support for "--output filename.osg" command line option to avoid debugging of generated presentations
2009-09-09 13:23:49 +00:00
Cedric Pinson
d28b052fb7
From Cedric Pinson, remove unsused files include/osgAnimation/AnimationManager and src/osgAnimation/AnimationManager.cpp
2009-09-09 09:54:29 +00:00
Cedric Pinson
9b95a78e5d
From Michael Platings, I have removed Target::normalize() as calling it was incorrect - the interpolation is already done in such a way that the Target's value is always normalized.
...
Finally, I have fixed TemplateTarget<osg::Quat>::lerp() as it was giving incorrect results when interpolating between some small rotations.
From Cedric Pinson, i renamed the method in channel to be more general. Adjusted the CubicBezier key constructor to use a single value as input.
2009-09-09 09:52:54 +00:00
Robert Osfield
a851b0b412
Tweaked debugging info
2009-09-08 15:36:44 +00:00
Robert Osfield
5c2e89ac28
Fixed the set up of osgVolume::ImageLayer scale and offset.
2009-09-08 15:36:28 +00:00
Robert Osfield
b2a3d84d08
Added filter for .filename files
2009-09-07 12:51:00 +00:00
Stephan Maximilian HUBER
8f16d2d9a5
updated XCode project
2009-09-07 12:21:03 +00:00
Robert Osfield
7201ce1960
Updated volume setup code to use the new ImageDetails structure.
2009-09-07 10:54:08 +00:00
Robert Osfield
0b3284072d
Added check for null masterLocator
2009-09-07 10:50:48 +00:00
Robert Osfield
b9e4313029
Fixed assingment of layerLocator
2009-09-07 08:30:54 +00:00
Robert Osfield
80be1d9dd6
Fixed empty lines
2009-09-04 09:11:49 +00:00
Robert Osfield
288dd85af4
Added scaling of shader transfer function input values to honour original dicom input values
2009-09-03 14:39:29 +00:00
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