[osg-users] How to realize volume rendering for medical use
Robert Osfield
robert.osfield at gmail.com
Thu Jan 9 01:47:16 PST 2020
I don't have time to look at your application right now, so have to provide
some high level comments.
The osgVolume NodeKit was written for volume rendering, and the effect you
are looking for will be achievable with the right settings.
First up the blending of the volume texels is done based on the alpha
value, in your transfer function you have an alpha of 0.0 or 0.6, I'd
recommend that you try a gradient to see what results you get.
The OSG's tf plugin provides a native transfer function ascii file format
that can help you set up and experiment with different transfer functions.
the file format is in the form:
# comment
intensity r g b a
intensity r g b a
intensity r g b a
You can pass in transfer functions to the osgvolume example via --tf
myfile.tf
--
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/89a298d1-a5d0-4fde-a031-ef991542846d%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200109/e6f808b9/attachment.html>
More information about the osg-users
mailing list