yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00376
Re: QGL cutting plane
-
To:
yade-dev@xxxxxxxxxxxxxxxx
-
From:
Janek Kozicki <janek_listy@xxxxx>
-
Date:
Wed, 2 Apr 2008 20:20:46 +0200
-
Delivered-to:
janek_listy@xxxxx (janek_listy)
-
Delivered-to:
yade-dev@xxxxxxxxxxxxxxxx
-
Face:
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEUBAQEtLS1KSkpRUVFXV1dYWFhjY2Nzc3N3d3eHh4eKioqdnZ24uLjLy8vc3NxVIagyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AIVEzgS1fgQtQAAAjRJREFUOMtt1DFv00AUAOAzFQNbjigSyoQaRaBMhKgLUyKXpVNNeUpk9vyDqFJhQ1kiBuaqAwJCqvPtSLY7RlTn5+5IdnYkkt/AOyfxXVLe5vf53Z1875kd34tOEax8djmj6GyjhB5bxz50GdsVZr9fqRjZwAtKOJw5Wqs2MMZ16ALHsaDncF7xAHix1oEFHAB8f+pRjcO4gfZDykcYzbiucRolOLUJ6kjA0xtVt+A6TySlM0RajIpK6DzwKZ/nOYbF/gclHMo1ZOHYY/+Ha+AWuM+3oMS4eeqYzZ8FiCltgUqI8cd2wwAVpJk+8LWYjBtnJdQpHQqJMd4Oxt4bU9ESiFGc5hkqaH74asAX4iabP5I5gZ+qjgGlJCqZa3h3lxhoeVcSE1qLQC4sqKOK9MGW9E3izFqqHokoztLFEgXg31sbZEKnWi2T74A4NxfVQqlkjKtcAWD+zcArFEES01dR0E/nnV0IgugmDd/2L84sOAouRBBHEc7gtc8teDkRlE0iNQPo2w3Xhh/D4TCIQ4LRLoTvgwjj6RRgavdurxYGMaIuGOyAW/PpNlCcU9/93AHenAWYjPoAwa+G3e3to/MgFNTAEKvKDjzuCzHTnY3qqdXtx24VijzQfZ0yewZ5cwRFQaa+mIYr1uI0I76+3W4xhlvoVRwOA0Fdl64HlJnxP6T8YpX/Lga4Wv4A3ErrU5oTfN7Mu/llXMl8RXEPji/lQkN3H7qXqgC2By47EXeU/7PJ/wPxRKMnuZwIeAAAAABJRU5ErkJggg==
-
In-reply-to:
<47F3C0F2.5000505@arcig.cz>
-
Reply-to:
Yade Development Group <yade-dev@xxxxxxxxxxxxxxxx>
-
Sender:
yade-dev-bounces@xxxxxxxxxxxxxxxx
Václav S(milauer said: (by the date of Wed, 02 Apr 2008 19:22:58 +0200)
> If would be far easier to bind a hotkey in the view itself to that, just
> like 'a' toggles axes and 'g' toggles grid. Like 'c' to toggle on/off
> and +- or something like that to cut further or closer.
yes, that could be easy to implement. BTW current list of bindings is here:
http://yade.wikia.com/wiki/Usage_details#QGLViewer_window
> A more proper solution would be to render only bodies of which
> se3.position is on a given side of the cutting plane (easy (?), modify
> the GL dispatcher) and not render those that are not. That would have
> the benefit of not seeing interior of spheres that are cut by the plane.
not exactly. We would need to not draw spheres that have
se3.position+radius*plane.normal before the cutting plane :)
A bit more difficult, and a bit better.
--
Janek Kozicki |
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev
Follow ups
References