|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
Regarding viewpoint with vizconfig,addFloatRangeItem&Storing viewpoint in PREFERENCES
Hi Jeff,
I want to set the viewpoint via addFloatRangeItem functon as shown below. and also viewpoint accepts many parameters, but confused how to used the viewpoint thru vizconnect. my FOV is working as its only one single value. And also if i m setting my viewpoint ,at that time when i close my vizard executed application,then i want to store that value in the PRERERENCES,so that when i executes or open my application,i should get the viewpoint restored of the last viewpoint before closing the application. What and which module to use with vizard to get the shared preferences. Code for Review: #Create a configurable object for stereo settings bc= vizconfig.BasicConfigurable('VR ViewPoint Setter') bc.addFloatRangeItem('Set X viewpoint value',[0.5,10],fset=vizconnect.addViewpoint,fget=vizconnect.getV iewpoint) #bc.addFloatRangeItem('Set Y viewpoint value',[0.5,10],fset=vizconnect.addViewpoint,fget=viz.MainWindow. getScreenDistance) #bc.addFloatRangeItem('Set Z viewpoint value',[.5,10],fset=vizconnect.addViewpoint,fget=viz.MainWindow. getFusionDistance) bc.addFloatRangeItem('Set Feild of View',[0.5,10],fset=viz.MainWindow.fov,fget=viz.MainWindow.getVe rticalFOV) Waiting for ur reply Thanx & Regards: Mr.Rajnish Vishwakarma VR Developer ar Xenium Digital Pvt. Ltd.,Mumbai(Customer of World Viz) |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regarding Viconnect viewpoint | rajnishv | Precision Position Tracker (PPT) | 3 | 03-21-2017 12:03 AM |
How to track the actual viewpoint | Jerry | Vizard | 3 | 05-25-2016 10:44 AM |
Avatar w/ hat cannot look at viewpoint | TrashcanPatrol | Vizard | 5 | 08-19-2008 09:26 AM |
VRML Viewpoint error | bstankie | Vizard | 1 | 03-11-2003 03:10 PM |