[osg-users] Changes in osgVolume from 3.0 to 3.4

Alex Taylor alextaylor at gmail.com
Thu Jan 28 07:25:39 PST 2016


Hi,

I'm working on upgrading the OSG version used in the product I work on.
When OSG is upgraded with the same client code, I'm noticing differences is
the way my volumes are rendered with all of the rendering algorithms that I
can't explain. I've fixed the parameters I'm using to define the osgVolume
in both versions, so it can't be a matter of picking up a different default
option for a parameter.

*OSG 3.4 Fixed Function*
[image: osg34RayTraced.jpg]
*OSG 3.0 Fixed Function*

*[image: osg30FixedFunction.jpg]*

*OSG 3.4 Ray Traced Lit*


*[image: osg34RayTracedLit.jpg]*
*OSG 3.0 Ray Traced Lit*


*[image: osg30RayTracedLit.jpg]*

*OSG 3.4 Isosurface*

*[image: osg34Isosurface.jpg]*
*OSG 3.0 Isosurface*

*[image: osg30Isosurface.jpg]*

In the Ray Traced cases, I'm using the properties:

AlphaFunc = 0.02;
SampleDensity = 0.005;

I'm using setting the TransferFunctionProperty, so I'm using the shaders to
do the alpha/color mapping.

For the FixedFunctionTechnique, I'm using AlphaFunc = 0.02, and using
the applyTransferFunction function to obtain an RGBA mapped osg::Image
buffer.

It's very possible that the upgrade to 3.4 has changed something else in my
overall use of OSG elsewhere in the pipeline, unrelated to osgVolume, that
is causing this issue. That said, I thought i'd ask if visually anyone has
a guess it what might have changed between osg 3.0 and osg 3.4 that might
explain these visual differences.

Thanks for your help,

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160128/268f1cab/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osg34RayTraced.jpg
Type: image/jpeg
Size: 65527 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160128/268f1cab/attachment-0012.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osg30FixedFunction.jpg
Type: image/jpeg
Size: 64837 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160128/268f1cab/attachment-0013.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osg34RayTracedLit.jpg
Type: image/jpeg
Size: 142434 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160128/268f1cab/attachment-0014.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osg30RayTracedLit.jpg
Type: image/jpeg
Size: 99825 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160128/268f1cab/attachment-0015.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osg34Isosurface.jpg
Type: image/jpeg
Size: 65801 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160128/268f1cab/attachment-0016.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osg30Isosurface.jpg
Type: image/jpeg
Size: 76932 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160128/268f1cab/attachment-0017.jpg>


More information about the osg-users mailing list