Hello again.
After having passed an exam and done the code creating the polygon to
be rendered I'm trying to fit it all into the volume renderer.
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.
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?
Regarding the question of speed, a dataset of ~50MB split into 16
frames, 640x480, renders at about 25-30 fps according to the statistics
foreground.
/Allan
-------------------------------------------------------
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