Hi!
I have a VRML model with a transparent texture, but when I load it 
into my application, the transparent pixels are completely black... is 
there any operation that I must do to load it correctly?

This is my code:

        GraphOpSeq *seq = new GraphOpSeq;
        seq->addGraphOp(new MaterialMergeGraphOp());
        seq->addGraphOp(new PruneGraphOp());
        seq->addGraphOp(new StripeGraphOp());
        seq->addGraphOp(new SharePtrGraphOp());
        SplitGraphOp* go = new SplitGraphOp();
        go->setMaxPolygons(3000);
        seq->addGraphOp(go);

        node = SceneFileHandler::the().read(filename, seq);

Thank you very much!
Christian


Naviga e telefona senza limiti con Tiscali     
Scopri le promozioni Tiscali adsl: navighi e telefoni senza canone Telecom

http://abbonati.tiscali.it/adsl/


-------------------------------------------------------------------------
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

Reply via email to