Please, try this script. The color is the same, but facets have no shadows _____
from yade import utils o=Omega() kw_facets={'frictionAngle':0.3,'young':37e9,'wire':False,'dynamic':False,'highlight':False} q1 = Quaternion(Vector3(0,0,1),0) o1,o_angl = q1.ToAxisAngle() id=o.bodies.append(utils.facetBox((0,0,0),(1,1,1),(o1[2],o1[0],o1[1],o_angl),exampleNumber=10,color=(1,1,0.1),**kw_facets)) o.bodies.append(utils.box(center=[0,2,0],orientation=[o1[2], o1[0], o1[1], o_angl],extents=[1,1,1],color=[1,1,0.1])) from yade import qt qt.View() 2009/8/26 Václav Šmilauer <eudo...@arcig.cz> > > > Is it difficult to make "normal" highlight (like BOXes do), and > > "chameleon" make like an option? > > There is no special box highlight... The only highlight it the > "chameleon" one, the rest is picking brighter color for that body in > question. > > > > > _______________________________________________ > Mailing list: > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > Post to : yade-dev@lists.launchpad.net > Unsubscribe : > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp