From rspier@pobox.com Wed Mar 12 17:33:45 2003 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Wed, 12 Mar 2003 17:33:48 -0800 (PST) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by oss.sgi.com (8.12.8/8.12.5) with SMTP id h2D1Xiq9015098 for ; Wed, 12 Mar 2003 17:33:45 -0800 Received: from localhost.localdomain (adsl-63-205-45-125.dsl.lsan03.pacbell.net [63.205.45.125]) by pimout2-ext.prodigy.net (8.12.3 patch/8.12.3) with ESMTP id h2D1Xhhd228230 for ; Wed, 12 Mar 2003 20:33:43 -0500 Received: from bear.rls.cx (IDENT:iGLlV3PaIwmr0HNcIl7cpdz/qAcAfQCW@bear [127.0.0.1]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id h2D1XgI08889 for ; Wed, 12 Mar 2003 17:33:42 -0800 Date: Wed, 12 Mar 2003 17:33:42 -0800 Message-ID: From: Robert Spier To: info-inventor-dev@oss.sgi.com Subject: [PATCH] gcc 3.2 support for external nodes User-Agent: User-Agent: Wanderlust/2.10.0 (Venus) XEmacs/21.4 (Military Intelligence) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-archive-position: 40 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: rspier@pobox.com Precedence: bulk X-list: info-inventor-dev Because of the major C++ ABI change, the following patch (or moral equivalent) is required to use external nodes (i.e. nodes that do not come with Inventor) and gcc 3.2. -R *WDFA % diff -u lib/database/src/so/SoType.c++{.orig,} --- lib/database/src/so/SoType.c++.orig Wed Mar 12 14:29:04 2003 +++ lib/database/src/so/SoType.c++ Wed Mar 12 15:11:54 2003 @@ -295,8 +295,14 @@ if (dsoHandle == NULL) return SoType::badType(); - sprintf(dummyFunc, "initClass__%d%s%s", name.getLength(), - nameChars, abiName); +#if ( (__GNUC__ == 3) && (__GNUC_MINOR__ >= 2)) + // Should this test GXX_ABI_VERSION == 102 ? + sprintf(dummyFunc, "_ZN%d%s9initClassEv", name.getLength(), + nameChars); +#else + sprintf(dummyFunc, "initClass__%d%s%s", name.getLength(), + nameChars, abiName); +#endif void (*dsoFunc)(); dsoFunc = (void (*)())dlsym(dsoHandle, dummyFunc); From Martin.Quinson@tuxfamily.org Thu Mar 13 00:56:03 2003 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Thu, 13 Mar 2003 00:56:06 -0800 (PST) Received: from localhost (wifi246.wlan.ens-lyon.fr [140.77.32.246]) by oss.sgi.com (8.12.8/8.12.5) with SMTP id h2D8tuq9018889 for ; Thu, 13 Mar 2003 00:56:03 -0800 Received: from mquinson by localhost with local (Exim 3.36 #1 (Debian)) id 18tOKt-000715-00 for ; Thu, 13 Mar 2003 09:45:11 +0100 Date: Thu, 13 Mar 2003 09:45:10 +0100 To: info-inventor-dev@oss.sgi.com Subject: C binding one day ? Message-ID: <20030313084510.GA2855@blaise.ens-lyon.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.3i From: Martin Quinson X-archive-position: 41 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: Martin.Quinson@tuxfamily.org Precedence: bulk X-list: info-inventor-dev Hello, i just wanted to know if we will have some C bindings one day. I saw in the FAQ that the open-sourced version lacks them while the close-sourced one have them. Since i'm particullary handicaped in C++, I would love such bindings, but the problem is that i've no idea where to look at to make it happen. Does anyone have a pointer on some doc on how technically i could do that, and on the C interface offered by the closed-source inventor ? Thanks, Mt. -- Though a program be but three lines long, someday it will have to be maintained. -- The Tao of programming From mortene@sim.no Thu Mar 13 01:25:26 2003 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Thu, 13 Mar 2003 01:25:28 -0800 (PST) Received: from sim.no (trh.sim.no [213.236.166.75]) by oss.sgi.com (8.12.8/8.12.5) with SMTP id h2D9Oiq9019132 for ; Thu, 13 Mar 2003 01:25:25 -0800 Received: (qmail 23971 invoked by uid 1114); 13 Mar 2003 09:24:41 -0000 To: Martin Quinson Cc: info-inventor-dev@oss.sgi.com Reply-To: info-inventor-dev@oss.sgi.com Subject: Re: C binding one day ? References: <20030313084510.GA2855@blaise.ens-lyon.fr> From: Morten Eriksen Organization: Systems in Motion Date: 13 Mar 2003 10:24:41 +0100 In-Reply-To: Martin Quinson's message of "Thu, 13 Mar 2003 09:45:10 +0100" Message-ID: <51k7f37h5y.fsf@nfs.trh.sim.no> Lines: 14 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-archive-position: 42 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: mortene@sim.no Precedence: bulk X-list: info-inventor-dev Martin Quinson writes: > Does anyone have a pointer on some doc on how technically i could > [make C bindings for the Inventor API], [...] It might be that the SWIG () system can auto-generate a C binding for you. I know at least that people have been using SWIG to generate a Python-binding through an intermediate C step for our Inventor-variant (called Coin). Regards, Morten -- From monkeyiq@users.sourceforge.net Thu Mar 13 04:15:07 2003 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Thu, 13 Mar 2003 04:15:10 -0800 (PST) Received: from localhost.localdomain ([203.217.81.8]) by oss.sgi.com (8.12.8/8.12.5) with SMTP id h2DCF4q9026574 for ; Thu, 13 Mar 2003 04:15:06 -0800 Received: from sam (sam [192.168.0.200]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id h2DCUtdO007642; Thu, 13 Mar 2003 22:30:56 +1000 Subject: Spaceorb support in Open Inventor From: Ben Martin To: Guido Heumer Cc: jlim@kinabalu.csd.sgi.com, info-inventor-dev@oss.sgi.com Content-Type: text/plain Organization: Message-Id: <1047557814.1170.30.camel@kloof> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 (1.2.1-2) Date: 13 Mar 2003 22:16:54 +1000 Content-Transfer-Encoding: 7bit X-archive-position: 43 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: monkeyiq@users.sourceforge.net Precedence: bulk X-list: info-inventor-dev Hi, I found these two messages threaded at http://oss.sgi.com/projects/inventor/mail/info-inventor-dev/msg00156.html and am hoping that the spaceorb360 code did get put someplace for others to enjoy. I have recently acquired one of these devices and am using open inventor in a project and would very much like to use the spaceORB. Thanks. -- ----------------------------------------------------------------------- Do you know the difference between education and experience? Education is what you get when you read the fine print; experience is what you get when you don't. -- Pete Seeger http://witme.sourceforge.net/libferris.web/ From kyoung@d-a-s.com Thu Mar 13 04:32:17 2003 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Thu, 13 Mar 2003 04:32:23 -0800 (PST) Received: from FW1.dt.navy.mil (FW1.dt.navy.mil [192.5.27.135]) by oss.sgi.com (8.12.8/8.12.5) with SMTP id h2DCWGq9026758 for ; Thu, 13 Mar 2003 04:32:17 -0800 Received: by FW1.dt.navy.mil; id HAA23350; Thu, 13 Mar 2003 07:32:09 -0500 (EST) Received: from unknown(130.46.225.16) by FW1.dt.navy.mil via smap (V5.5) id xma022696; Thu, 13 Mar 03 07:31:09 -0500 Received: from laptopw2k (dtnet218-149.dt.navy.mil [130.46.218.149]) by smtprelay.dt.navy.mil (8.9.3/8.9.3) with SMTP id HAA22927; Thu, 13 Mar 2003 07:31:07 -0500 Reply-To: From: "Kevin M. Young" To: "'Ben Martin'" , "'Guido Heumer'" Cc: , Subject: RE: Spaceorb support in Open Inventor Date: Thu, 13 Mar 2003 07:27:10 -0500 Message-ID: <001e01c2e95b$df42fc00$95da2e82@laptopw2k> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 In-Reply-To: <1047557814.1170.30.camel@kloof> X-archive-position: 44 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: kyoung@d-a-s.com Precedence: bulk X-list: info-inventor-dev I know it has some place. I did run into some trouble early last year trying to get a spaceball (not space orb) to work with open inventor. Unfortunatly this driver was not in place for use in linux. After months of searching, I found someone who wrote a driver for it and it works great. I believe the same code in inventor that drives the animation for the space ball also does the same for the space orb. -----Original Message----- From: info-inventor-dev-bounce@oss.sgi.com [mailto:info-inventor-dev-bounce@oss.sgi.com]On Behalf Of Ben Martin Sent: Thursday, March 13, 2003 7:17 AM To: Guido Heumer Cc: jlim@kinabalu.csd.sgi.com; info-inventor-dev@oss.sgi.com Subject: Spaceorb support in Open Inventor Hi, I found these two messages threaded at http://oss.sgi.com/projects/inventor/mail/info-inventor-dev/msg00156.html and am hoping that the spaceorb360 code did get put someplace for others to enjoy. I have recently acquired one of these devices and am using open inventor in a project and would very much like to use the spaceORB. Thanks. -- ----------------------------------------------------------------------- Do you know the difference between education and experience? Education is what you get when you read the fine print; experience is what you get when you don't. -- Pete Seeger http://witme.sourceforge.net/libferris.web/ From Rasmus.Tamstorf@disney.com Mon Mar 17 10:29:12 2003 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Mon, 17 Mar 2003 10:29:19 -0800 (PST) Received: from mail.disney.com (mail.disney.com [204.128.192.15]) by oss.sgi.com (8.12.8/8.12.5) with SMTP id h2HIT9q9002354 for ; Mon, 17 Mar 2003 10:29:12 -0800 Received: from Hermes10.corp.disney.com (hermes10.corp.disney.com [153.7.110.102]) by mail.disney.com (Switch-2.2.5/Switch-2.2.4) with ESMTP id h2HISvr09705 for ; Mon, 17 Mar 2003 10:28:57 -0800 (PST) Received: from [172.30.50.1] by hermes.corp.disney.com with ESMTP; Mon, 17 Mar 2003 10:29:11 -0800 Received: from frijoles.fas.fa.disney.com (frijoles.fas.fa.disney.com [172.30.194.7]) by pecos.fa.disney.com (8.11.3/8.11.3) with ESMTP id h2HIfpV29459 for ; Mon, 17 Mar 2003 10:41:51 -0800 (PST) Date: Mon, 17 Mar 2003 10:29:06 -0800 (PST) From: "Tamstorf, Rasmus" X-X-Sender: To: Subject: Per-face material assignment for SoIndexedFaceSet Message-Id: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="514590658-1428048180-1047925746=:18212" X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-archive-position: 45 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: Rasmus.Tamstorf@disney.com Precedence: bulk X-list: info-inventor-dev This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --514590658-1428048180-1047925746=:18212 Content-Type: TEXT/PLAIN; charset=US-ASCII I hope this is something really simple, which I've just overlooked, but as it is I can't get per-face material/color assignment to work for SoIndexedFaceSet. I've attached a simple iv file with a single plane in it. There are two colors in the 'orderedRGBA' field (red and green), and the associated 'materialIndex' assigns one color to half the plane and the other color to the other half. Or so I think :-/ When I look at the file in ivview it's all just gray. Am I missing something ? Is ivview broken ? Or is this a known problem elsewhere ? Thanks, Rasmus ----------------------------------------------------------------------------- Rasmus.Tamstorf@disney.com "A problem worthy of attack, Walt Disney Feature Animation proves its worth by hitting back" Kumbel ----------------------------------------------------------------------------- --514590658-1428048180-1047925746=:18212 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="test.iv" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="test.iv" I0ludmVudG9yIFYyLjEgYXNjaWkNCg0KREVGIG1vZGVsUm9vdCBTZXBhcmF0 b3Igew0KICAgIFNoYXBlSGludHMgew0KCXZlcnRleE9yZGVyaW5nCUNPVU5U RVJDTE9DS1dJU0UNCiAgICB9DQogICAgREVGIHBQbGFuZTEgU29TZXBhcmF0 b3Igew0KCWZpZWxkcyBbICBdDQoJVmVydGV4UHJvcGVydHkgew0KCSAgICB2 ZXJ0ZXgJWyAtNSAwIDUsDQoJCQkgIC0yLjUgMCA1LA0KCQkJICAwIDAgNSwN CgkJCSAgMi41IDAgNSwNCgkJCSAgNSAwIDUsDQoJCQkgIC01IDAgMi41LA0K CQkJICAtMi41IDAgMi41LA0KCQkJICAwIDAgMi41LA0KCQkJICAyLjUgMCAy LjUsDQoJCQkgIDUgMCAyLjUsDQoJCQkgIC01IDAgMCwNCgkJCSAgLTIuNSAw IDAsDQoJCQkgIDAgMCAwLA0KCQkJICAyLjUgMCAwLA0KCQkJICA1IDAgMCwN CgkJCSAgLTUgMCAtMi41LA0KCQkJICAtMi41IDAgLTIuNSwNCgkJCSAgMCAw IC0yLjUsDQoJCQkgIDIuNSAwIC0yLjUsDQoJCQkgIDUgMCAtMi41LA0KCQkJ ICAtNSAwIC01LA0KCQkJICAtMi41IDAgLTUsDQoJCQkgIDAgMCAtNSwNCgkJ CSAgMi41IDAgLTUsDQoJCQkgIDUgMCAtNSBdDQoJICAgIG9yZGVyZWRSR0JB CVsgMHhmZiwgMHgwLCAweDAsIDB4ZmYsIDB4MCwgMHhmZiwgMHgwLCAweGZm IF0NCgkgICAgbWF0ZXJpYWxCaW5kaW5nCVBFUl9GQUNFX0lOREVYRUQNCgl9 DQoJU29JbmRleGVkRmFjZVNldCB7DQoJICAgIGZpZWxkcyBbIE1GSW50MzIg Y29vcmRJbmRleCwgTUZJbnQzMiBtYXRlcmlhbEluZGV4IF0NCgkgICAgY29v cmRJbmRleAlbIDAsIDEsIDYsIDUsIC0xLCAxLCAyLCA3LA0KCQkJICAgICAg NiwgLTEsIDIsIDMsIDgsIDcsIC0xLCAzLA0KCQkJICAgICAgNCwgOSwgOCwg LTEsIDUsIDYsIDExLCAxMCwNCgkJCSAgICAgIC0xLCA2LCA3LCAxMiwgMTEs IC0xLCA3LCA4LA0KCQkJICAgICAgMTMsIDEyLCAtMSwgOCwgOSwgMTQsIDEz LCAtMSwNCgkJCSAgICAgIDEwLCAxMSwgMTYsIDE1LCAtMSwgMTEsIDEyLCAx NywNCgkJCSAgICAgIDE2LCAtMSwgMTIsIDEzLCAxOCwgMTcsIC0xLCAxMywN CgkJCSAgICAgIDE0LCAxOSwgMTgsIC0xLCAxNSwgMTYsIDIxLCAyMCwNCgkJ CSAgICAgIC0xLCAxNiwgMTcsIDIyLCAyMSwgLTEsIDE3LCAxOCwNCgkJCSAg ICAgIDIzLCAyMiwgLTEsIDE4LCAxOSwgMjQsIDIzLCAtMSBdDQoJICAgIG1h dGVyaWFsSW5kZXgJWyAwLCAwLCAwLCAwLCAwLCAwLCAwLCAwLA0KCQkJICAg ICAgMSwgMSwgMSwgMSwgMSwgMSwgMSwgMSBdDQoJfQ0KICAgIH0NCn0NCg== --514590658-1428048180-1047925746=:18212-- From mortene@sim.no Mon Mar 17 12:07:24 2003 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Mon, 17 Mar 2003 12:07:30 -0800 (PST) Received: from sim.no (trh.sim.no [213.236.166.75]) by oss.sgi.com (8.12.8/8.12.5) with SMTP id h2HK6hq9003058 for ; Mon, 17 Mar 2003 12:07:24 -0800 Received: (qmail 23984 invoked by uid 1114); 17 Mar 2003 20:06:40 -0000 To: "Tamstorf, Rasmus" Cc: Reply-To: Subject: Re: Per-face material assignment for SoIndexedFaceSet References: From: Morten Eriksen Organization: Systems in Motion Date: 17 Mar 2003 21:06:40 +0100 In-Reply-To: "Tamstorf, Rasmus"'s message of "Mon, 17 Mar 2003 10:29:06 -0800 (PST)" Message-ID: <51isuhpxkf.fsf@nfs.trh.sim.no> Lines: 49 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.4 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-archive-position: 46 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: mortene@sim.no Precedence: bulk X-list: info-inventor-dev --=-=-= "Tamstorf, Rasmus" writes: > I hope this is something really simple, which I've just overlooked, > but as it is I can't get per-face material/color assignment to work > for SoIndexedFaceSet. > > I've attached a simple iv file [...] The iv file has many problems: 0) Nodes shouldn't be named with their "So" prefix. "SoSeparator" and "SoIndexedFaceSet" in your file should simply be "Separator" and "IndexedFaceSet". 1) If the first line of a node specification is the string "fields [ ... ]", this is supposed to signify that the node is an *extension* node, not a built-in Inventor node. Remove those lines. 2) A VertexProperty node should be placed _within_ it's shapenode (in the SFNode "vertexProperty" field), not before it in the scene graph. 3) The VertexProperty orderedRGBA field doesn't contain the values you think it does. To get one red and one green color, it should be orderedRGBA [ 0xff0000ff, 0x00ff00ff ] while your orderedRGBA [ 0xff, 0x0, 0x0, 0xff, 0x0, 0xff, 0x0, 0xff ] is actually *8* color values (all of them either 0x000000ff (black, opaque) or 0x00000000 (fully transparent)). You need to fix at least 2) and 3) to get what you expected, possibly also 0) and 1), I didn't check. I've attached a fully corrected file at the end of this mail. Regards, Morten -- --=-=-= Content-Disposition: attachment; filename=test.iv #Inventor V2.1 ascii Separator { ShapeHints { vertexOrdering COUNTERCLOCKWISE } Separator { IndexedFaceSet { coordIndex [ 0, 1, 6, 5, -1, 1, 2, 7, 6, -1, 2, 3, 8, 7, -1, 3, 4, 9, 8, -1, 5, 6, 11, 10, -1, 6, 7, 12, 11, -1, 7, 8, 13, 12, -1, 8, 9, 14, 13, -1, 10, 11, 16, 15, -1, 11, 12, 17, 16, -1, 12, 13, 18, 17, -1, 13, 14, 19, 18, -1, 15, 16, 21, 20, -1, 16, 17, 22, 21, -1, 17, 18, 23, 22, -1, 18, 19, 24, 23, -1 ] materialIndex [ 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1 ] vertexProperty VertexProperty { vertex [ -5 0 5, -2.5 0 5, 0 0 5, 2.5 0 5, 5 0 5, -5 0 2.5, -2.5 0 2.5, 0 0 2.5, 2.5 0 2.5, 5 0 2.5, -5 0 0, -2.5 0 0, 0 0 0, 2.5 0 0, 5 0 0, -5 0 -2.5, -2.5 0 -2.5, 0 0 -2.5, 2.5 0 -2.5, 5 0 -2.5, -5 0 -5, -2.5 0 -5, 0 0 -5, 2.5 0 -5, 5 0 -5 ] orderedRGBA [ 0xff0000ff, 0x00ff00ff ] materialBinding PER_FACE_INDEXED } } } } --=-=-=-- From Rasmus.Tamstorf@disney.com Mon Mar 17 12:19:32 2003 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Mon, 17 Mar 2003 12:19:39 -0800 (PST) Received: from mail.disney.com (mail.disney.com [204.128.192.15]) by oss.sgi.com (8.12.8/8.12.5) with SMTP id h2HKJVq9003195 for ; Mon, 17 Mar 2003 12:19:32 -0800 Received: from Hermes10.corp.disney.com (hermes10.corp.disney.com [153.7.110.102]) by mail.disney.com (Switch-2.2.5/Switch-2.2.4) with ESMTP id h2HKJJr22660 for ; Mon, 17 Mar 2003 12:19:19 -0800 (PST) Received: from [172.30.50.1] by hermes.corp.disney.com with ESMTP; Mon, 17 Mar 2003 12:19:34 -0800 Received: from frijoles.fas.fa.disney.com (frijoles.fas.fa.disney.com [172.30.194.7]) by pecos.fa.disney.com (8.11.3/8.11.3) with ESMTP id h2HKWGV16212; Mon, 17 Mar 2003 12:32:16 -0800 (PST) Date: Mon, 17 Mar 2003 12:19:30 -0800 (PST) From: "Tamstorf, Rasmus" X-X-Sender: To: cc: Morten Eriksen Subject: Re: Per-face material assignment for SoIndexedFaceSet In-Reply-To: <51isuhpxkf.fsf@nfs.trh.sim.no> Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-archive-position: 47 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: Rasmus.Tamstorf@disney.com Precedence: bulk X-list: info-inventor-dev Thanks a lot ! The first two "problems" are due to my hand-editing since the original file *is* using extension nodes (but that's really irrelevant for the real problem). As for number 2) I believe you can place the VertexProperty node outside the shapenode although the documentation says that you will pay dearly for it in terms of performance. Finally number 3) is the real problem, and obviously something I should have noticed. Duh !! Thanks again :) Rasmus On 17 Mar 2003, Morten Eriksen wrote: > "Tamstorf, Rasmus" writes: > > > I hope this is something really simple, which I've just overlooked, > > but as it is I can't get per-face material/color assignment to work > > for SoIndexedFaceSet. > > > > I've attached a simple iv file [...] > > The iv file has many problems: > > 0) Nodes shouldn't be named with their "So" > prefix. "SoSeparator" and "SoIndexedFaceSet" in your file > should simply be "Separator" and "IndexedFaceSet". > > 1) If the first line of a node specification is the string > "fields [ ... ]", this is supposed to signify that the node > is an *extension* node, not a built-in Inventor node. Remove > those lines. > > 2) A VertexProperty node should be placed _within_ it's > shapenode (in the SFNode "vertexProperty" field), not before > it in the scene graph. > > 3) The VertexProperty orderedRGBA field doesn't contain the > values you think it does. To get one red and one green > color, it should be > > orderedRGBA [ 0xff0000ff, 0x00ff00ff ] > > while your > > orderedRGBA [ 0xff, 0x0, 0x0, 0xff, 0x0, 0xff, 0x0, 0xff ] > > is actually *8* color values (all of them either 0x000000ff > (black, opaque) or 0x00000000 (fully transparent)). > > > You need to fix at least 2) and 3) to get what you expected, possibly > also 0) and 1), I didn't check. I've attached a fully corrected file > at the end of this mail. > > Regards, > Morten > -- ----------------------------------------------------------------------------- Rasmus.Tamstorf@disney.com "A problem worthy of attack, Walt Disney Feature Animation proves its worth by hitting back" Kumbel ----------------------------------------------------------------------------- From lili@chinaren.net Wed Mar 19 00:01:59 2003 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Wed, 19 Mar 2003 00:02:05 -0800 (PST) Received: from chinaren.net ([61.54.243.66]) by oss.sgi.com (8.12.8/8.12.5) with SMTP id h2J81vqA019187 for ; Wed, 19 Mar 2003 00:01:58 -0800 Message-Id: <200303190801.h2J81vqA019187@oss.sgi.com> From: "automobile lamp" Subject: automobile lamp To: info-inventor-dev@oss.sgi.com Content-Type: text/plain;charset="GB2312" Reply-To: mhbulb@163.com Date: Wed, 19 Mar 2003 16:05:24 +0800 X-Priority: 2 X-Mailer: FoxMail 3.11 Release [cn] X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-archive-position: 48 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: lili@chinaren.net Precedence: bulk X-list: info-inventor-dev If you are interested in our offer, please reply the email to:mhbulb@mhbulb.com. Thanks in advance! Dear Sir/Madam, We, MingHeng Lighting Co., Ltd, are a specialized and a large-scale enterprise to produce lamps for auto, tractor and motor. The factory produces three series products of 6-volt, 12-volt, 24-volt and has over 150 different types and specifications with high quality and the best competitive price to our customers from all of the world, including the series of Halogen Lamps, such as H1¡¢H2¡¢H4¡¢H7, etc. And you could visit our website http://www.mhbulb.com to know more our products and our factory. We are confident of our quality and price comparing with the equal products. With good service, our factory will win the clients' trust at home and abroad, do more contributions for automobile industry of China. The purpose of this letter is to explore the possibilities of developing trade with your esteemed company. We truly hope to enter into business relationship with your firm on the basis of equality, mutual benefit and exchanging what one has for what one needs. If you are interested in our products, please reply this email to mhbulb@mhbulb.com immediately no hesitation. You any comments are very highly appreciated! Tel: (86) 372-2941029 Fax: (86) 372-2957026 E-mail: mhbulb@mhbulb.com Looking forward to your early reply! Yours Sincerely, Sophia From scharver@evl.uic.edu Wed Mar 26 06:48:01 2003 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Wed, 26 Mar 2003 06:48:11 -0800 (PST) Received: from evl.evl.uic.edu (evl.evl.uic.edu [131.193.48.80]) by oss.sgi.com (8.12.8/8.12.5) with SMTP id h2QElLq9008635 for ; Wed, 26 Mar 2003 06:48:01 -0800 Received: from [131.193.48.117] (evl-48dhcp117.evl.uic.edu [131.193.48.117]) by evl.evl.uic.edu (8.9.3/8.9.3) with ESMTP id IAA19937 for ; Wed, 26 Mar 2003 08:47:19 -0600 (CST) Mime-Version: 1.0 X-Sender: scharver@131.193.48.80 Message-Id: Date: Wed, 26 Mar 2003 08:47:36 -0600 To: info-inventor-dev@oss.sgi.com From: Chris Scharver Subject: Link libraries for apps Content-Type: text/plain; charset="us-ascii" X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-archive-position: 49 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: scharver@evl.uic.edu Precedence: bulk X-list: info-inventor-dev Hello, I'm assembling a patch to implement support for Darwin and MacOS X. I have everything compiling, but it seems that all the executables are not picking up the required link libraries. For example, apps/tools/ivview/GNUmakefile defines: LLDLIBS = -lInventorWidget -lInventorXt -lInventor To get an executable on my machine, I need to add LLDLIBS += -lXm -lXt -lX11 -lGL Of course, this gets tedious if I have to modify every application's GNUmakefile. Should these be added somewhere in make/ivcommondefs? It doesn't seem like they're getting included. Where would be the best place to add them? Chris -- Chris Scharver Electronic Visualization Laboratory The University of Illinois at Chicago Ph: 312-996-3002 FAX: 312-413-7585