Robert Osfield
030f4c06a9
Converted osg::notify to OSG_INFO etc.
2010-05-28 16:04:19 +00:00
Robert Osfield
a74af20b54
Added return at end of to fix warning
2009-09-24 10:11:32 +00:00
Robert Osfield
e53876bae9
Fixed bug in interpolation of colour values
2009-09-11 13:08:49 +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
a851b0b412
Tweaked debugging info
2009-09-08 15:36:44 +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
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
79f780d4b8
Fixed the compute of the extents/bounding sphere
2009-08-27 19:25:23 +00:00
Robert Osfield
6e6a7c960e
Added Dragger::s/getActivationModKeyMask(..) and Dragger::s/getActivationKeyEvent(...) methods to make it possible to have draggers that only respond when you press a specified modified key or standard key.
...
Changed the optional dragger in osgvolume to require the shift key to be pressed for the dragger to become active.
2009-07-03 19:16:53 +00:00
Robert Osfield
48dddc37b8
Introduced a Locator callback and associated usage of this callback to provide interactive updating of the volume bounds
2009-07-03 05:25:08 +00:00
Robert Osfield
a4dedc227b
Refactored RayTracedTechnique to allow the position of the rendered part of the volume to be decoupled from the image data.
2009-07-02 18:49:59 +00:00
Robert Osfield
1515b8d357
Changed debug message from NOTICE to INFO
2009-05-05 12:46:06 +00:00
Robert Osfield
e2f4e96416
Added checks to prevent crash when no imagery is applied
2009-05-05 11:05:17 +00:00
Robert Osfield
ee3bfe94a3
Added checks to prevent crashes when no imagery is assigend to volume
2009-05-05 11:03:57 +00:00
Robert Osfield
b037fdb14a
Enabled blending to all but iso surface shader.
...
Changed the alpha value of the iso surface colour to 1.0
2009-04-28 14:26:13 +00:00
Robert Osfield
39cecd2a72
From Philip Lowman, "Here's the promised cleanup of the OSG's CMakeLists.txt files for the src/ folder. I'll submit the others separately.
...
Also, there was also a small bug in osgDB's CMakeLists.txt that was causing an error when I tested with CMake 2.4.4.
IF(${OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX} STREQUAL "quicktime")
was changed to
IF(OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX STREQUAL "quicktime")
"
2009-03-23 16:01:02 +00:00
Robert Osfield
979d1e6be7
Merged in various changes from the OSG-2.8 to being svn/trunk up to date.
2009-02-19 14:24:10 +00:00
Robert Osfield
51f6fa249f
Merged fixes to osgVolume's handling of ImageSequence animated volumes, merge command:
...
svn merge -r 9746:9747 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8
2009-02-10 18:51:43 +00:00
Robert Osfield
f3166c2d96
From Sherman Wilcox, added VS versioning information into libs
2009-02-05 14:55:17 +00:00
Robert Osfield
2e58416826
Added exports, and moved constructors into .cpp.
2009-02-05 14:54:42 +00:00
Robert Osfield
2d55740b3e
Refactored osg::TransferFunction1D to use an std::map internally which is kept in sync with the actual osg::Image that is passed to the GPU.
...
Added .osg support for osg::TransferFunction1D.
Updated wrappers
2009-02-02 14:43:27 +00:00
Robert Osfield
aed3339e43
Improved shaders to better handle region of constant values when doing normal generation
2009-01-30 18:56:30 +00:00
Robert Osfield
a358bd7370
Updated iso surface shaders
2009-01-30 17:10:27 +00:00
Robert Osfield
cbaf9d639c
Added support for discard fragment that don't generate an iso surface intersect
2009-01-30 16:45:54 +00:00
Robert Osfield
c17d85c241
From Lionel Lagarde, "here is a correction on
...
osgVolume/Property
added OSGVOLUME_EXPORT to PropertyAdjustmentCallback
osgVolume/VolumeTile.cpp
in copy constructor, removed ';' on if (volumeTile.getVolumeTechnique())"
2009-01-23 09:24:34 +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
0739b09519
Removed redundent shader files
2009-01-20 15:30:30 +00:00
Robert Osfield
bda89b113e
Added lighting based shaders
2009-01-20 15:29:32 +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
71ee1a7047
Updated Uniform name for controlling IsoSurfaceValue
2009-01-17 17:23:17 +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
9d4b44f956
Completed firt pass implementation FixedFunction and ShaderTechnique.
2009-01-16 16:21:54 +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
778f4e321d
Added VolumeTechnique to Volume
2009-01-14 20:38:12 +00:00
Robert Osfield
d87ec7cb18
Introduced osgVolume::Property, CompositePropery and TransferFunctionPropety classes
2009-01-14 15:16:29 +00:00
Robert Osfield
2efce3965a
Integrated state setup code from osgvolume.cpp example into ShaderTechnique path.
2009-01-13 17:51:45 +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
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
cedffd3adb
Introduced osgVolume::Layer and Locator classes mirrroring similar classes in osgTerrain.
2009-01-05 11:26:26 +00:00
Robert Osfield
f4c26f9cc8
Changed VolumeTile::setImage(Image*) to setImage(uint i, Image*) to allow multiple images to be attached to single tile
2008-12-21 20:42:29 +00:00
Robert Osfield
adb7a49c10
Renamed osgVolume::Brick to osgVolume::VolumeTile
2008-12-20 20:55:21 +00:00