#1
|
|||
|
|||
Different projection matrix per viewpoint
Dear Jeff,
I have implemented a solution where i can change the viewpoint with a toggle button, so i can see a topview instead of a view through the "virtual eyes". In very brief: Code:
BirdEyeView = viz.addView() BirdEyeView.setPosition([0, 50, 0]) # move camera up BirdEyeView.lookAt([0,0,0], 0) viz.MainWindow.setView(BirdEyeView) In that case, is there a way to backup the stereo projection setup and later restore it? I see you can get the projection matrix, but which one should i get, left eye, right eye, both eyes, all? the <window>.setProjectionMatrix documentation suggests if specifying a matrix for both eyes, it is automatically adjusted for the individual eyes... (NB: i see that the steamVR module has an apply method to set the projection matrix, but i am searching for a general solution, that would e.g. also work when developing on the desktop with a single non-stereo window.) Thanks and all the best, Dee |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regarding Viconnect viewpoint | rajnishv | Precision Position Tracker (PPT) | 3 | 03-21-2017 12:03 AM |
Regarding viewpoint with vizconfig,addFloatRangeItem&Storing viewpoint in PREFERENCES | rajnishv | Vizard | 0 | 06-27-2016 04:57 AM |
Projection Matrix (onto oblique near plane) | andrewjworz | Vizard | 1 | 07-13-2012 10:10 AM |
projection matrix control & child window | kwkim | Vizard | 0 | 08-31-2011 01:53 AM |