Hi Allan,
> The overall goal of the application is to show a vol.rendering of an
> object which can be view inside by using a cut. Other 3d-textures will
> represent physical properties within the volume, e.g. fluid flow. This
> will be rendered by a fragment program when drawing the polygon of the
> plane cutting the volume.
Let me put this clear. You want an opaque plane through the volume
with volume properties mapped onto the plane and in addition to that
a second 3D-texture defining a different property which is volume rendered?
or combined with the first volume on the sliceplane using special pixel
shaders?
> My approach has been to inherit the OSGDRVolume to my own class and
> extend it with getDrawMode() and setDrawMode(UInt32). This allows for
> choosing between multiple rendering modes and will ease expansion.
>
> However, I cannot read the status of initialization since the variable
> shadingInitialized is private within OSGDVRVolume, so I'm stuck already.
> Is there a special reason for it not to be protected?
Honestly, we never thought about extending the volume node in such a way.
But wouldn't you need your own rendering routine anyway? So you could
easily use an own private variable "initialized".
But you should definitely be more specific about what you are trying
to achieve. Maybe there is a more elegant way than reimplement DVRVolume.
Manfred.
======================================================================
Manfred Weiler [EMAIL PROTECTED]
Visualisierung und Interaktive Systeme Telefon: 0711/7816-208
Universitaet Stuttgart, IfI FAX: 0711/7816-340
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users