Hello Michael, On 01/11/2011 01:49 PM, Michael Raab wrote: > Ok seems to work for simple ChunkMaterials. There's a further problem > when using MultipassMaterials for selection highlighting. Imagine we > have a default ChunkMaterial with ColorMaterial set to GL_DIFFUSE in > first place and a selection material (ChunkMaterial) with MaterialChunk, > PolygonChunk and LineChunk for line highlighting in second place. > Usual edges become blue using the "Selection Material", but with vertex > colors, edges get colored with vertex colors. > Any idea what may cause this?
hmm, colorMaterial == GL_DIFFUSE is actually the default, if you don't want to use the vertex colors, call setColorMaterial(GL_NONE). Cheers, Carsten ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users