Hi,
I'm trying to have colors per vertex using transparent colors, I did manage to set correctly the colors in the colorset while searching in the mailing-list :

/*
push_back on the Property works with the generic type. To use the
specific type you need to go to the field:

colors->getFieldPtr()->push_back(Color4f(x/l, y/l, z/l, 1));

Hope it helps

Dirk
*/

However, my geooetry doesn't come up transparent at all. While looking through the scene graph with help of the Qt interface I can see that my geometry NodeCore was given a SimpleMaterial with transparency set to 0.0 . What is the best way to give a hint OpenSG that a per vertex color geometry is transparent ?

regards,
Mathieu


-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to