Robert Osfield
97b37cb117
Added support for finding DCMTK-3.5.4 installed lib/include placement
2008-09-17 11:43:14 +00:00
Robert Osfield
d57ad27fcc
Added osgVolume to docs and wrappers
2008-09-16 18:41:13 +00:00
Robert Osfield
6ea2adf1f5
Introduced beginings of osgVolume NodeKit.
2008-09-16 15:32:23 +00:00
Robert Osfield
28af7882f5
Complted the first pass at the DCMTK based dicom loader
2008-09-16 15:31:47 +00:00
Robert Osfield
d07f3d5662
Added optional usage of DCMTK in the dicom plugin
2008-09-15 19:59:12 +00:00
Robert Osfield
d71a6f6cab
Introduced Geometry::containsSharedArrays() and Geometry::duplicateSharedArrays() to
...
support a fix to the osgUtil::Simplifier that couldn't handle shared arrays
2008-09-14 10:31:27 +00:00
Robert Osfield
995ead176a
Introduced TransferFunction1D::assign(ValueMap&).
2008-09-13 09:09:51 +00:00
Robert Osfield
f494bc5b8a
Updated wrappers
2008-09-11 16:01:17 +00:00
Robert Osfield
e1930d127e
Refinements to SwitchLayer and WhiteListTileLoadedCallback
2008-09-11 14:28:42 +00:00
Robert Osfield
2be243deda
Added support for SwitchLayer into GeometryTechnique
2008-09-11 14:27:50 +00:00
Robert Osfield
ff299eb104
Introduced osgTerrain::WhiteListTileLoadedCallback for the management of options terrain layers
2008-09-11 13:21:58 +00:00
Robert Osfield
04a3f0da1c
Changed the createGeodeFromImage code to use the non power of two extension, and disabled mipmapping
2008-09-11 09:26:14 +00:00
Robert Osfield
b4b5b5ea41
Introduced TerrainTile::TileLoadedCallback
2008-09-10 18:11:54 +00:00
Robert Osfield
ed4bd41574
Removed unneccessary compound name usage
2008-09-10 16:17:17 +00:00
Robert Osfield
898a0c11c2
Removed debugging output
2008-09-10 11:38:49 +00:00
Robert Osfield
f738ab8fe2
Changed the image reading so that it leverages the osgDB::Input::readImage() method
...
to ensure that it picks up on any local paths set on the Input object.
2008-09-10 11:28:47 +00:00
Robert Osfield
c266cef6b1
Changed the path management so that the node path is prepended on the database path list, rather than replacing it.
2008-09-10 11:27:45 +00:00
Robert Osfield
45ccf11161
Added osg::Image::set/getWriteHint() that allows images themselves to control how
...
they are written to disk, either inline or as an external file. Added support for
this in the .ive plugin. Default of WriteHint is NO_PREFERNCE, in which case it's
up to the reader/writer to decide.
2008-09-10 11:26:30 +00:00
Robert Osfield
c478ad08fc
Fix for when looping is is disabled
2008-09-04 17:30:56 +00:00
Robert Osfield
d2e29efcd9
Added acceptance of .ogv extensions in xine-lib plugin
2008-09-02 16:13:54 +00:00
Robert Osfield
8759984f52
Replaced uint with unsigned int
2008-09-01 15:29:22 +00:00
Robert Osfield
d10d0137b9
Updated wrappers
2008-09-01 14:05:40 +00:00
Robert Osfield
13878d9a2e
Changed curr and min to current and minimum respectively, to avoid compile problems under Windows
2008-09-01 14:03:41 +00:00
Robert Osfield
99a294ebae
Implemented support for ShapeAttributeList, used John Vidar Larring's initial
...
submission as a base, but implementing the user data functionality in a different
way to facilitate more flexible user data support
2008-09-01 12:40:33 +00:00
Robert Osfield
befa2112f8
From John Vidar Larring, initial cut of .ive support for ShapeAttributeList user data
2008-09-01 12:39:19 +00:00
Robert Osfield
58f4290310
Updated wrappers
2008-09-01 10:49:22 +00:00
Robert Osfield
7945f94246
From He Sicong, "I found a bug here in VERTICAL_SPLIT stereo type:
...
The vertical separation not actually displayed as it is set. So some
display the up and down stereo images style will not be correct.
Someone may forget to change the "Horizontal" to "Vertical" after
copying and pasting the code from above HORIZONTAL_SPLIT code segment.
I've attached the file. By replacing the incorrect "Horizontal" to
"Vertical", the bug is gone.
"
2008-09-01 10:22:06 +00:00
Robert Osfield
2ce8fbdcf9
From Wojciech Lewandowski, "Most recent changes to CameraPathEventHandler change path writing method. Now control points are written on the fly. But default stream precision is not adjusted as it used to and remains set to 6 digits (at least with VS 2008) so larger coordinates like positions on Earth Ellipsoid loose lots of fidelity. This patch fixes this issue.
...
"
2008-09-01 10:06:19 +00:00
Robert Osfield
bc747b0935
Added CompositeLayer::addLayer(setname,filename) convinience function
2008-08-29 09:28:28 +00:00
Robert Osfield
141296c323
From Michael Guerrero, "I've attached the files with the new addition of the "registered = true"
...
flag set."
2008-08-29 09:26:07 +00:00
Robert Osfield
ed617f87df
Introduce the concept of layer set name, using the osg::Object::s/getName() to store
...
the setname, and using a compound string (set:setname:filename) in place of standard filename when reading and writing
files.
2008-08-28 16:15:57 +00:00
Robert Osfield
c8ef144532
Converted AutoTransform to use doubles.
2008-08-28 09:43:00 +00:00
Robert Osfield
95a359bdab
Introduced SwitchLayer which will form the basis of provided support for varients
2008-08-27 10:13:30 +00:00
Robert Osfield
9499cfa420
Improved the GLSL implementation.
2008-08-26 17:40:04 +00:00
Robert Osfield
6af69a3615
Added wrapper build target for generating the osgWrappers
2008-08-26 12:05:24 +00:00
Robert Osfield
86d2eb1e4a
Added provisional block in computePositions()
2008-08-26 09:39:45 +00:00
Robert Osfield
11bd5f39d4
From Ulrich Hertlein, attached is a small fix for a mismatched function signature
2008-08-26 08:41:30 +00:00
Robert Osfield
7f042b803a
From Doug McCorkle, via Paul Martz who writes : "Summary: Some platforms/configurations cause application crashes if the
...
occlusion query result is not ready for retrieval when the app tries to
retrieve it. This fix adds an application-level wait loop to ensure the
result is ready for retrieval. This code is not compiled by default; add "-D
FORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL" to get this code.
Full, gory details, to the best of my recollection:
The conditions under which we encountered this issue are as follows: 64-bit
processor, Mac/Linux OS, multiple NVIDIA GPUs, multiple concurrent draw
threads, VRJuggler/SceneView-based viewer, and a scene graph containing
OcclusionQueryNodes. Todd wrote a small test program that produces an almost
instant crash in this environment. We verified the crash does not occur in a
similar environment with a 32-bit processor, but we have not yet tested on
Windows and have not yet tested with osgViewer.
The OpenGL spec states clearly that, if an occlusion query result is not yet
ready, an app can go ahead and attempt to retrieve it, and OpenGL will
simply block until the result is ready. Indeed, this is how
OcclusionQueryNode is written, and this has worked fine on several platforms
and configurations until Todd's test program.
By trial and error and dumb luck, we were able to workaround the crash by
inserting a wait loop that forces the app to only retrieve the query after
OpenGL says it is available. As this should not be required (OpenGL should
do this implicitly, and more efficiently), the wait loop code is not
compiled by default. Developers requiring this work around must explicitly
add "-D FORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL" to the compile
options to include the wait loop."
2008-08-25 16:43:40 +00:00
Robert Osfield
38efb23901
From Liang Aibin, added support for :
...
osgFX::Effect
osgFX::AnisotropicLighting
osgFX::BumpMapping
osgFX::Cartoon
osgFX::Scribe
osgFX::SpecularHighlights.
2008-08-25 15:57:17 +00:00
Robert Osfield
d3dda658a8
From Liang Aibin, removed redundent spaces
2008-08-25 15:37:48 +00:00
Robert Osfield
5c2a4b014e
From Michael Guerrero, Fixed crash that occurred when openning an new movie file after all previous movie ImageStream had been closed. Also add a missing close of the movie file.
2008-08-25 15:20:42 +00:00
Robert Osfield
0c9214636f
From Paul Martz, "This change fixes a problem with PAT nodes during FLT export."
...
Note, Paul Martz has merged this patch into OpenSceneGraph-2.6.
2008-08-25 15:03:31 +00:00
Robert Osfield
43d19c11cf
From Guillaume Chouvenc, "I have added the file StateAttribute.cpp in src/osgPlugins/osg
...
to support the reading and writing of StateAttribute Callback
in osg files.
"
2008-08-25 14:59:06 +00:00
Robert Osfield
8d5bfeddee
From Guillaume Chouvenc, "I have modified Uniform.cpp and StateSet.cpp in src/osgPlugins/osg
...
to support the reading and writing of Uniform Callback and
StateSet Callback in osg files."
2008-08-25 14:54:11 +00:00
Robert Osfield
a2c1dc85dc
Removed debug info
2008-08-25 10:38:07 +00:00
Robert Osfield
ff35465a33
Moved _stateset = new StateSet instances to setStateSet(new StateSet) to make
...
sure the wiring up of the StateSet parents is done consistently
2008-08-25 10:20:20 +00:00
Robert Osfield
78e22f24c2
Introduced initial cut of a dicom loader, which uses ITK to do the loading.
2008-08-22 16:39:17 +00:00
Robert Osfield
8c8421e7a2
Added warning message
2008-08-22 16:37:56 +00:00
Robert Osfield
f930e707e8
Added checked against an empty _kdNodes list before commensing with intersection
2008-08-19 17:41:55 +00:00
Robert Osfield
8303f03b24
Added .ive support for BlendEquation
2008-08-18 15:06:41 +00:00