-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessing HMD matrix & setting clipping planes #4
base: develop
Are you sure you want to change the base?
Conversation
Hi Jeremy, Do you have an example of 'advanced camera work' using the new methods to get and set the HDM matrix? Also, even using the method A detail, but it would be great if you could do PR against the develop branch. I found it makes things easier for testing. Thanks, |
Hey Hugues, |
okay, just added an example to my own fork. i'm currently on a machine that doesn't have a VS license, but this should compile. the ability to set the VR camera position was a (much loved) function of DKII addon. happy to discuss how this functionality might be better integrated into ofxOpenVR. |
Great! I'm currently in a train on my MBp (so no VS too ;). I will look at all this later today or tomorrow. And yes, we will look into finding the best way to add this to the addon. |
Hey Jeremy, I'm finally coming back to this. I have done some changes to the master branch today (in order to use glm) and then I made a new branch to implement this - https://github.com/smallfly/ofxOpenVR/tree/feature-hdm_translation . I was going to use your PR, but I did not as I decided to move things around quite a bit. Anyway... This is a WIP. There are few issues still, for example with the Vive:
I will continue to work on this, Cheers. |
Adding the ability to get and set the HMD matrix (for advanced camera work) and added setters for near and far clipping planes.