Matthias Stiller wrote: > Hello Simon, > > On Wednesday 07 February 2007 17:14, Simon Haegler wrote: > >>> 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. >>> >> thanks for all the answers. MultiPassMaterial works great. >> >> related question: how do i disable one of the added materials to >> toggle the wireframe? >> >> cheers, >> simon >> > > todays solution would be to remove the material in question from the > multipass material or to put a SwitchMaterial above like this and > change the choice field of the SwitchMaterial: > > SwitchMaterial > - MultipassMaterial > - ShadedMaterial > - WireframeMaterial > - ShadedMaterial > > Tomorrow's solution would be to add this functionality and submit it ;-) Yup. The Multipassmaterial/switchmaterial could be unified. (Just as you'd might want a bitmask on SwitchGroup.)
/Marcus ------------------------------------------------------------------------- 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
