Robert Osfield
ff4a0ce1e2
Added support for handling viewports with offset origins, and with it split stereo.
2013-12-10 13:38:27 +00:00
Robert Osfield
bc95ea97fb
Introduced SampleRatioValueProperty for more intuitive control of how many samples to take when volume rendering
2013-12-10 10:43:48 +00:00
Robert Osfield
499adba97f
Improvements to new MultipassTechnique
2013-12-09 10:39:01 +00:00
Robert Osfield
3858acf70f
Further work on new MultipassTechnique/VolumeScene.
2013-12-06 19:31:12 +00:00
Robert Osfield
ed4deeb0fb
From Mike Krus, compile fix to enable compiling across a wider set of versions.
2013-12-06 09:35:57 +00:00
Robert Osfield
1b3290221c
Added support for using shaders to render the RTT textures with depth
2013-11-26 19:03:46 +00:00
Robert Osfield
477951b924
Replaced readShaderFile() usage to readRefShaderFile()
2013-11-26 10:38:35 +00:00
Robert Osfield
4fcf8d3e86
Added initial render to texture functionality into osgVolume::VolumeScene
2013-11-25 17:36:17 +00:00
Robert Osfield
f02ed3c629
Warning fixes
2013-11-22 10:27:15 +00:00
Robert Osfield
91033a3a1f
From Kristofer Tingdahl, Build fix for svg plugin that makes sure the version of librsvg is at sufficient, and fixed a missing virtual destructor warning.
2013-11-22 09:48:02 +00:00
Robert Osfield
d3a7115c45
Removed trailing spaces, added missing return to last lines
2013-11-22 09:38:50 +00:00
Robert Osfield
5bea13c172
Added new osgVolume::VolumeScene and osgVolume::MultipassTechnique class shells that will be filled out to provide multi-pass volume rendering that handles mixing of
...
3D meshes with volume rendering and segmentation of volumes via a user defined hull mesh.
2013-11-21 18:17:44 +00:00
Robert Osfield
1b269a7711
From Stephan Huber, "CLang / LLVM on OS X seems to have a problem compiling the osgGA-serializer. (It was reported before on the list, but the error is hard to track as it shows up only sometimes)
...
I fixed the compile-error with a dedicated destructor of osgGA::GUIEventHandler"
2013-11-21 14:21:55 +00:00
Robert Osfield
9a9efb1c58
From Farshid Lashkari, " recently encountered an issue attempting to load an IVE file generated by an older version of OSG. The file contained dxt1 compressed image data with mipmaps. The loaded model would cause crashes when passing the mipmap data to glCompressedTexImage2D. It seems that the size of the data array within the IVE file did not match the computed size from Image::getTotalSizeInBytesIncludingMipmaps(). This essentially made the mipmap offsets invalid within the Image object.
...
I'm not sure if the IVE was simply generated incorrectly, or if the Image::getTotalSizeInBytesIncludingMipmaps() was modified since the file was generated. Either way, I added a simple check in the IVE loader so that it clears the mipmap offsets if the actual data size does not match the computed data size. This seems like a safe fallback since the mipmap data can be automatically generated, and it fixes the problem in my case.
Also, while looking into this issue, I noticed that the osgDB::InputStream class applies the serialized image allocation mode. However, since the serializer is allocating the image data itself, it seems like it should force the allocation mode to USE_NEW_DELETE.
"
2013-11-21 14:08:01 +00:00
Robert Osfield
a5d78953d4
From Farshid Lashkari, "I recently encountered an issue attempting to load an IVE file generated by an older version of OSG. The file contained dxt1 compressed image data with mipmaps. The loaded model would cause crashes when passing the mipmap data to glCompressedTexImage2D. It seems that the size of the data array within the IVE file did not match the computed size from Image::getTotalSizeInBytesIncludingMipmaps(). This essentially made the mipmap offsets invalid within the Image object.
...
I'm not sure if the IVE was simply generated incorrectly, or if the Image::getTotalSizeInBytesIncludingMipmaps() was modified since the file was generated. Either way, I added a simple check in the IVE loader so that it clears the mipmap offsets if the actual data size does not match the computed data size. This seems like a safe fallback since the mipmap data can be automatically generated, and it fixes the problem in my case.
Also, while looking into this issue, I noticed that the osgDB::InputStream class applies the serialized image allocation mode. However, since the serializer is allocating the image data itself, it seems like it should force the allocation mode to USE_NEW_DELETE.
"
2013-11-21 13:59:00 +00:00
Robert Osfield
1e2bead9bc
Converted std::max to osg::maximum to fix VS2013 build error
2013-11-21 11:02:08 +00:00
Robert Osfield
a54b999ccc
Added Geometry::drawVertexArraysomplemetation(..) and drawPrimitivesImplemenation(..) methods that are called from drawImplementation(..). These new vertex methods
...
allow subclasses from osg::Geometry to specialize the vertex array setup or how the primitives are dispatched to OpenGL.
2013-11-21 10:31:34 +00:00
Robert Osfield
dbf88cc209
From Stephan Huber, "minor ios-fixes/-enhancements
...
* force _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC for IOS device + simulator as the test does not pick the right implementation
* fixed a small compile-bug for iphone-example
* added a check to prevent multiple realization of a GraphicsWindowIOS-object
"
2013-11-18 14:21:06 +00:00
Robert Osfield
d8c1c4bbeb
From Stephan Huber, compile fix for OpenGL ES on iOS.
2013-11-18 13:31:44 +00:00
Robert Osfield
e0d3ab4412
From Stephan Huber, * GUIEventAdapter: add support for getting normalized touch points
...
* MultiTouchTrackball: some code cleanup and support for normalized touch-points
* oscdevice: receiving and sending multi-touch-events via the Cursor2D-profile from TUIO
* added some documentation
2013-11-18 13:25:55 +00:00
Robert Osfield
d7442e7456
Added panning and zooming functionality to transfer function UI prototype code.
2013-11-18 12:46:00 +00:00
Robert Osfield
80c45ad46a
Added BoundingBox::contains(const vec_type& v, value_type epsilon) method with new epsilon parameter to make it easier to test for containment in the presence of numerical errors
2013-11-18 12:45:04 +00:00
Robert Osfield
c194e92df8
Moved Handled propety from GUIEventAdapter to Event base class.
...
Added CameraManipulator::finishAnimation() method to allow application code to stop any animation/throw of manipulators.
2013-11-15 16:15:09 +00:00
Robert Osfield
835d9455a9
Restored the rescaleToZeroToOneRange() to address rendering issues.
2013-11-12 14:21:00 +00:00
Robert Osfield
eede49d15c
Removed unused variables
2013-11-11 10:55:51 +00:00
Robert Osfield
829cd9718a
From Stepan Huber, "attached are my changes for the osc, zeroconf and resthttp-plugin to use the new event-class. I refactored the osgoscdevice-example so that it’s working again. "
2013-11-08 12:28:51 +00:00
Robert Osfield
1a90789402
Added support for assinging and display transfer functions
2013-11-08 12:26:14 +00:00
Robert Osfield
25b8b8bd16
Quietened down debug messages
2013-11-08 12:25:35 +00:00
Robert Osfield
70c78264dc
Changed the LineSegmentIntersector to RayIntersector to provide more reliable intersections with flat meshes.
2013-11-07 12:37:10 +00:00
Robert Osfield
7a2900e238
Added osgUtil::Intersector::PrecisionHint member and set it's default to USE_DOUBLE_COMPUTATIONS, and implemented support for use double or float maths internally in LineSegmentIntersector and RayIntersector classes
2013-11-07 12:35:34 +00:00
Robert Osfield
fef39b6215
Re-enabled the disable of the transfer function
2013-11-06 09:50:16 +00:00
Robert Osfield
2ebe81cb0e
Fixed handling of web cams
2013-11-06 09:49:51 +00:00
Robert Osfield
6f6c44446c
Introduced a cast(T) method into the ImageUtils template functor to allow code reading images to handle casting from source data to a form that a user can use more conviently
2013-11-06 09:23:21 +00:00
Robert Osfield
ef3a65b93f
Restructed the call to avformat_open_input to provide more information.
2013-11-06 09:20:35 +00:00
Robert Osfield
2b3665f010
Fixed typo
2013-11-05 15:23:32 +00:00
Robert Osfield
ffb0a8e545
From Stephan Huber, "Build Problem with osgGA at MacOS with Xcode 5"..."attached you'll find a possible solution for the issue. This will add a new option to cmake called OSG_CXX_LANGUAGE_STANDARD which defaults to C++11. If you set it to C++98 it will setup the project accordingly."
2013-11-01 14:40:50 +00:00
Robert Osfield
a10e9c6950
Added initial shell of new osgtransferfunction example that will be tested bed for upcomming transfer function editing UI.
2013-10-28 17:46:07 +00:00
Robert Osfield
ff8fe4143e
From Likasz Izebski, "added support for etc2/eac compression"
2013-10-28 12:03:55 +00:00
Robert Osfield
ac383e15c1
Added explict setting of the PolygonMode to over the distion mesh being toggled to wireframe.
2013-10-25 15:47:41 +00:00
Robert Osfield
4a660f6266
Introduce new osgGA::Event and osgGA::EventHandler base classes that the old GUIEventAdapter and GUIEventHandler now subclass from.
...
The new osgGA::Event is written to support more generic events than the original GUIEventAdapter which are written for keyboard and mouse events.
2013-10-25 14:54:15 +00:00
Robert Osfield
2025c511f0
Remoed -fpermissive
2013-10-25 14:46:37 +00:00
Robert Osfield
191eabd3ab
Fixed warning
2013-10-25 09:02:39 +00:00
Robert Osfield
2a9ed125b8
Fixed warning
2013-10-24 20:22:13 +00:00
Robert Osfield
b3603f76e4
Removed depreated glib call
2013-10-24 19:56:04 +00:00
Robert Osfield
95e8d2838c
Fixed FileInfo self intialization bug
2013-10-24 19:32:00 +00:00
Robert Osfield
1861e025e9
Fixed build problems with the OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off
2013-10-24 17:43:02 +00:00
Robert Osfield
ded27b4971
From Stephan Huber, "attached you’ll find a small enhancement for present3d. Now you can get advanced help via —help-all etc (similar to osgviewer)"
2013-10-24 12:15:37 +00:00
Robert Osfield
37fa2d698f
From Stephan Huber, add support for controlling the OSXMenubarBehavior set by DisplaySettings.
2013-10-24 10:10:16 +00:00
Robert Osfield
234adf7daf
Cleaned up addChild/getChild/setChild/getNumChildren methods and added readNodeFile, readImageFile and readObjectFile functions
2013-10-24 09:06:52 +00:00
Robert Osfield
f548bc79d4
Added support for Group::addChild/setChild/getChild/getNumChildren.
2013-10-23 16:17:26 +00:00