I know it is difficult to describe an to understand, thats why i didn't
get to the solution right now.
I try it again:
The navigator (which is described by from, up, at and a distance value)
for example rotates my visualization (which is a medical volume
datasets). In this case the from-vector stays the same, but the
up-vectors changed. For my calculations I assume that the volume is
neither rotated, nor shifted (by at-vector) or anything else. Instead I
need to rotate and shift the "viewpoint" which at the beginning lies
along the z-axis and has standard up vector an at-point is (0,0,0). So
at the beginning the from-point gives me the right coordinates. But
after rotating it doesn't anymore, because I need to do some further
calculations with the up-vector. Probably one have to do the rotation
that the up-vector describes exactly the other way for my "viewpoint"?
My question was that way, if there is a chance to get that rotation
described by the up vector and the shift by the at-point and apply them
"inverted" to the "viewpoint".
Simon
Carsten Neumann schrieb:
Hello Simon,
Simon Beisel wrote:
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.
hm, frankly speaking I still have not figured out/understood what you
want to do, sorry.
But I *can* point you to the 11picking example, maybe that is a start ;)
You can find it in OpenSG/Tutorials/11picking.cpp where OpenSG is the
top folder of the source tree.
Hope it helps,
Carsten
-------------------------------------------------------------------------
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
-------------------------------------------------------------------------
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