Hi Dirk, i meant it another way, because i do not exactly raycasting like OpenSG, but a method which i programmed by myself to search in a raycasting-like variant a medical volumedataset which does not contain scene geometry.
What i need is a viewpoint in 3Dspace (for which the from position is already a good approximation, but like i told i need to recalculate it some way with the up- and at-values, but don't know how). The rest with raycasting stuff i do by myself. Probably the 11picking example gives me that, but i didn't found it. If you could help me again? Simon -------- Original-Nachricht -------- > Datum: Fri, 12 Oct 2007 16:45:06 -0500 > Von: Dirk Reiners <[EMAIL PROTECTED]> > An: [email protected] > Betreff: Re: [Opensg-users] How to get correct viewpoint from Look-At > > Hi Simon, > > Simon Beisel wrote: > > > > I need the viewpoint to send rays on the volumemodel. > > That's what I was expecting. Sneaky me. ;) > > > Now i need either a method how to recalculate my "viewpoint" with the > > from, at and up values or a method which does it for me this or > > another way. > > Well, we can do better. If you look into the 11picking example, it > calculated a line into the world for a given piint on the screen. The > start of that line is the viewpoint, but it also gives you a direction > (for a 2D point on screen) that you use to do distance calculations with > your points, or use an IntersectAction for intersect scene geometry with. > > Hope it helps > > Dirk > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Opensg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
