From postmaster@oss.sgi.com Wed Nov 12 16:32:01 2008 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Wed, 12 Nov 2008 16:32:10 -0800 (PST) Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id mACNtagF026948 for ; Wed, 12 Nov 2008 15:55:36 -0800 To: info-inventor-dev@oss.sgi.com From: postmaster@oss.sgi.com Subject: info-inventor-dev@oss.sgi.com List roundup Date: Wed, 12 Nov 2008 15:55:36 -0800 X-Mailer: Perl script "ListRoundup.pl" using Mail::Sender 0.8.16 by Jenda Krynicky, Czechlands running on oss.sgi.com (192.48.182.195) under account "cattelan" Message-ID: <20081112_235536_043267.postmaster@oss.sgi.com> X-archive-position: 1589 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: postmaster@oss.sgi.com Precedence: bulk X-list: info-inventor-dev Test From vincentdhs@gmx.de Wed Nov 12 17:51:40 2008 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Wed, 12 Nov 2008 17:51:49 -0800 (PST) Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id mAD1pcsb005889 for ; Wed, 12 Nov 2008 17:51:40 -0800 X-ASG-Debug-ID: 1226541096-141900810000-g6UwQf X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.gmx.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with SMTP id BD0191554690 for ; Wed, 12 Nov 2008 17:51:37 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by cuda.sgi.com with SMTP id Tzarz5UzmjX6tt5t for ; Wed, 12 Nov 2008 17:51:37 -0800 (PST) Received: (qmail 27431 invoked by uid 0); 13 Nov 2008 01:51:36 -0000 Received: from 141.44.23.125 by www051.gmx.net with HTTP; Thu, 13 Nov 2008 02:51:36 +0100 (CET) Content-Type: text/plain; charset="us-ascii" Date: Thu, 13 Nov 2008 02:51:36 +0100 From: "Florian Stendel" Message-ID: <20081113015136.43320@gmx.net> MIME-Version: 1.0 X-ASG-Orig-Subj: Problems using SoRayPickAction Subject: Problems using SoRayPickAction To: info-inventor-dev@oss.sgi.com X-Authenticated: #14386954 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX18Ae1UyJ8wAC5LXOqne1YmilFZBOOMpt7F5q1zaOx MIZYWVgF8GLy1j0nVOvevpGhI7xn6XwIwTgA== Content-Transfer-Encoding: 7bit X-GMX-UID: TflyJp4oMydhZ13SsWplh/RjaGRhZppZ X-FuHaFi: 0.58 X-Barracuda-Connect: mail.gmx.net[213.165.64.20] X-Barracuda-Start-Time: 1226541097 X-Barracuda-Bayes: INNOCENT GLOBAL 0.4995 1.0000 0.0000 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.10124 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 1590 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: vincentdhs@gmx.de Precedence: bulk X-list: info-inventor-dev Hi there, i've (obviously) got a problem. I am currently implementing an Node, which should position me three Shapenode's(the DiagnosticMirrors-Objects in the following source) with respect to the current Cameraview (or, in other words, places those nodes in the camera-coordinate system). The node is inherited from SoShape and at initialisation creates an internal network of those shapenodes (as follows): void SoAllSurfaceMirrors::createNetwork(){ root = new SoSeparator(); root->ref(); mirMirrorOne = new SoDiagnosticMirror; mirMirrorTwo = new SoDiagnosticMirror; mirMirrorThree = new SoDiagnosticMirror; camCoords = new SoTransform; pitch = new SoTransform; extension = new SoTransform; scale = new SoTransform; tsfMirror = new SoTransform; root->addChild(camCoords); root->addChild(tsfMirror); /*********************************/ /** SPECIFIC PART OF MIRROR ONE **/ /*********************************/ SoSeparator *sepMirrorOne = new SoSeparator; sepMirrorOne->addChild(extension); sepMirrorOne->addChild(pitch); sepMirrorOne->addChild(scale); sepMirrorOne->addChild(mirMirrorOne); root->addChild(sepMirrorOne); ... (and so on) } This network is rendered into a Texture in the GLRender-Method using an SoGLRenderaction which shares its context with the calling (the SoGLRenderAction which called GLRender) SoGLRenderaction. (this part works just fine). Now i want to change the appearance of the Shape/DiagnosticMirror-Node based on user-input (e.g. draw/highlight the mirrors in a different color, if the user's mouse cursor is over those objects). Basically i need to be able to pick those nodes of the internal network. Therefore i tried to use the handleEvent-Method (afaik the SoHandleEventAction is doing picking as well) which didn't turned out to be working. (Of course it doesn't, since the Action doesn't know anything about the internal network) The next thing i tried, was invoking an SoRayPickAction on the network which doesn't work either because this action needs an existing camera volume to be able to pick something. Now, if i create a new (internal) network which consists of a new seperator and two childs:SoOrthographic/PerspectiveCamera and the already existing root, the SoRayPickAction does something. Unfortunately the viewvolume of the camera in the internal network does not update to the view volume of the "outer" camera. So my question: Is there a way to set the ViewVolume of the internal camera/the SoRaypickaction (to the ViewVolume etc. of the outer camera)? regards Florian Stendel P.S.: Please let me know if you need further sources -- "Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ... Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail From postmaster@oss.sgi.com Wed Nov 12 18:06:36 2008 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Wed, 12 Nov 2008 18:06:39 -0800 (PST) Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id mAD26alb007089 for ; Wed, 12 Nov 2008 18:06:36 -0800 To: info-inventor-dev@oss.sgi.com From: postmaster@oss.sgi.com Subject: info-inventor-dev@oss.sgi.com List roundup Date: Wed, 12 Nov 2008 18:06:36 -0800 X-Mailer: Perl script "ListRoundup.pl" using Mail::Sender 0.8.16 by Jenda Krynicky, Czechlands running on oss.sgi.com (192.48.182.195) under account "cattelan" Message-ID: <20081113_020636_091326.postmaster@oss.sgi.com> X-archive-position: 1591 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: postmaster@oss.sgi.com Precedence: bulk X-list: info-inventor-dev Sorry for the "test" emaili ealier. oss.sgi.com is in the process of moving its list handler from ecartis to mailman. As part of the conversion process it would be nice to know which lists on oss are still active and which ones are just spam traps. If anybody on this list is interested in keeping it active please resond to this email. Any list that does not recieve a responce to this email will not be moved to mailman and thus effective made inactive. The archives will remain on oss and accesable via the web interface. -Your friendly admin team info-inventor-dev@oss.sgi.com