Hello, I have to make parts of a scenegraph transparent and use this code:
MakeTransparentGraphOp *op = new MakeTransparentGraphOp; std::ostringstream str; str << "transparency=" << alpha; op->setParams ( str.str().c_str() ); op->traverse ( root ); delete op; But this results always in semi-transparent objects with an alpha-value of 0.5f. I tested this code with alpha-values form 1 to 0, but i get always the same output. Has somebody an idea? Thanks (I use the OpenSG1.6-release) Thomas _________________________________________________________________ Sagen Sie "Ja" zu einer gefahrlosen Übermittlung von Nachrichten! http://www.communicationevolved.com/de-at/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
