Hi all, I'm trying to draw a geometry using two different materials. While a plane intersects the geometry into two halves, the materials should be applied to these two half geometries. As I don't want to duplicate my geometry, I tried to solve this with a MultiPassMaterial. So I defined two materials with two ClipPlaneChunks having different plane definitions and added them to the MultiPassMaterial.
Although the geometry is rendered twice using both material's color information, only the second clip plane definition is used for both rendering passes. Might this be a bug or did I hit any OpenGL specific limitation? It's unclear to me how MultiPassMaterial works exactly. I'm using OpenSG 1.8... Thanks and regards, Thomas ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
