Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Robert Roessler <roessler@rftp.com>
To: rose@acm.org
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Play with my balls
Date: Fri, 18 May 2007 11:46:20 -0700	[thread overview]
Message-ID: <464DF47C.2020904@rftp.com> (raw)
In-Reply-To: <464DD027.8000900@nc-sys.com>

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


  reply	other threads:[~2007-05-18 18:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-17 10:36 Jon Harrop
2007-05-17 12:23 ` [Caml-list] " Brian Hurt
2007-05-18  9:01 ` Vu Ngoc San
2007-05-18 16:11   ` Ken Rose
2007-05-18 18:46     ` Robert Roessler [this message]
2007-05-18 19:43     ` Mathias Kende

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=464DF47C.2020904@rftp.com \
    --to=roessler@rftp.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=rose@acm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox