From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 8BCC3BC6B for ; Sun, 25 Nov 2007 21:57:16 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAOJwSUfUnw7Vg2dsb2JhbACCOY0GAQEBCAQGEREH X-IronPort-AV: E=Sophos;i="4.21,464,1188770400"; d="scan'208";a="6159892" Received: from ptb-relay02.plus.net ([212.159.14.213]) by mail3-smtp-sop.national.inria.fr with ESMTP; 25 Nov 2007 21:57:16 +0100 Received: from [80.229.56.224] (helo=beast.local) by ptb-relay02.plus.net with esmtp (Exim) id 1IwOXT-0005yD-8f for caml-list@yquem.inria.fr; Sun, 25 Nov 2007 20:57:15 +0000 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Smoke on 3.09.2 Date: Sun, 25 Nov 2007 20:48:30 +0000 User-Agent: KMail/1.9.5 References: <47471716.3020304@irisa.fr> <200711251826.18003.jon@ffconsultancy.com> <200711252112.52259.san.vu-ngoc@univ-rennes1.fr> In-Reply-To: <200711252112.52259.san.vu-ngoc@univ-rennes1.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711252048.31111.jon@ffconsultancy.com> X-Spam: no; 0.00; bug:01 guis:01 ocaml:01 ocaml:01 smoke:98 froze:98 tiger:98 smoke:98 frog:98 wrote:01 caml-list:01 hierarchical:01 graphics:02 graphics:02 cached:02 On Sunday 25 November 2007 20:12, Vu Ngoc San wrote: > Thanks, now it builds fine. And I really thought the problem was gone; > After resizing the window madly, I was just trying to anwser that > everything was ok when it suddenly froze exactly as before. :-( > > It's maybe a bug of my video driver (xorg-intel). However, I tried to > reproduce it with glxgears and I couldn't. Ok. That was a common problem cited by our users before, particularly with regard to ATi cards rather than Intel. Perhaps nVidia cards should be a requirement under Linux. Hopefully Mac OS X can handle all of the cards that it supports. Have you tried using software rendering via Mesa rather than xorg-intel? Do you use any other OpenGL software on a regular basis? > Btw: I don't know if it is useful or not, but your 'clicking and zooming' > in the tiger demo is quite nice Yes. Smoke is based upon the hierarchical decomposition of vector scenes into non-overlapping tesselations that can be cached on the graphics card. This underpins its performance, which is typically an order of magnitude faster than Cairo, Adobe Flash or Microsoft Silverlight. Consequently, Smoke is ideal for building responsive vector GUIs and OCaml makes it a dream to work with. We've been sitting on the OCaml implementation of Smoke for several years and problems like these are preventing us from commercializing it successfully. This is a great shame because OCaml is an excellent language for graphics programming. I believe the best solution would be an OpenGL-enabled OCaml VM. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/products/?e