Hello Simon, use a multipassmaterial, with two materials as submaterials. The first one is the regular shader material, the second one is a copy of the first one with an additional polygon chunk.
Best regards Matthias On Wednesday 07 February 2007 15:13, Simon Haegler wrote: > osghello > > how do i render objects with wireframes on top of the shaded > polygons? i tried to add two polygonchunks to my material, one with > GL_FILL, the other with GL_LINE... this does not work, the last chunk > added always determines the rendering, how can i combine these two > chunks? do i need a multipass material? or do i need two make two > passes in my draw method, with material switching in between? > > any hack is appreciated! you know, eurographics is on our > doorsteps... > > cheers, > simon > > --------------------------------------------------------------------- >---- Using Tomcat but need to do more? Need to support web services, > security? Get stuff done quickly with pre-integrated technology to > make your job easier. Download IBM WebSphere Application Server > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121 >642 _______________________________________________ > Opensg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users -- +---------------------+----------------------------+ | VREC GmbH | | | Matthias Stiller | | | Robert-Bosch-Str. 7 | tel: +49 6151 4921034 | | 64293 Darmstadt | web: http://www.vrec.de | | Germany | mail: [EMAIL PROTECTED] | +---------------------+----------------------------+ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
