Robert Osfield
39fc490a64
From Sherman Wilcox, "Minor change to the glPushAttrib(...) call in
...
renderWithStencilBuffer(...) - added GL_STENCIL_BUFFER_BIT"
2009-01-21 14:37:36 +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
f23f2c351f
Updated wrappers
2009-01-20 17:53:06 +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
8a971d96d2
Fixed compile error when using ITK
2009-01-20 11:34:15 +00:00
Robert Osfield
71ee1a7047
Updated Uniform name for controlling IsoSurfaceValue
2009-01-17 17:23:17 +00:00
Robert Osfield
069d86ae8b
Updated wrappers
2009-01-17 16:00:39 +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
5e629d1236
Added default use of osgVolume::ShaderTechnique
2009-01-16 10:34:58 +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
3be239bdb2
Removal of rendundant characters from Camera and Camera.cpp.
...
Updated wrappers
2009-01-15 10:44:52 +00:00
Robert Osfield
2f7fb53ff7
From Rudolf Wiedemann, "attached is the osg::Camera class (based on revision 9493), where
...
methods
getProjectionMatrixAsOrtho()
getProjectionMatrixAsFrustum()
getProjectionMatrixAsPerspective()
getViewMatrixAsLookAt() (2x)
are now const, as they only call const methods of osg::Matrixf/d.
"
2009-01-15 10:36:04 +00:00
Robert Osfield
c28221b06f
Changed setVolumeTechnique to setVolumeTechniquePrototype()
2009-01-14 20:43:21 +00:00
Robert Osfield
778f4e321d
Added VolumeTechnique to Volume
2009-01-14 20:38:12 +00:00
Robert Osfield
1a00a2ce3c
Added osgVolume .osg plugin
2009-01-14 20:32:06 +00:00
Robert Osfield
d87ec7cb18
Introduced osgVolume::Property, CompositePropery and TransferFunctionPropety classes
2009-01-14 15:16:29 +00:00
Robert Osfield
c21eef7afb
From Lionel Lagarde, "The last field of the LightPointAppearancePalette is only valid for > 15.8 version of
...
the format."
2009-01-14 10:32:20 +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
7bcdaa74bf
Added ZLIB_FOUND to dicom qualification
2009-01-13 10:15:04 +00:00
Robert Osfield
6a19b04d22
Added a / in front of the ${DCMTK_ROOT_INCLUDE_DIR} to workaround a CMake bug that ignores /usr/local/include directories.
...
Added ZLIB to include line.
2009-01-13 10:12:13 +00:00
Robert Osfield
53d99109bd
Added test message
2009-01-12 17:41:25 +00:00
Robert Osfield
12a484593c
Further tweak to include paths
2009-01-12 16:37:38 +00:00
Robert Osfield
ded06dc421
Restructured the include paths
2009-01-12 16:10:40 +00:00
Robert Osfield
b5a2dc4cfb
Fixed warnings
2009-01-09 15:55:25 +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
9b4c6e25ea
Fix of warning reported on CDash
2009-01-09 15:11:15 +00:00
Robert Osfield
1def3b3512
Fixed warnings reported on CDash
2009-01-09 15:09:39 +00:00
Robert Osfield
1289528770
From Roland Smeenk, "Attached is a fix for the Collada plugin. A PositionAttitudeTransform wrote its place elements in the wrong order."
2009-01-09 12:21:36 +00:00
Robert Osfield
fa499dc55f
From Andy Skinner, fixes for Solaris build
2009-01-09 12:17:40 +00:00
Robert Osfield
3b192f5119
Added checked from the ARG version of glDraw*Instanced().
2009-01-08 11:19:21 +00:00
Robert Osfield
8418e3cb40
Removed inappropriate file
2009-01-08 11:18:54 +00:00
Robert Osfield
b1559ce696
Added handling of when a View isn't yet assigned to a Viewer to avoid associated crash
2009-01-07 14:49:04 +00:00
Robert Osfield
536384457a
Updated wrappers
2009-01-07 13:16:38 +00:00
Robert Osfield
6bf59ffae9
Fixed warnings
2009-01-07 12:27:45 +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
dee703a6f3
From Ewe Woesnner, "the Inventor loader crashes when a texture could not be loaded.
...
Please find attached a small fix which solves this issue."
2009-01-06 16:35:38 +00:00
Robert Osfield
ec457e34c3
From Sergey Leontyev, "Some minor(but important) bug fixes for osgWidget:
...
1. In WindowManager.cpp childRemoved method the second parameter "end" is misleading and
should be named "numChildren" instead. It represents how many children to remove. As a result, the method was implemented incorrectly and failed to remove UI objects. So I fixed it.
replaced this:
void WindowManager::childRemoved(unsigned int start, unsigned int end) {
while(start < end) {
Window* window = getByIndex(start);
if(!window) continue;
if(_remove(window)) {
window->_index = -1;
window->unmanaged(this);
}
start++;
}
}
with this:
void WindowManager::childRemoved(unsigned int start, unsigned int numChildren) {
for (unsigned int i = start; i < start+numChildren; i++)
{
Window* window = getByIndex(i);
if(!window) continue;
if(_remove(window)) {
window->_index = -1;
window->unmanaged(this);
}
}
}
2. in Input.cpp
The cursor in Input did not get positioned correctly, probably as a left over from the TOP LEFT origin system which is now BOTTOM LEFT.
in method positioned()
replaced this:
_cursor->setOrigin(x + xoffset + 1.0f, y - _cursor->getHeight() + 1.0f);
with this:
_cursor->setOrigin(x + xoffset + 1.0f, y + 1.0f);
Now it is placed correctly.
"
2009-01-06 16:16:03 +00:00
Robert Osfield
5a6a3f1edd
Updated wrappers
2009-01-06 15:41:29 +00:00
Robert Osfield
4f3b1baee4
Added support for primitive instancing
2009-01-06 14:55:49 +00:00