Hi Mathieu,

On Thu, 2005-03-24 at 17:01 +0100, Mathieu MARACHE wrote:
> 
> 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 ?

To get transparency to do anything there needs to be an active
BlendChunk. The SimpleMaterial creates one for you, but only if the
transparency is not 0. 

So the best way to do this to either use a ChunkMaterial and explicitly
add the BlendChunk, or just set the Material's transparency to an
arbitrary value != 0, the geometry will override it.

Hope it helps

        Dirk

-- 
-- Dirk Reiners               OpenSG Forum             [EMAIL PROTECTED] 
-- The OpenSG Open Source Scenegraph:            http://www.opensg.org
-- Announcements:   http://lists.sf.net/lists/listinfo/opensg-announce



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