nally composed of 11 balls and 77 inequality con-
straints (figure 4).
6 CONCLUSION
In this paper, we presented a novel algorithm to man-
age simultaneous inequality constraints. Among all
the existing methods to handle constraints within a
physically-based animation, we focused on the La-
grange method which provides a reliable way to en-
sure that constraints are always exactly fulfilled. But,
in the special case of several active inequality con-
straints, we have to take care on how to handle these
simultaneous constraints. Platt proposed an algorithm
based on Lagrangemultipliers but we showed that this
method is unable to solve even simple examples. We
then explained how to improve this algorithm in or-
der to propose a new reliable and efficient method for
inequality constraints handling. Beyond the example
illustrated in figure 1, we produced a short movie sim-
ulating a billiard game. Some snapshots are gathered
in figure 4.
ACKNOWLEDGEMENTS
We would like to thank the Champagne-Ardenne re-
gional council who supports this work, which is a part
of the SYS-REEDUC project.
REFERENCES
Arnold, V. I. (1989). Mathematical Methods of Classical
Mechanics, volume 60 of Graduate Texts in Mathe-
matics. Springer Verlag, New York, 2
nd
edition. 508
pages.
Baraff, D. (1993). Non-penetrating rigid body simulation.
In State of the Art Reports, Eurographics ’93.
Barzel, R. and Barr, A. H. (1988). A modeling system based
on dynamic constraints. In SIGGRAPH ’88: Pro-
ceedings of the 15th annual conference on Computer
graphics and interactive techniques, pages 179–188,
New York, NY, USA. ACM Press.
Baumgarte, J. (1972). Stabilization of constraints and inte-
grals of motion. Computer Methods in Applied Me-
chanics and Engineering, 1:1–16.
Bj¨orck,
˚
A. (1996). Numerical Methods for Least Squares
Problems. SIAM, Philadelphia, Penn.
Goldstein, H. (1980). Classical Mechanics. Addison–
Wesley, Reading, MA, U.S.A., 2
nd
edition. 672
pages.
Nocedal, J. and Wright, S. (1999). Numerical Optimization.
Springer, New York.
Platt, J. (1992). A generalization of dynamic constraints.
CVGIP: Graphical Models and Image Processing,
54(6):516–525.
Press, W. H., Flannery, B. P., Teukolsky, S. A., and Vet-
terling, W. T. (1992). Numerical Recipes: The Art
of Scientific Computing. Cambridge University Press,
Cambridge (UK) and New York, 2nd edition.
Raghupathi, L. and Faure, F. (2006). QP-collide: A new ap-
proach to collision treatment. In Journ´ees du groupe
de travail Animation et Simulation (GTAS), Annual
French Working group on Animation and Simulation,
pages 91–101. Institut de Recherche en Informatique
de Toulouse.
Terzopoulos, D., Platt, J., Barr, A., Zeltzer, D., Witkin, A.,
and Blinn, J. (1989). Physically-based modeling: past,
present, and future. In SIGGRAPH ’89: ACM SIG-
GRAPH 89 Panel Proceedings, pages 191–209, New
York, NY, USA. ACM Press.
Teschner, M., Kimmerle, S., Heidelberger, B., Zachmann,
G., Raghupathi, L., Fuhrmann, A., Cani, M.-P., Faure,
F., Magnenat-Thalmann, N., Strasser, W., and Volino,
P. (2005). Collision detection for deformable objects.
volume 24 of Computer Graphics Forum, pages 61–
81.
THE ART TO KEEP IN TOUCH - The “good use” of Lagrange Multipliers
53