Oracle Community Directory
Oracle Community FAQ
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Aug 1, 2011 4:20 AM by
how to get current view point position
Jul 28, 2011 12:03 AM
may i know how to get current view point position?
Edited by: anIdiot on 27-Jul-2011 22:01
This content has been marked as final.
Show 1 reply
Re: how to get current view point position
Aug 1, 2011 4:20 AM
in response to
1- get viewing platform from universe :
u = new SimpleUniverse(canvas3D);
ViewPlat=u.getViewingPlatform(); // get universe view
viewplat definition : ViewingPlatform ViewPlat ;
2- get viewing platform transform in an existing Transform3D
3- look at the trandform : t3d.get(Quater1, vector1); // get object orientation and coords