home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / graphics / animatio / 928 < prev    next >
Encoding:
Internet Message Format  |  1992-11-06  |  2.0 KB

  1. Xref: sparky comp.graphics.animation:928 comp.graphics:11545
  2. Newsgroups: comp.graphics.animation,comp.graphics
  3. Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!uwm.edu!daffy!uwvax!cs.wisc.edu!seitz
  4. From: seitz@cs.wisc.edu (Steve Seitz)
  5. Subject: Re: Modeling a Rubber Band
  6. Message-ID: <1992Nov5.223602.14853@cs.wisc.edu>
  7. Sender: news@cs.wisc.edu (The News)
  8. Organization: U of Wisconsin CS Dept
  9. References: <1d6amuINNbth@oak10.doc.ic.ac.uk> <1992Nov3.175657.149@cs.wisc.edu> <1992Nov4.203438.8572@cognos.com>
  10. Date: Thu, 5 Nov 1992 22:36:02 GMT
  11. Lines: 32
  12.  
  13. In article <1992Nov4.203438.8572@cognos.com>, faraghec@cognos.com (Chad Faragher) writes:
  14.  
  15. |> What I really would like to do now (maybe you know how) is to simulate 
  16. |> instead of elastic springs, solid bars of fixed length.  The hinges between
  17. |> two bars would be elastic and have a rest angle.  I found this very difficult.
  18. |> You have to be careful with collisions and angular momentum.  If you know
  19. |> of any physics simulations that use this modelling technique, I would be
  20. |> interested in seeing them
  21. |>  
  22. |> Chad Faragher -- faraghec@cognos.com
  23.  
  24. I see three problems that you must deal with (here are some suggestions):
  25. I'm assuming you use rigid-body dynamics to model the bars. . .
  26.     
  27.     1.  Maintaining contact:  you must make sure that the bars don't separate.
  28.         Fortunately, this problem has some good solutions.  For the easiest,
  29.         see "A Modeling System Based on Dynamic Constraints" by Barzel & Barr,
  30.         SIGGRAPH `88.  I have implemented their approach myself and I know a 
  31.         trick (a hack) to speed it up dramatically, if you're interested.
  32.  
  33.     2.  Hinges:  express your spring in terms of the relative orientations of
  34.         adjacent bars (as opposed to positions).  Probably the simplest method
  35.         is just to replace x with theta.
  36.  
  37.     3.  Collisions:  Ugh.  Hopefully you can do better than n^2, but I don't
  38.         know how.  Maybe you can add up all the joint angles to see if there's
  39.         a loop?
  40.  
  41. Good luck!
  42.  
  43. -Steve Seitz
  44. seitz@cs.wisc.edu
  45.