Hi Manfred,
On Thu, 2005-02-10 at 07:40, Manfred Weiler wrote:
> That's an interesting problem. Maybe the best way to do this is to
> expose Brick as a OSGDrawable. So make it a smaller version of the
> DVRVolume and to built a small drawtree of these bricks for the volume.
> For the application programmer this could be transparent, since the
> DVRVolume could create this drawtree automatically. But with the
> right interfaces the user would also be able to specify it according
> to his needs. I see a good chance that the functionality of DVRVolume
> could be pushed down to the Brick without sacrificing any feature.
Ok, that's an interesting alternative I hadn't thought about. I'm not
sure if the Bricks are independent enough that they work be embedded in
the DrawTree right now, as there is no additional information passed to
the node in the DT. But that should be fixable.
I was more thinking along the lines of adding something like a DrawMask
to the Volume or an active flag to the Brick, to give the SortLast
manager an easy way to control things.
Another problem that I've been thinking about is handling large data
sets, something similar to ProxyGroups, but for Volumes. No conclusion
yet, though.
> A workaround which should work right now is to decompose the 3D data
> yourself and to build different volume nodes from this image.
> (osg::Image) has already some routines for doing that. Adjusting the
> different Volume nodes correctly should give seamless images in the
> output, for the sort last rendering should do a correct depth sorting
> based on the bounding boxes. Maybe there is some issue with the
> slicing planes which should be aligned in different volumes but
> this should be easy to fix. In order to make this work the sort last
> rendering would have to perform alpha compositing, which I am currently
> not sure, whether this is also implemented.
The software SortLast does it, not sure how to make Sepia do it.
Dirk
-------------------------------------------------------
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