00:30.34 |
starseeker |
gets back and prepares for
round two |
04:57.39 |
abhi2011 |
hmm, so I am trying to figure out how to
calculate the amount of force to be applied while simulating their
fall from a height. |
04:57.50 |
abhi2011 |
here is the plan at the moment :
https://docs.google.com/drawings/d/1Fp44t9AcZZurbNufXti64u-23CRjC49Z3r0WSmim5tU/edit?hl=en_GB |
04:58.07 |
abhi2011 |
so I plan to shoot rays in the overlap
region |
04:58.39 |
abhi2011 |
and apply forces along the normals |
04:59.21 |
abhi2011 |
so for the box in the above figure, all the
forces acting on it along the x-axis will cancel each other
out |
04:59.39 |
abhi2011 |
and only the Z force will remain , pushing it
up, |
05:00.25 |
abhi2011 |
this would be the case in the real world, with
the reaction from the collision acting on the box to make it bounce
on the GP(ground plane) |
05:02.31 |
abhi2011 |
however if I start summing the
normals(encountered while shooting rays) for the box I end up with
something like 4.9999 , 3.9999, 6.00002 |
05:02.57 |
abhi2011 |
which is not pointing along +ve z as one would
expect |
05:03.47 |
abhi2011 |
So I will probably, ignore a direction which I
have encountered before |
05:12.19 |
abhi2011 |
that will I will need to store normals and
check every new normal generated , with the previous ones |
05:47.37 |
abhi2011 |
instead of investigating the surface of a
primitive using rays and shooting rays in a direction opposite to
surface normals, I can also apply forces in a direction opposite to
the velocity, but that will probably not work in all
cases |
06:28.42 |
CIA-48 |
BRL-CAD: 03abhi2011 * r47323
10/brlcad/trunk/src/libged/simulate/ (6 files): Formatting
corrections |
06:46.01 |
*** join/#brlcad sashha
(~saschi@77-22-42-58-dynip.superkabel.de) |
06:46.06 |
sashha |
hello |
09:57.20 |
*** join/#brlcad abhi2011
(~chatzilla@ip170-79-211-87.adsl2.static.versatel.nl) |
11:01.04 |
*** join/#brlcad jordisayol
(~jordisayo@unaffiliated/jordisayol) |
12:44.34 |
*** join/#brlcad abhi2011
(~chatzilla@ip170-79-211-87.adsl2.static.versatel.nl) |
13:32.40 |
*** join/#brlcad abhi2011
(~chatzilla@ip170-79-211-87.adsl2.static.versatel.nl) |
15:09.42 |
*** join/#brlcad n_reed
(~molto_cre@BZ.BZFLAG.BZ) |
16:50.27 |
*** join/#brlcad ibot
(~ibot@rikers.org) |
16:50.27 |
*** topic/#brlcad is BRL-CAD
Open Source Solid Modeling || http://brlcad.org || http://sf.net/projects/brlcad
|| #brlcad logs: http://ibot.rikers.org/%23brlcad/
|| BRL-CAD release 7.20.2 is posted (20110701) || BRL-CAD is
participating in the ESA Summer of Code in Space! |
18:11.39 |
*** join/#brlcad ibot
(~ibot@rikers.org) |
18:11.39 |
*** topic/#brlcad is BRL-CAD
Open Source Solid Modeling || http://brlcad.org || http://sf.net/projects/brlcad
|| #brlcad logs: http://ibot.rikers.org/%23brlcad/
|| BRL-CAD release 7.20.2 is posted (20110701) || BRL-CAD is
participating in the ESA Summer of Code in Space! |
18:22.01 |
brlcad |
hellos sashha |
19:01.41 |
*** join/#brlcad abhi2011
(~chatzilla@ip170-79-211-87.adsl2.static.versatel.nl) |
19:03.35 |
brlcad |
abhi2011: no // c++-style comments in .c file
... |
19:03.52 |
brlcad |
breaks the compilation for others |
19:15.16 |
abhi2011 |
oh shoot, I forgot to check that again, sorry
about that |
20:20.53 |
CIA-48 |
BRL-CAD: 03n_reed * r47324
10/brlcad/trunk/src/other/step/src/express/resolve.c: remove dead
code |
20:37.24 |
*** join/#brlcad DarkCalf
(DC@2002:ade7:2862::ade7:2862) |