#2
|
|||
|
|||
When you add the JumpTo transport you can specify a simple text (.txt) file with each location defined on it's own line. For example, the following specifies three jumpto locations:
Code:
[0, 1.8, 0], [0, 0, 0] [0, 8, 0], [0, 0, 0] [0, 0, 10], [90, 0, 0] Code:
# You can directly set the list of locations... vizconnect.getRawTransport().setLocationList([ ([0, 1.8, 0], [0, 0, 0]), ([0, 8, 0], [0, 0, 0]), ([0, 0, 10], [90, 0, 0]), ]) Code:
# load a file through code vizconnect.getRawTransport().load("locations.txt") After you add the transport in vizconnect, you need to press the mappings button to map input signals to the jumpto commands (e.g. jumpto, select next, select previous). Through the script it should be possible to get a handle to a 3ds Max camera in the model file, get the camera's position and orientation, and then save that data to the transport's location list. |
Tags |
vizconnect |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vizconnect and MainView | craigpet | Vizard | 2 | 08-27-2015 04:41 PM |
Zspace display in Vizconnect | JB_HP_Viz | Vizard | 5 | 06-05-2015 03:28 PM |
How to map HTML button to Transport in Vizconnect | JB_HP_Viz | Vizard | 3 | 02-24-2015 07:38 PM |
Switching between input devices setup in vizconnect and not using vizconnect | JB_HP_Viz | Vizard | 1 | 01-20-2015 05:19 AM |
Vizconnect Save As Dialog | Jeff | Vizard | 0 | 05-01-2014 09:45 AM |