Follow

Advanced Teleport for the HTC Vive in any VRED Scene

Before using this script please note:

These Sample scripts are not supported under any Autodesk standard support program or service. The sample scripts are provided without warranty of any kind. Autodesk disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample scripts and documentation remains with you.

How to get started:

  • Install VRED Professional 2018.2 or higher
  • Plug a HTC Vive into your machine
  • Install SteamVR

 

How to load an Advanced Teleport Demo File:

  • Start VRED Professional 2018.2 or higher
  • Extract VRED_Advanced_Teleport_Factory.zip (Make sure the matching .z01 and .z02 files are in the same folder)
  • Optional: Extract VRED_Advanced_Teleport_Genesis.zip (Make sure the matching .z01 and .z02 files are in the same folder)
  • Open VRED_Advanced_Teleport_Factory.vpb (Optional: VRED_Advanced_Teleport_Genesis.vpb
  • In the File menu go to View -> Display -> OpenVR HMD and put HTC VIVE on your head
  • Press and hold the Trigger on the VIVE Controller to teleport in the scene

 

How to add Advanced Teleport to the VRED File menu as Plugin:

  • Extract VRED-Toolkit.zip and move the Folder VRED-Toolkit to ~username\Documents\Autodesk\Vred-Version\ScriptPlugins
    (i.E. C:\Users\nagels\Documents\Autodesk\VRED-10.2\ScriptPlugins\VRED-Toolkit; please create the folderstructure in case it does not exist)

How to use Advanced Teleport in VRED with any scene:

How to use Advanced Teleport in VRED

  • Start VRED Professional 2018.2 or higher
  • Load any VPB Scene or another supported VRED file format
  • In the File menu go to VR Tools -> Add VIVE Advanced Teleport
    Filemenu VIVE Advanced Teleport
  • In the File menu go to View -> Display -> OpenVR HMD and put HTC VIVE on your head

 

How to define on which objects you can teleport:

Easy

  1. In the File menu go to View -> Display -> OpenVR HMD and put HTC VIVE on your head
  2. Press and hold the Touchpad on the VIVE Controller and aim with the green ray on the floor, then release
  3. Press and hold the Trigger on the VIVE Controller and aim with the green ray to where you want to teleport, then release
  4. If you want to be able teleport onto more objects, repeat step 2 if necessary

Advanced

  • Select objects on which you want to teleport (usually you would choose the ground floor on each floor, stairs and platforms...)
  • Add Scene Tag "_toolkit_tp_ground" to those objects
    • Open split Scenegraph by dragging the dotted line in the Scenegraph module up
    • Change the lower Scenegraph from "Scene Graph" to "Scene Tags"
    • Drag the selected nodes from the upper Scenegraph to the lower Scene Tag "_toolkit_tp_ground" 
  • Select objects that you want to exclude from teleporting (usually you would choose glass, windows, doors, billboards...)
  • Add Scene Tag "_toolkit_tp_exclude" to those objects
    • Open split Scenegraph by dragging the dotted line up
    • Change the lower Scenegraph from "Scene Graph" to "Scene Tags"
    • Drag the selected nodes from the upper Scenegraph to the lower Scene Tag "_toolkit_tp_exclude"
  • See Readme.me in the plugin folder for more technical information. Steps from Easy still apply

    

 

How to create Viewpoints:

Easy

  1. In the Scenegraph select the node "TelePort_1" (Teleport - TelePortPoints - TelePort_1)
  2. Move that node in your scene to set the position of a Viewpoint
  3. For more Viewpoints, duplicate any TelePort node and repeat steps 2 and 3 as necessary
  4. In the File menu, go to View -> Display -> OpenVR HMD and put HTC VIVE on your head
  5. Press the Trigger on the VIVE controller, aim with the green ray on the Viewpoint and release the trigger

Advanced

  • In the Scenegraph select the Node "TelePort_1" (Teleport - TelePortPoints - TelePort_1)
  • Move that node in your scene to set the position of a Viewpoint
  • Review the children of the Switch Node "View_Direction" (Teleport - TelePortPoints - TelePort_1 - View_Direction)
  • Change the State of this Switch Node to change the behaviour of the Viewpoint (additional to position changes):
    • Keep: This Viewpoint will simply keep your view direction in your scene (probably most common)
    • Fixed: This Viewpoint will change your view direction in relation to your real environment (can be used to have a fixed orientation to your real world)
    • Direction: This Viewpoint will change your view direction based on the direction of the arrow in your virtual scene (can be used to guide the user's view through a scene)
    • Viewpoint: This Viewpoint will change your view direction and height (can be used to look exactly from a certain position, no matter where you currently are, where you look at and how tall you are)
  • Change the Position and the Rotation (Z-axis) of the Viewpoint

 

 

Video Tutorial: https://youtu.be/0gvSujMefww

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.