![]() |
|
#5
|
|||
|
|||
|
As a summary I have one CAVE and one launcher file that works properly. I tried to copy some configuration codes from the launcher file as follows;
I tried to do the same but it gave an error like there is no config file and the problem is that original code depend on that launcher. Since my coding experience is too limited how can I do this in a simple way ? import Config viz.requireVersion(R5_REQUIRED_VIZARD_VERSION) if Config.MULTISAMPLE != 0: viz.setMultiSample(Config.MULTISAMPLE) if os.path.exists( trackerPath ): fileList = os.listdir( trackerPath ) vizconnectLauncher = None for file in fileList: if 'vizconnect_config' in file.lower() and '.pyc' not in file.lower(): if 'desktop' in file.lower(): userTrackers.insert(0, file.split('_')[-1].replace('.py', '' )) else: userTrackers.append( file.split('_')[-1].replace('.py', '' ) ) elif 'Launch_vizconnect_Control_Interface.py' == file: vizconnectLauncher = file if vizconnectLauncher is not None: userTrackers.append( vizconnectLauncher ) |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Displaying screen text in 3D (Oculus Rift) | pjayaram | Vizard | 2 | 05-27-2014 08:06 PM |
| Screen Size and Scaling | javadi | Vizard | 2 | 04-02-2013 05:56 PM |
| Attach a TexQuad to pit.osgb screen | Ducky | Vizard | 1 | 01-17-2013 02:57 PM |
| Projection Matrix (onto oblique near plane) | andrewjworz | Vizard | 1 | 07-13-2012 09:10 AM |
| position of html-file on screen | active_world | Vizard | 1 | 05-16-2008 07:24 PM |