Dear All!
I have a simple scene with a single geometry and material loaded from a VRML
file
with the SceneFileHandler class.
I want to chnage the transparency of the object with the
MakeTransparentGraphOp class, but unfortunatly it doesn't work
properly for transparency values > 0 and < 1.
(This issue has been discussed before Vol 6, Issue 47 Msg:2, without a
solution).
I use OpenSG 1.8.
MakeTransparentGraphOp *op = new MakeTransparentGraphOp();
float alpha = 0.5;
std::ostringstream str;
str << "transparency=" << alpha;
op->setParams ( str.str() );
graphOperator->addGraphOp(op);
Could anyone give some hints, how to solve this problem and how to
change the sorting sequnce within a single node to get rid if the
artefacts.
Thanks!
Robert
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users