Window to Virtual World Coords

I'm new to j3d and java in general. I've got an application that creates objects in a SimpleUniverse and then navigates around them using my own behavior similar to OrbitBehavior.
I need to be able to take some given display window coordinates (like the center of the window, regardless of its current size) and compute where those window coords intersect a plane in virtual space where my object lives. I know how to get the window size and do the math, but I need to somehow obtain the transform(s) that convert from virtual world coords to display window coords. I've looked through the j3d tutorial and API spec, but couldn't find what I think I'm looking for.
Can anybody tell me how to obtain the necessary transform(s)?
Contrary to what's listed in my profile, my email is [email protected]

I've never done that... But maybe there's something in the Locale object of the Universe you can use...

Similar Messages

  • XI/PI 7.0 Installation on Windows Machine (Virtualized Environment)

    Hi All
    We are planning to install XI/PI 7.0 on virtualized environment (Windows as OS) for Development and Test Environment
    Does anyone has experince installing this on Windows environment (virtualized environment) and also prons and cons, in installing it on Windows
    Please let me know your feedback as we have to finalise the OS for XI/PI 7.0 Installation
    Thanks in Advance
    Thanks with regards
    Deelip

    hai check the below links
    https://www.sdn.sap.com/irj/sdn/articles-lastyear?startindex=121
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a04e59be-f51f-2a10-829b-dd3e5a359aa4
    note:award points if found helpfull
    regards
    chandrakanth.k

  • Looking for Game Developers/Producers and Virtual World Developers for Adobe Research Study

    The Adobe User Research Team is interested in talking to game developers/producers and virtual world developers to better understand the development process, the tools/technologies used, and the development/business challenges.  Your insights will help us improve our platform and tools as well as develop new solutions.  You do not need to be Flash developers to participate.
    The research study will be a 2-hour one-on-one phone interview.  As a token of appreciation, interview participants will receive a $150 American Express Gift Check.
    If this sounds like something you might be interested in, please fill out our short preliminary screener here:
    http://www.adobe.com/go/gamedevscreener
    If the study is a good match, we will contact you by phone or email to schedule a time.
    If you have any questions, please feel free to contact me at [email protected]
    Thank you for your interest!
    Sara Kang
    Adobe Market Research

    FYI, this is a poorly worded set of possible answers:
    8. How much experience do you have using the following technologies?
    I’ve never heard of that technology
    I’ve investigated that technology but never used it professionally
    I’ve spent some time working with that technology
    I am comfortable using that technology
    I have used that technology on a daily basis for less than 1 year
    I have used that technology on a daily basis for more than 1 year
    For a number of these technologies, I've heard of them but have not been inclined to investigate, which seems like it would be useful info to Adobe.

  • How to Install an APO Livecache on Windows Using Virtual Host Names

    Hi,
    How to Install Live Cache on windows using Virtual Host names?
    we are using SCM 4.0 with  live cache build 7.4.3 on two differnt servers.
    I have checked the Live cache CD (7.4.3) is with setup.cmd, where as it need use command sapinst.exe SAPINST_USE_HOSTNAME=Virtual hostname.
    Please advise.
    Thanks
    Anil

    a possible workaround (that I have no tested) is to temporarily name your server with the same of the virtual name, install. when completed, rename server to original name.
    This is not a proven method, but it might work.

  • File copy in windows 7 virtual PC

    I am running virtual machine (XP) in Windows 7 Pro.  Every time I right click a file in windows explorer in the VM and click copy, the VM shuts down.  Really annoying as cannot back up data files to an external disk.  What am i doing wrong?

    Hi mb12345,
    How long has the issue persisted?  Started with the virtual machine installed or since recently?
    In addition to Bob’s suggestions
    Have you tried other method for copying files? Such as right click dragging and dropping, Ctrl + C or Xcopy command line. Please try these and check if the issue still persists. If it does, the issue might be caused by memory problem, you could try increasing
    memory on Windows XP virtual machine
    If these workarounds work fine, try give a clean boot for your virtual machine, because it might be caused by software compatibility or virus infection.
    You also could reinstall your virtual machine to check if it is related to your host machine or virtual PC tool.    
    Regards

  • I'm trying to install Star Wars: Empire at War (origional) and I'm getting a data2.cab (cycle redundancy check) error. Can this be fixed so I can install this game on my Windows XP virtual drive?

    I insert the CD and it is recognized. Then I enter the game code off the box and it begins to install for a couple of minutes until it gets this error. I can go no further afterward. The Cd is not scratched enough to damage the files on it because I installed it on my Dell XPS laptop just fine.

    I have just now successfully installed this game on my Windows XP virtual drive on my Macbook Pro laptop. It works like a charm. I kept at it and resolved the issue on my own. The CD had to be copied and installed from the file.

  • How can I follow slurl's which are web short cuts into secondlife virtual world environment keeps telling me no association present and not available to be associated in the options/applications list

    Secondlife.com has a system to access their world straight into their virtual world environment called "slurls" which can be used on any webpage. It appears that in IE this system works correctly, but not in Firefox.
    See: http://slurl.com/about.php
    Just keeps telling me that no association is available, but there is nothing in the options/applications list to create this association with as "secondlife" protocol is not listed so cannot connect it to the phoenix viewer I use for access to this virtual world grid
    With over 1.3 million users of this world it is not an insignificant facility to be missing.

    To use servlets u have indeed to update your web.xml...Well I'm not sure this is relevant to your case anyway.
    You have to add a <servlet> element to this file.
    Something like this:
    <servlet>
    <servlet-name>blabla</servlet-name>
    <servlet-class>blablapackage.Blablaclass</servlet-class>
    <init-param>...</init-param>
    </servlet>
    Now this may not solve your problem. Make sure you refer to your servlets using their full qualified names.btw, just to be sure, what is your definition of "servlet"? (i mean: any java class or only javax.servlet.Servlet)

  • Transformgroups position in the virtual world.

    Hi,
    I need to know if its possible to get a transformGroups position in the virtual world.
    Lets say transformGroupGETPOSITIONIS the child of transformGroupA, and transformGroupA is a child of transformGroupB. Now if transformGroupA and transformGroupA are rotating and moving all over the place, transformGroupGETPOSITIONIS posiiton will change in the virtual world, but because transformGroupGETPOSITIONIS never moves or rotates, will it know thats it's moving and have some values that represent it's position the the virtual world?
    Any help is appricated.
    ps, if the transformgorup dosn't know it's position in the virtual world, i have to go off and learn about 3d matrix's, and lets say your studing maths in college, you don't study this until semester 2 of year 2. So it's going to be kinda hard..... anyway again, any help will do.
    thanks

    Hi, ya i got it after so if anybodys looking for the solution to this question, here it is :
    private Vector3d ReturnTransformGroupsVirtualWorldPosition(TransformGroup inputTransformGroup)
         Transform3D oldPositiont3d = new Transform3D();
         inputTransformGroup.getLocalToVworld(oldPositiont3d);
              Vector3d getPosition = new Vector3d();
              oldPositiont3d.get(getPosition);
              return getPosition;
    just throw in your transformGroup and it will return back your Virtual world position.

  • I got a question regarding running iOs and Windows using virtual software.

    Greetings!
    I got a question regarding running iOs and Windows using virtual software. I recently bought a monitor so I can display Windows on it and run both OS at the same time.Now,I'm using BootCamp. I downloaded VirtualBox for "tranferring" Windows on it. Since I'm a new iOs user , what do I need to do in order to make work?
    Do I need to un-install Windows from BootCamp,install VirtualBox and then install them again?
    Any information would be appreciate it!

    That should work to use OS X, you can run MS Windows using Virtual Box and use a seperate display for the Virtual Box window. That way you can run OS X and MS Windows simultaneously. However remember Virtual Box is freeware and not a commercial application like Parallels or VMWare Fusion and may not have the features of a commercial application. Support for Windows run in any virtualization application (Virtual Box, Parallels or Fusion) is not generally done on this forum as they are not OS X related. To get help on those apps you usually will need to go to their forums.
    Remember IOS will not run on either OS X or MS Windows, it only works on IOS devices.
    Good luck with your installation.

  • Bootcamp install windows in virtual mode???

    bootcamp install windows in virtual mode??? or boot mode

    Please provide a bit more detail of your environment and what you want to achieve? Cryptic questions may get obfuscated responses.
    Are you asking if a Bootcamp/WIndows installation can also be booted as a Virtual Machine? The answer is yes.

  • Windows Azure Virtual Network - Access is denied Error 0x80070005

    Installed a Virtual Network, all options default, setup Gateway, created and uploaded Certs, downloaded 64 bit VPN client.  Windows 7, fully patched, AV client disabled.
    When I attempt to connect I get:
    Access is denied.
     (Error 0x80070005) For customized troubleshooting information for this connection, click Help
    I see many similar posts, but no answers.  Has anyone gotten Point-to-Site to connect?  Is this not supported in the free trial and MSDN accounts?
     Operating System      : Windows NT 6.1 Service Pack 1
     Dialer Version        : 7.2.7600.16385
     Connection Name       : 84810c9d-721a-4e79-abca-29ad922735c2
     All Users/Single User : Single User
     Start Date/Time       : 11/8/2013, 13:50:17
     Module Name, Time, Log ID, Log Item Name, Other Info
     For Connection Type, 0=dial-up, 1=VPN, 2=VPN over dial-up
    [cmdial32] 13:50:17 03 Pre-Init Event CallingProcess = C:\Windows\Explorer.EXE
    [cmdial32] 13:50:25 04 Pre-Connect Event ConnectionType = 1
    [cmdial32] 13:50:25 06 Pre-Tunnel Event UserName =  Domain =  DUNSetting = 84810c9d-721a-4e79-abca-29ad922735c2 Tunnel DeviceName =  TunnelAddress = azuregateway-84810c9d-721a-4e79-abca-29ad922735c2-0.cloudapp.net
    [cmdial32] 13:50:29 21 On-Error Event ErrorCode = -2147024891 ErrorSource = RAS
    Other users with a similar issue:
    http://stackoverflow.com/questions/16320918/windows-azure-virtual-network-point-to-site-connection-error
    Still more:691
    Access denied because username and/or password is invalid on the domain.
    How does username and/or password make any sense?  It hasn't asked for any credentials, it just fails.

    Hi,
    Thanks for your response.
    Did you configure the Point-to-Site virtual network using this article?
    Configure a Point-to-Site VPN in the Management Portal
    http://msdn.microsoft.com/en-US/library/windowsazure/dn133792.aspx
    After the virtual network is created, you may create the gateway as the link mentioned.
    Regards.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Mouse coord to virtual world - Parallel projection

    Hi,
    I've been able to do it in Perspective projection the code above. Why does'n it work the same with Parallel projection? The point where new geometry is added doesn't correspond to the mouse point on screen...
    public Point3d getCanvasPtToVworldPt(int x, int y) {
    if(view.getProjectionPolicy()==View.PERSPECTIVE_PROJECTION){
    Point3d VworldPt = new Point3d();
    Point3d centerEyePt = new Point3d();
    // convert the canvas point to ImagePlate coords
    cv.getPixelLocationInImagePlate(x, y, VworldPt);
    // transform the point from an imageplate coordinate to a Vworld
    // coordinate
    Transform3D imagePlateToVworld = new Transform3D();
    cv.getImagePlateToVworld(imagePlateToVworld);
    imagePlateToVworld.transform(VworldPt);
    cv.getCenterEyeInImagePlate(centerEyePt);
    imagePlateToVworld.transform(centerEyePt);
    double alpha = 0.0;
    if (VworldPt.z != centerEyePt.z) {
    alpha = centerEyePt.z / (VworldPt.z - centerEyePt.z);
    Point3d planePt = new Point3d(
    centerEyePt.x - alpha * (VworldPt.x - centerEyePt.x),
    centerEyePt.y - alpha * (VworldPt.y - centerEyePt.y),
    0.0); //centerEyePt.z - beta * (VworldPt.z - centerEyePt.z )
    return planePt;
    thanks

    Hi,
    I am unsure of what you mean by perspective and parallell projection. I am relatively new to Java3D and am unfamiliar with these terms.
    I think I am trying to solve a similar problem to you so maybe we can help each other as I suspect both our answers relate to [Transform3D|http://download.oracle.com/docs/cd/E17802_01/j2se/javase/technologies/desktop/java3d/forDevelopers/J3D_1_3_API/j3dapi/index.html].
    In my case, I am simply trying to move a point in the scene. I am able to get this to work when in top down view and the default zoom. However, when the scene is rotated or scaled the coordinates do not match up. Is this the same issue you are dealing with?
    The Transform3D has a 4x4 matrix that I believe stores the current views "translations, rotations, and scaling and shear effects". If we are able to understand this matrix then we should be able to perform some math to match up the coordinates.
    If this isn't the issue you are dealing with, I apologise for the response but things seem to move slowly on this forum.

  • Mac Pro, Windows 7 Virtual PC-XP Mode Problem w/ Hardware Virtualization

    I have installed windows 7 (64 bit) on an 8 month old intel mac pro with latest bootcamp. runs great. cannot get virtual pc / xp mode to work.
    confirmed latest firmware, confirmed processor has virtualization (vmx listed in processor details when boot to snow leopard).
    when i run ms hardware-assisted virtualization detection tool it confirms hardware virtualization. after i install xp mode and virtual pc update i get an error message that there is no virtualization. ms hardware-assisted virtualization detection tool will now also report no virtualization. if i uninstall xp mode and virtual pc update, ms hardware-assisted virtualization detection tool will again confirm virtualization.
    any thoughts? i searched forum but did not see anything - sorry if i missed it.
    thanks in advance for input...

    Because the hardware of Mac Pro does have Intel-VT capability, it's just disabled.
    One solution (though a very lame one) is boot into OS X first, run VMware Fusion or Parallel (which enables Intel-VT), then restart into Windows.
    Just hope there would be some way to enable Intel-VT on Windows...

  • Installing cs4 in Windows 7 Virtual machine

    Hello,
    I am having problems with AE and windows 7 64 bit. Ram preview isn't working / crashing AE I wanted to do a clean install on XP using Windows virtual machine. I unserstand it sounds stupid, but all I am trying to do is sync some effects to a soundtrack and it's not working and I am on a deadline.
    Has anyone installed these, I get an install error, Contact Adobe Support. not very helpful.
    Thanks,.
    David

    Yeah, but what do you expect? It's weekend and your scenario really isn't something people do every day. I would even guess that it's more of an issue with memory and keyboard handling settings in the VM rather than a flaw in the Adobe program. In any case, what's so bad about just installing CS4 in W7 itself or installing the CS5 trial? If you're on a deadline, it's certainly better to have some way of working and worrying about any side effects later than waiting for a solution to fall out of the sky...
    Mylenium

  • Disconnecting WEB SSL VPN client windows 7 to remote windows 7 virtual machine

    Good morning,
              my problem, common to other colleagues who use Windows machines 7 Professional is this:
    I connect to WEB SSL VPN Cisco from Client Windows 7 Home Premium Explorer-9 to a virtual machine Windows 7 Professional using a specific professional audience and vpn user. I access the Terminal Services window (attached JPG) with a list of links to virtual machines.I connect to the virtual machine in Remote Desktop Full Screen mode and log in with the same user and password. For the connection is installed an add-type control ActiveX CISCO Portforwarder Control version 3.1.0.1, file name -> cscopf.ocx.
    Problem: The session window once inside the virtual machine disappears and disconnect from the virtual machine back in the window of choice of Terminal services available. This always happens and there is no way to maintain a stable connection.With modality not FULL SCREEN, the session window would seem to remain stable but however is impossible to work in a small window.
    This problem is raised after the update windows 7 to SP1 both Home premium and Professional. In fact before the update the connection is stable. The update to SP1 update the RDP client microsoft to version 6.1.7601.17154 from version 6.1.7600 but i do not know if this the cause of the problem.
    Have you an update of CISCO active-x to fix the problem? I cancelled the file and download the last version but the problem remains.
    Workaround: Use local virtual machine with xp or windos 2003 and access form this operating system but I consider absurd to use a local   
                        virtual machine to access a service which should be directed
    Note: This problem does not occur if the VPN session to the virtual machine Windows 7 is launched from a host machine running Vista Home Premium with RDP Client 6.0. My previous PC had this OS and I was working in an absolutely stable by performing the same type of connection.
    Host Operating System: OS Name Microsoft Windows 7 Home Premium Version 6.1.7601 Service Pack 1 Build 7601
    OS virtual machine accessed via ssl web vpn: OS Name Microsoft Windows 7 Professional Version 6.1.7601 Service Pack 1 Build 7601
    Can you help?Thank you.
    Carmelo Orlando
    No

    The same problem here as well.
    I am using a Win7 PC to connect to an Win Vista PC via SSLVPN. Once i logged into the remote PC, the session is disconnected.
    Do we have any corrections from Cisco for the moment?

Maybe you are looking for

  • Webinar: Change Management and Transport in the Enterprise Portal

    <b>SAP NetWeaver Know-How Network Webinar:  Change Management and Transport in the Enterprise Portal Wednesday 21 July 2004 11 a.m. EDT</b> On Wednesday 21 July, Scott Jones hosts the webinar titled <b>Change Management and Transport in the Enterpris

  • DB Adapter  Polling

    Most times our bpel processes cannot update a database table (logically or otherwise) immediately after it is polled,rather it may have to deferred after until a few business validations are done and depending on whether these were successful or not

  • Can i change the font of all subtitles in one act?

    I want to change to font of all my subtitles in my final cut pro X movie project. And i don't have time to change every single line one by one.. so is there a possibility to change all subtitels in one? sorry for my english thanks!

  • Newbie: Simplified Chinese characters are displayed as square boxes

    Hi, I am using Windows XP Simplified Chinese Version SP3, Sun JDK5.0 Update 20. I want to run Apache Ofbiz POS; however, the Chinese characters (zh) in PosUiLabels.xml are all displayed as square boxes. I have tested run Ofbiz in Mac OS X and the Sim

  • Can't reclaim space in tablespace after deleting records

    Oracle 11gR1 RHEL5 64bit Hi. I am having trouble reclaiming space from a tablespace after having deleted all (thousands) of the records from a table (which resides in that tablespace). I have tried the following options to no avail: - Alter table <ta