Hi Mike,

On Sat, 2005-04-16 at 17:05 -0700, mike penick wrote:
> We are having trouble with rendering order especially with translucent 
> objects. 
> 
> Examples: 
> 1) We have tree models where the trunk renders in front of the leaves.
> 2) Our fire particle systems renders behind our trees instead of
> blending on top of them.
> 
> How do we make thing render in a specific order? Is this even possible?

By default transparent objects are rendered last and back to front. The
operative word here is objects, i.e. if all your leaves are one big
objects, the sorter might decide that they are behind the trunk.

You can manipulate it manually by setting the sortKey of the Material
used to something bigger than 0. The bigger, the later it's rendered.

Hope it helps

        Dirk

-- 
-- Dirk Reiners               OpenSG Forum             [EMAIL PROTECTED] 
-- The OpenSG Open Source Scenegraph:            http://www.opensg.org
-- Join the list at    http://lists.sf.net/lists/listinfo/opensg-users



-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to