From owner-info-performer-dev@oss.sgi.com Mon May 14 09:30:10 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4EGUAE16523 for info-performer-dev-outgoing; Mon, 14 May 2001 09:30:10 -0700 Received: from mailgate3.cinetic.de (mailgate3.cinetic.de [212.227.116.80]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4EGU6F16520 for ; Mon, 14 May 2001 09:30:06 -0700 Received: from cinetic.de (popeye.cinetic.de [194.122.194.100]) by mailgate3.cinetic.de (8.11.2/8.11.2/SuSE Linux 8.11.0-0.4) with SMTP id f4EGU5u27541 for ; Mon, 14 May 2001 18:30:05 +0200 Date: Mon, 14 May 2001 18:30:05 +0200 Message-Id: <200105141630.f4EGU5u27541@mailgate3.cinetic.de> MIME-Version: 1.0 Organization: http://freemail.web.de/ From: =?iso-8859-1?Q?"Klaus=20H=E4ming"?= To: info-performer-dev@oss.sgi.com Subject: modifying draw-method Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sender: owner-performer@oss.sgi.com Precedence: bulk Hi, I have to synchronize two Instances of Performer running on two Computers. I want these two Instances to draw a frame nearly at the same time. My Idea to solve this problem, is to use a DRAW callback function such as this one: void DrawFunc(pfChannel *chan, void *data) { thisComputerIsReadyToDraw(); //to tell the other //Computer I'm ready while(otherComputerIsNotAtThisPoint()){ //wait wait wait } pfDraw(); } Is this a appropriate method? Or is it possible to modify the pfDraw() in a way, that the synchronisation takes effect shortly before swapping the buffers? For this purpose I would have to know, what pfDraw() does in detail. tia, Klaus ______________________________________________________________________________ Ferienklick.de - 225 Reisekataloge auf einen Blick! Direkt zu Ihrem Traumurlaub: http://ferienklick.de/?PP=2-0-100-105-0 From owner-info-performer-dev@oss.sgi.com Mon May 21 15:51:44 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4LMpi722967 for info-performer-dev-outgoing; Mon, 21 May 2001 15:51:44 -0700 Received: from yog-sothoth.sgi.com (eugate.sgi.com [192.48.160.10]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4LMpYF22955 for ; Mon, 21 May 2001 15:51:37 -0700 Received: from boeing.engr.sgi.com (boeing.engr.sgi.com [130.62.55.185]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via ESMTP id AAA439400 for ; Tue, 22 May 2001 00:51:25 +0200 (CEST) mail_from (flynnt@engr.sgi.com) Received: from localhost (flynnt@localhost) by boeing.engr.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id PAA53362 for ; Mon, 21 May 2001 15:50:08 -0700 (PDT) X-Authentication-Warning: boeing.engr.sgi.com: flynnt owned process doing -bs Date: Mon, 21 May 2001 15:50:08 -0700 From: Tom Flynn To: info-performer-dev@oss.sgi.com Subject: updates Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-performer@oss.sgi.com Precedence: bulk pfGreetings, FYI, I've just committed some sample code donated by the Performer community. Special thanks go to Scott A. Friedman for the pfgtk example and Bram Stolk for the Python wrapper for Performer (pyper). It's great to see this kind of involvment and I look forward to future submissions. -tom -- "Mongooses are famous for their snake-fighting ability, and are almost always victorious because of their speed, agility, and timing and also because of their thick coat."