Re: [Yade-dev] Facet Highlight

2009-08-26 Thread Anton Gladky
Is it difficult to make normal highlight (like BOXes do), and chameleon make like an option? What files should I inspect for that? Thank you 2009/8/13 Václav Šmilauer eudo...@arcig.cz It works very interesting, Facets change their color all the time :) Well, the point of highlighting is

Re: [Yade-dev] Facet Highlight

2009-08-26 Thread Václav Šmilauer
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

Re: [Yade-dev] Facet Highlight

2009-08-26 Thread Václav Šmilauer
ok, I get your point. That is caused by the way openGL rendering code is written; somehow boxes have glossy surface and facets don't. I am in no way familiar with opengl, it is mostly code Olivier has written in the prehistoric (= pre-python) period. If you know something about opengl, go for it,

Re: [Yade-dev] Facet Highlight

2009-08-26 Thread Václav Šmilauer
In another words: box's color depends on its relative orientation to the light source, with facets, the color is always the same regardless of orientation WRT the light source. It makes facet's surfaces much less 3d actually. ___ Mailing list:

Re: [Yade-dev] Facet Highlight

2009-08-26 Thread Anton Gladky
Ok, thanks for information. It is interesting, and I will try to find out how it was made. Actually, what is the difference between Blueprints and Bugs? Blueprints are proposals? So, maybe it is a blueprint? 2009/8/26 Václav Šmilauer eudo...@arcig.cz In another words: box's color depends on

Re: [Yade-dev] Facet Highlight

2009-08-26 Thread Anton Gladky
https://blueprints.launchpad.net/yade/+spec/facets-shadow 2009/8/26 Václav Šmilauer eudo...@arcig.cz Actually, what is the difference between Blueprints and Bugs? Blueprints are proposals? So, maybe it is a blueprint? Oh yes, that's right. (I would use bugs for small things, but this is

Re: [Yade-dev] Facet Highlight

2009-08-26 Thread Václav Šmilauer
Actually, what is the difference between Blueprints and Bugs? Blueprints are proposals? So, maybe it is a blueprint? Oh yes, that's right. (I would use bugs for small things, but this is definitely a bigger one.) ___ Mailing list:

Re: [Yade-dev] Facet Highlight

2009-08-13 Thread Anton Gladky
It works very interesting, Facets change their color all the time :) Like chameleon __ [ENG] Best Regards [GER] Mit freundlichen Grüßen [RUS] С наилучшими пожеланиями [UKR] З найкращими побажаннями Anton Gladkyy 2009/8/12 Václav Šmilauer eudo...@arcig.cz I have

Re: [Yade-dev] Facet Highlight

2009-08-13 Thread Václav Šmilauer
It works very interesting, Facets change their color all the time :) Well, the point of highlighting is to make a body visible among bunch of other bodies. ___ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net

Re: [Yade-dev] Facet Highlight

2009-08-12 Thread Anton Gladky
I have tried this, but it does not highlight facets. Please, check the attached script. __ [ENG] Best Regards [GER] Mit freundlichen Grüßen [RUS] С наилучшими пожеланиями [UKR] З найкращими побажаннями Anton Gladkyy 2009/8/11 Václav Šmilauer eudo...@arcig.cz Is

Re: [Yade-dev] Facet Highlight

2009-08-12 Thread Václav Šmilauer
I have tried this, but it does not highlight facets. Please, check the attached script. Eh, you are passing highlight to utils.facet... that is something different from what I said. I added that parameter in r1939 though so it works now as you expect. The trick is that the **kw params are

Re: [Yade-dev] Facet Highlight

2009-08-11 Thread Václav Šmilauer
Is it possible to highlight facets like boxes do? Yes, but the facet must not be drawn as wire. If #3 is facet, do something like this: bs=O.bodies[3].shape shape['wire']=False shape['highlight']=True (translated straightforwardly to c++) Note that if you define onBodySelected function in