Browse thread
Play with my balls
-
Jon Harrop
- Brian Hurt
-
Vu Ngoc San
-
Ken Rose
- Robert Roessler
- Mathias Kende
-
Ken Rose
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Robert Roessler <roessler@r...> |
| Subject: | Re: [Caml-list] Play with my balls |
Ken Rose wrote: > Vu Ngoc San wrote: >> Jon Harrop a écrit : >>> Real-time 2D rigid body simulation with OpenGL visualization in under >>> 400 lines of OCaml code: >>> >>> http://www.ffconsultancy.com/ocaml/balls/ >>> >>> Handles 100 balls with sub-centisecond accuracy on my machine. >>> >> very nice indeed. Note that balls can cross walls when resizing the >> window :-) > > Or in my case, by just falling through them. I'm using a 2GHz AMD64x2, > and getting about 2fps from it. Anybody have any idea what might be > going wrong? You don't say anything about your OS or graphics H/W, but as you appear to be running 64-bit Linux, I will go out on a limb and say you probably have graphics driver problems... ;) Generally speaking, these have historically lagged [significantly] behind Windows drivers performance-wise, as they don't get nearly as much attention from the graphics chip manufacturers. Robert Roessler roessler@rftp.com http://www.rftp.com