Robert Osfield
720551d549
From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and
...
fopen to osgDB::fopen to facilitate support for wide character filenames using UT8 encoding.
2008-11-07 15:08:08 +00:00
Robert Osfield
a063d1dfb0
Added --no-rescale, --rescale (default) and --shift-min-to-zero command line options for controlling how the pixel data is managed.
2008-11-05 15:59:48 +00:00
Robert Osfield
de4e08e868
Added --replace-rgb-with-luminance option
2008-11-05 15:04:38 +00:00
Robert Osfield
bc2e8034fe
Fixed --images commandline parsing
2008-11-04 12:57:30 +00:00
Robert Osfield
3b4184295e
Various improvements to the dicom loader to be able to handle a broader range of dicom files
2008-10-02 15:45:08 +00:00
Robert Osfield
66c857b645
Updated shaders
2008-09-29 18:30:17 +00:00
Robert Osfield
d4c6af753f
Added support for using ImageSequence to animate volumes
2008-09-29 10:56:42 +00:00
Robert Osfield
38171cc1b9
Improved the isosurface shaders, and mde GLSL usage the default
2008-09-28 15:16:13 +00:00
Robert Osfield
d8cfc9b1f5
Improved GLSL isosurface support when using a transfer function
2008-09-26 15:47:31 +00:00
Robert Osfield
21865d3ec1
Added setting of various filters and setResizeNonPowerOfTwoHint(false) on normals maps etc.
2008-09-26 14:50:41 +00:00
Robert Osfield
026314bf83
Added --isosurface and --mip paths into osgvolume example, and added associted shaders
2008-09-26 11:29:00 +00:00
Robert Osfield
134a2e69a0
Moved shaders into .cpp, with the shaders created by the new osg2cpp utility
2008-09-25 14:39:08 +00:00
Robert Osfield
62331769ac
Added shader based transfer function, enabled via --gpu-tf
2008-09-24 10:45:15 +00:00
Robert Osfield
169d9f550e
Fixed transfer function parsing
2008-09-24 10:20:23 +00:00
Robert Osfield
55d4756d31
Added support for reading raw data and transfer function from a volume header
2008-09-22 17:24:26 +00:00
Robert Osfield
6ea2adf1f5
Introduced beginings of osgVolume NodeKit.
2008-09-16 15:32:23 +00:00
Robert Osfield
d07f3d5662
Added optional usage of DCMTK in the dicom plugin
2008-09-15 19:59:12 +00:00
Robert Osfield
b55ed0c56b
Added reading of whole directories of images
2008-09-13 13:38:06 +00:00
Robert Osfield
b000198cc4
Removed use of ints and reading from gl_FragColor in shader
2008-09-12 15:41:30 +00:00
Robert Osfield
9499cfa420
Improved the GLSL implementation.
2008-08-26 17:40:04 +00:00
Robert Osfield
6c047f7abe
Added testing of max texture size using a realize operation
2008-08-25 11:37:53 +00:00
Robert Osfield
94c6c9d32a
Added support for event handler for non shader path, enable alpha func
2008-08-25 10:38:39 +00:00
Robert Osfield
8d8852bc23
Added command line arguments to Viewer constructor, and added meaningful error message when no 3d image is provided
2008-08-25 09:53:24 +00:00
Robert Osfield
f5105510f3
Added support for reading the image transform from UserData in the form of a Matrix.
2008-08-22 16:35:49 +00:00
Robert Osfield
3cec676d98
Added --mip command line option which enables Maximum Intensity Projection filtering
2008-08-18 15:08:04 +00:00
Robert Osfield
79276b3169
From He Sicong, "fixed shader calculation of ray tracing"
2008-02-28 10:56:03 +00:00
Robert Osfield
f4afa427a7
From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)."
2007-12-10 17:30:18 +00:00
Robert Osfield
cc0f1cb0fe
From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License
2007-06-12 14:20:16 +00:00
Robert Osfield
5be86601bb
Removed old GNUmakefile.inst files
2007-04-10 13:58:18 +00:00
Robert Osfield
2e6ee4bb39
Removed old gmake and VisualStudio build files
2007-04-10 13:10:25 +00:00
Robert Osfield
d9a94f7890
Moved the TARGET_NAME setting into the SETUP_APPLICATION/EXAMPLE macro
2007-03-19 17:18:59 +00:00
Robert Osfield
da64127539
Ran dos2unix on CMakeLists.txt files.
2007-03-19 13:26:34 +00:00
Robert Osfield
be3f61c49f
From Luigi Calori, move to using local CMakeLists.txt files and explicit file lists.
...
From Robert Osfield, small ammendments of the above to seperate example and application installs, and fix the osgPlugins install directory.
2007-03-19 12:30:26 +00:00
Robert Osfield
b121c9686f
Ported following examples to osgViewer:
...
osgteapot
osgtessellate
osgtext
osgtexture1D
osgtexture2D
osgtexture3D
osgtexturerectangle
osgvertexprogram
osgvolume
osgwindows
osgsimple
osgkeyboardmouse
2007-01-11 15:19:59 +00:00
Robert Osfield
345810ef22
Added support for float or double osg::Plane, and the default osg::Plane to double.
...
Performance tests on big models did not indicate any performance penalty in using doubles over floats,
so the move to doubles should mainly impact precision improvements for whole earth databases.
Also made improvements to osgUtil::PlaneIntersector and osgSim::ElevationSlice classes
2006-11-28 16:00:52 +00:00
Robert Osfield
a73e9250ee
Added alpha test setting
2006-11-15 20:29:28 +00:00
Robert Osfield
d40e12a27b
Removed deprecated GUIEventHandler method
2006-10-05 14:32:39 +00:00
Robert Osfield
41a4aa1548
Added viewer.cleanup_frame() to all examples.
2006-08-02 19:55:03 +00:00
Robert Osfield
56fce04cb4
Added additional command line docs
2006-07-18 15:11:41 +00:00
Robert Osfield
d7fdaecfa0
From Adrian Egli, added std::ifstream::binary qualifier to ifstream usage.
2006-05-15 11:38:56 +00:00
Robert Osfield
dbbabf87c6
Converted osgGA::GUIEventAdapter into a concrete class capable of respresenting
...
keyboard and mouse events.
Added osgGA::EventQueue class to support a thread safe event queue and adaption
of keyboard and mouse events.
Removed osgProducer::EventAdapter as GUIEventAdapter replaces it.
Adapted osgProducer and examples to work with the new changes to osgGA.
2006-03-08 14:09:47 +00:00
Robert Osfield
91855e7c50
Replaced tabs with spaces in examples.
2005-11-17 20:22:55 +00:00
Robert Osfield
20d9c3c3c4
Compile fixes for VS7.1
2005-11-10 09:42:34 +00:00
Robert Osfield
fe1536ebd6
Fixed compile warnings.
2005-10-24 13:46:31 +00:00
Robert Osfield
d1108ea862
Added support for "-O OutputTextureFiles" options string in .osg plugin to
...
allow texture files to be written out when writing out a .osg file.
2005-09-19 14:07:44 +00:00
Robert Osfield
4795fb88e6
Added checking of EventVisitor type
2005-09-05 13:26:50 +00:00
Robert Osfield
b8d7a3bf44
Added event handler to shader code so that alphaCuttOff, transparency and
...
sampleDensity are controlled via 'a', 't' and 'd' respectively.
2005-09-05 13:19:20 +00:00
Robert Osfield
efc4f2436f
Integrated shaders into source.
2005-09-05 10:40:04 +00:00
Robert Osfield
ab879525ef
Added all sides of the shader cube
2005-09-05 09:14:30 +00:00
Robert Osfield
7ed8bab8d4
Added preliminary GLSL shader path for volume rendering.
2005-09-05 07:48:55 +00:00