Goldstein, Gregory A. wrote:
Are you sure the other program uses alpha-blend and not alpha-clip?
I would try alpha clipping if I knew how to do it. Is there a state
attribute for this?
Alpha clip, with a low clip threshold, can work even if you have partial transparency.
Alpha clip can be much higher performance for large numbers of transparent objects because
it does _not_ need the performance hit of the Transparent Bin z-sort. Z-sort can get heavy
with large numbers of items, and it is done once per frame.
I don't have the code in front of me to cite an Alpha Clip example, perhaps someone
else can from memory?
Thanks Chris.
- Greg
--
Chris 'Xenon' Hanson aka Eric Hammil | http://www.3DNature.com/ eric at logrus
"I set the wheels in motion, turn up all the machines, activate the programs,
and run behind the scenes. I set the clouds in motion, turn up light and
sound,
activate the window, and watch the world go 'round." -Prime Mover, Rush.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/