yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #01975
Re: New particle shape
-
To:
yade-users@xxxxxxxxxxxxxxxxxxx
-
From:
Janek Kozicki <janek_listy@xxxxx>
-
Date:
Fri, 20 Nov 2009 16:32:31 +0100
-
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:
<BLU147-W14295B9D41306B84FA101BD7A10@phx.gbl>
boon chiaweng said: (by the date of Fri, 20 Nov 2009 22:00:20 +0800)
>
> There should be advantages in polygonizing an arbitrary equation. While looking for solutions for graphics, there are weird shapes that can be drawn using implicit equations.. I can't recall what shapes but they were recommending the "marching cube" algorithm.. In the OpenGl file for sphere, are the vertices and faces a general polygonization method for any equation? Or is it only for a sphere-type particle? I'm a novice in this.
don't go into this direction unless you are more interested in
computer graphics than in ellipsoid interactions. In fact we even
have marching cubes implemented somewhere, but in your case a simple
drawing of a sphere scaled in radiusX,radiusY,radiusZ will just work.
> How do I make sure that, with time, OpenGL's orientation on the user interface is same as the quaternion which is used in calculation?
It is the same variable. So it is equal to itself :)
--
Janek Kozicki |
Follow ups
References