Hi Jie Liu,

Jie Liu wrote:
> Hi,
> 
> I read the OpenSG Docs within the v1.8.0 distribution these days, and
> conclude that OpenSG is effective for rendering complex 3D scenes;

Correct.

> But what if I want to write volume rendering program? Volume rendering might
> involve Cg shaders, or can not be organized in a regular scene...

Not sure what you mean here. You can use shaders inside OpenSG, as well as 
volumes. We have support for Volume Rendering in OpenSG (in 1.8 two different 
versions), and they play reasonably well with the rest of the system.

> Can I control my rendering processes? Or, In other words, can I customize
> the rendering action for a special data set?

Sure. The way to do that is to write  anew NodeCore, to do your private 
rendering with OpenGL.

> To greater extent, what if I want to write customized OpenGL programs? How
> can I achieve this goal?

Basic OpenGL rendering can be done in a new NodeCore (or a DrawFunctorCore from 
Contrib, if need be).

If you want to do current state-of-the-art volume rendering using FBO-rendered 
front and back faces and shader-based volume stepping that's a little more 
complicated, as OpenSG needs to have control over the steps involved in drawing 
the scene and you cannot directly interject your own code.

For that I would recommend using OpenSG 2, as the multi-stage rendering parts 
are much better defined than in 1.8 (where essentially all you have is the 
FBOViewport).

What exactly are you trying to do?

Yours

        Dirk



------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to