Hello Dirk,

Sorry for coming back with this, but I really can't find why the transparency
isn't working with the BlendChunk.

Here's my previous message about this.

> I used
>     blendChunk->setAlphaSrcFactor( GL_SRC_ALPHA );
>     blendChunk->setAlphaDestFactor( GL_ONE_MINUS_SRC_ALPHA );
> which is the way I normally do transparency... I also added
> glEnable(GL_BLEND);
> in initGLState(). It doesn't seem to work.
>
> Is there anything else I need to do for transparency to work properly?

And basically that's it. I've got a ChunkMaterial with at least two chunks: a
BlendChunk with the above settings, and a MaterialChunk on which I decrease the
diffuse alpha gradually. What happens is -- nothing. There seems to be no
effect.

Is there anything you can think of that would prevent this from working? It
seems simple enough... And I'm playing with the alpha of some other objects in
my scene and they work fine.

Thanks,

J-S
--
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                         http://whitestar02.webhop.org


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to