Hi Clement,

On 17 February 2012 01:53,  <[email protected]> wrote:
>   I am using MFC to display osg volume data.  If the sample data is 30 * 30 * 
> 20 voxel, it is quite smooth on rotating the image on viewer.  If the sample 
> data is 350 * 350 * 60 voxel, I can't rotate the image as smooth as before.  
> If I used higher voxel data, the rotation become very hard.  I would like to 
> know if there is any way to improve the performance.  Thanks.

With higher res data you have to take more samples to accurately
represent the data so it takes much more work on the GPU to do it -
volume rendering is the most intensive type of rendering that graphics
card do so I'm afraid low framerate is the norm.  osgVolume allows you
to alter the sample density so you can trade visual quality for speed
via the SampleDensityProperty.  Press 'd' and move the mouse up and
down to alter the sample density.  You can also use a
SampleDensityWhenMovingProperty to tell osgVolume to use a different
sample density when moving.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to