From owner-info-inventor@oss.sgi.com Sun Jan 13 23:54:42 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g0E7sgq26032 for info-inventor-outgoing; Sun, 13 Jan 2002 23:54:42 -0800 Received: from lorica.ucc.usyd.edu.au (lorica.ucc.usyd.edu.au [129.78.64.15]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g0E7sbg26026 for ; Sun, 13 Jan 2002 23:54:37 -0800 Received: from bigpond.net.au (rabbani.es.usyd.edu.au [129.78.124.12]) by lorica.ucc.usyd.edu.au (8.9.3/8.9.3) with ESMTP id RAA10005 for ; Mon, 14 Jan 2002 17:54:33 +1100 (EST) Message-ID: <3C432AA8.70008@bigpond.net.au> Date: Tue, 15 Jan 2002 05:59:52 +1100 From: Stuart Clark User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901 X-Accept-Language: en-us, ar MIME-Version: 1.0 To: info-inventor Subject: NURBS & Conic Sections Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-inventor@oss.sgi.com Precedence: bulk I know it should be easy to draw circles using Bezier curves in Open Inventor. I have looked at some literature and it says for example that a quadratic rational bezier curve can represent a circle - the middle weighting should be cos(theta) where 2 * theta is the angular extension of the arc. Yet I seem to get only parabolas. The closest one looking like a circle has a middle point weighting of one. ??? I am lost. Any help would be appreciated. Here are the values I am using: float pts[3][4] = { {1.0,0.0,1.0,1.0}, {1.0,1.0,1.0,0.707}, {0.0,1.0,1.0,1.0}}; float knots [6] = {0,0,0,1,1,1}; Thanks in advance, Stuart From owner-info-inventor@oss.sgi.com Mon Jan 14 06:50:02 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g0EEo2m10133 for info-inventor-outgoing; Mon, 14 Jan 2002 06:50:02 -0800 Received: from fnal.gov (heffalump.fnal.gov [131.225.9.20]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g0EEo0g10130 for ; Mon, 14 Jan 2002 06:50:00 -0800 Received: from fnal.gov ([131.225.84.68]) by smtp.fnal.gov (PMDF V6.0-24 #37519) with ESMTP id <0GPX00AQVL33R2@smtp.fnal.gov> for info-inventor@oss.sgi.com; Mon, 14 Jan 2002 07:49:51 -0600 (CST) Date: Mon, 14 Jan 2002 07:49:58 -0600 From: Jeff Kallenbach Subject: Mixed platforms To: info-inventor Message-id: <3C42E206.45FB1352@fnal.gov> MIME-version: 1.0 X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.3-12 i686) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en Sender: owner-inventor@oss.sgi.com Precedence: bulk I need to build on IRIX with gcc. Are there some steps written down somewhere to accomplish this? I have tried poking a little bit, but keep hitting snags. -- TIA, Jeff ====================================================================== Jeff Kallenbach |Fermi National Accelerator Lab|Physics Analysis Tools V: (630)840-2210| jeffk@fnal.gov | F: (630)840-6745 ====================================================================== From owner-info-inventor@oss.sgi.com Mon Jan 14 13:29:27 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g0ELTRu22307 for info-inventor-outgoing; Mon, 14 Jan 2002 13:29:27 -0800 Received: from yog-sothoth.sgi.com (eugate.sgi.com [192.48.160.10]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g0ELTLg22300 for ; Mon, 14 Jan 2002 13:29:22 -0800 Received: from kinabalu.csd.sgi.com (kinabalu.csd.sgi.com [130.62.73.96]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via ESMTP id VAA1908923 for ; Mon, 14 Jan 2002 21:25:52 +0100 (CET) mail_from (jlim@kinabalu.csd.sgi.com) Received: (from jlim@localhost) by kinabalu.csd.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id MAA06665; Mon, 14 Jan 2002 12:26:55 -0800 (PST) From: jlim@kinabalu.csd.sgi.com (Jonathan Lim) Message-Id: <200201142026.MAA06665@kinabalu.csd.sgi.com> Subject: Re: NURBS & Conic Sections To: srclark@bigpond.net.au (Stuart Clark) Date: Mon, 14 Jan 2002 12:26:55 -0800 (PST) Cc: info-inventor@oss.sgi.com (info-inventor) In-Reply-To: <3C432AA8.70008@bigpond.net.au> from "Stuart Clark" at Jan 15, 2002 05:59:52 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-inventor@oss.sgi.com Precedence: bulk #Inventor V2.1 ascii Coordinate4 { point [ 1 0 0 1, 0.707107 0.707107 0 0.707107, 0 1 0 1, -0.707107 0.707107 0 0.707107, -1 0 0 1, -0.707107 -0.707107 0 0.707107, 0 -1 0 1, 0.707107 -0.707107 0 0.707107, 1 0 0 1, ] } NurbsCurve { numControlPoints 9 knotVector [ 0.00, 0.0, 0.0, 0.25, 0.25, 0.5, 0.5, 0.75, 0.75, 1.0, 1.0, 1.00 ] } Jonathan Lim _ Silicon Graphics _ Mountain View GPS Graphics Computer Systems CA, USA On Mon Jan 14 10:59:52 2002, srclark@bigpond.net.au wrote: > > I know it should be easy to draw circles using Bezier curves in Open > Inventor. I have looked at some literature and it says for example that > a quadratic rational bezier curve can represent a circle - the middle > weighting should be cos(theta) where 2 * theta is the angular extension > of the arc. Yet I seem to get only parabolas. The closest one looking > like a circle has a middle point weighting of one. ??? I am lost. > > Any help would be appreciated. Here are the values I am using: > > float pts[3][4] = { > {1.0,0.0,1.0,1.0}, > {1.0,1.0,1.0,0.707}, > {0.0,1.0,1.0,1.0}}; > > float knots [6] = {0,0,0,1,1,1}; From owner-info-inventor@oss.sgi.com Mon Jan 21 09:24:09 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g0LHO9i00973 for info-inventor-outgoing; Mon, 21 Jan 2002 09:24:09 -0800 Received: from mailhub3.hull.ac.uk (Puccini.ucc.hull.ac.uk [150.237.196.2]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g0LHNtP00969 for ; Mon, 21 Jan 2002 09:24:01 -0800 Received: from mailhub.dcs.hull.ac.uk (actually host amethyst.dcs.hull.ac.uk) by puccini.ucc.hull.ac.uk with ESMTP; Mon, 21 Jan 2002 16:23:43 +0000 Received: from [150.237.92.11] (helo=scarlet.dcs.hull.ac.uk ident=exim) by mailhub.dcs.hull.ac.uk with esmtp (Exim 3.03 #2) id 16ShET-0004jU-00 for info-inventor@oss.sgi.com; Mon, 21 Jan 2002 16:23:41 +0000 Received: from cspfh by scarlet.dcs.hull.ac.uk with local (Exim 2.12 #1) id 16ShEP-0000Zf-00 for info-inventor@oss.sgi.com; Mon, 21 Jan 2002 16:23:37 +0000 Date: Mon, 21 Jan 2002 16:23:37 +0000 (GMT) From: Fotios Hadginikos X-Sender: cspfh@scarlet To: info-inventor@oss.sgi.com Subject: creating new draggers, some help needed Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-inventor@oss.sgi.com Precedence: bulk Hi, I am trying to create a new Inventor Dragger but I have problemsbuilding the class. I would like to have something like the SoTranslate1Dragger but the user should only pick on the arrow heads (not the arrow body) and while dragging, instead of changing the draggers position in 3D space I would like it to remain at the same position but stretch instead. For example: <-----> then the user clicks the right arrow head and drags to the right: <-------------------> Any ideas? Any help would be appreciated, thanks, Fotis