[osg-users] Re: How to realize volume rendering for medical use

2020-01-09 Thread Robert Osfield
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+unsubscr...@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.


[osg-users] Re: How to realize volume rendering for medical use

2019-12-24 Thread Robert Osfield
Hi Yuhui,

On Sunday, 22 December 2019 08:40:00 UTC, Yuhui Ren wrote:
>
> I have a 3D medical application developed by OSG. I want to realize volume 
> rendering of CT/MRI dataset. Refer to the figure below.  I can set 
> different effects of rendering. I have browse the osgVolume. I find that 
> the transfer functions are too few to realize the effect I want. So what 
> I’m asking really if anybody has any advice. It would be really 
> appreciated, thanks!
>

I don't know what you are looking for so can't provide any specific 
advice.  

What do you mean by "the transfer functions are too few"?  

What effect do you want?
 
Cheers,
Robert.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/7862df1e-a947-421a-aac3-76ede9a7ec60%40googlegroups.com.