WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-26-2016, 03:01 PM
szkuls szkuls is offline
Member
 
Join Date: Dec 2015
Posts: 2
How do you use vizconnect Transport-JumpTo

Hi,

I am trying to get the mainview to jump to various locations in a scene. Vizconnect transport jumpto seems like it could do that.

I am perplexed as to how I use jumptos. After adding the jumpto transport in vizconnect and open the settings there is a text field to select a file. What file type is supposed to be used here?

Can I pre-populate this file with location in 3ds max?

In short I am looking for an example or tutorial on how to get jumptos in vizconnect working.

Thanks,
Reply With Quote
  #2  
Old 05-27-2016, 05:34 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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]
You don't need to specify a text file when the transport is added in vizconnect. You can also add the locations through the code:

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]),
])
or specify the text file through the code:

Code:
# load a file through code
vizconnect.getRawTransport().load("locations.txt")
The orientation component of the location data is used when both 'use orientation' and 'force orientation to pivot' are enabled in the transport settings.

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.
Reply With Quote
Reply

Tags
vizconnect

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -7. The time now is 05:51 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC