Hi Lennart,
On Wed, 2005-05-18 at 18:37 +0200, Lennart Kulf wrote:
> Hi.
>
> I am trying to use a 3d object as a 3d interaction device. My scenegraph
> is devided into two subtrees; one for the model of the device, the other
> subtree stores the actual scene.
...
>
> I create a transformation matrix of this kind: M=A*T*B (A shall be
> executed first...)
Note that OpenSG (like OpenGL) uses the v'=M*v convention, i.e. the
rightmost matrix is applied first.
> But I wonder if there is any way to do this in a different way, using
> OpenSG features I did not yet discovered.
Not that I can see it. There are no higher-level coordinate systems
functions (and I'm not sure what they would be in the first place ;).
> And is the HitPoint of a IntersectAction given as an absolute value or
> as a local value? Is there a nice way to get global coordinates for the
> HitPoint, if it is given as a local value?
The HitPoint is in the coordinate system of the line used for
intersection, which in general is the global coordinate system.
HIH
Dirk
--
-- Dirk Reiners OpenSG Forum [EMAIL PROTECTED]
-- The OpenSG Open Source Scenegraph: http://www.opensg.org
-- Join the list at http://lists.sf.net/lists/listinfo/opensg-users
-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users