Hello Jie Liu,

Jie Liu wrote:
> The only problem is that the sample rate seems very low by default, so 
> the shape of objects is not smooth.
> How can I increase the sample rate? I do not find the function through 
> the manual.

you can change that with DVRVolume::sampling()
In the example/test testSimpleVolumeNodeRenderer you can change the 
sampling with the a/z keys (the program needs to be run from the 
directory Source/System/NodeCores/Drawables/VolRen so that it can find 
the volume data 00_data64x64x64.{dat,raw} or with one of the parameters 
RGB, RGBA, LA, L to generate data on the fly).

> BTW, is the DVR in OpenSG a CPU-based algorithm or GPU-based ray casting 
> algorithm?

it is CPU based; it was developed at about the time assembler shaders 
just became available.

        Cheers,
                Carsten

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to