Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

HTC Vive Development Environment

Helpful techniques for working with TouchDesigner. Answers only, no questions.

HTC Vive Development Environment

Postby jarrett » Tue Dec 20, 2016 4:55 pm

Hi Folks,

Over the last year we've been experimenting with the HTC Vive VR system. It's been real fun. Now we're excited to pass along our development environment so you can get off to a quicker start building your own VR experiences.

Also included is a fairly long guide to understanding how to use the system. Its a little deep but some very important concepts are introduced like parent shortcuts, tags and 3D ray casting / render picking.

This system and documentation is just getting started so please think of it as an alpha release. Post comments and suggestions on this thread and stay tuned for updates as well

Happy Vive-ing everyone :geek: ,

Jarrett

Get latest version here...

As of June 22 2017 there is an Oculus version of the environment as well.

As of July 6 2018 this system has been added to the TouchDesigner palette as the folder TDVR. This latest component attached here supports both Vive / OpenVR and Oculus. Just set the HMD component and Controllers component to the correct device on the custom parameters.

The zip has a PDF doc inside.
Attachments
TDVR.zip
(2.11 MiB) Downloaded 327 times
______________________
Jarrett Smith
Derivative
User avatar
jarrett
Staff
 
Posts: 84
Joined: Tue Nov 13, 2007 1:12 am
Location: Los Angeles

Re: HTC Vive Development Environment

Postby piwolf » Wed Dec 21, 2016 1:56 am

I heard about this this weekend!

teleport!! woohoo!

working great so far.

thanks for doing the dirty work Jarret!
/* --------------------*/
/* no brand */
User avatar
piwolf
 
Posts: 22
Joined: Thu Jan 10, 2013 1:43 am
Location: new york city

Re: HTC Vive Development Environment

Postby jarrett » Wed Dec 21, 2016 2:01 am

Hey Brandon!

Ha you're already teleporting! Great news!

Thanks for trying it out. I'll add some more docs on programming extensions soon.

J
______________________
Jarrett Smith
Derivative
User avatar
jarrett
Staff
 
Posts: 84
Joined: Tue Nov 13, 2007 1:12 am
Location: Los Angeles

Re: HTC Vive Development Environment

Postby pointshader » Wed Dec 21, 2016 4:44 am

Best Christmas present ever! Looking forward to digging into this over the holidays, will make some of my VR projects in progress much easier to work on.
Jonathan Thompson
@pointshader
http://pointshader.com
User avatar
pointshader
 
Posts: 178
Joined: Mon Nov 01, 2010 3:15 am
Location: NYC

Re: HTC Vive Development Environment

Postby nettoyeur » Fri Dec 23, 2016 10:45 am

Hey thanks guys! really helpful and well written guide - thanks for this christmas present!
Idzard Kwadijk | freelance TouchDesigner consultant | IdzArd.com
Checkout ChopChopChop.org - the TouchDesigner marketplace!
nettoyeur
 
Posts: 1168
Joined: Mon Oct 15, 2012 12:00 pm
Location: Amsterdam, The Netherlands

Re: HTC Vive Development Environment

Postby L05 » Sun Feb 12, 2017 4:40 pm

Hi Jarrett, thanks for sharing this!

I'm working through the environment/documentation and am getting some errors in 2017.2300 when trying to use the environment. When I move down to 2016.5580, there are no problems.

/openVR/world/indController1/eval1
Error: td.AttributeError: 'td.ParCollection' object has no attribute 'Controlcomp1' Context:/openVR/world

/openVR/world/indController2/eval1
Error: td.AttributeError: 'td.ParCollection' object has no attribute 'Controlcomp2' Context:/openVR/world

A few notes regarding the documentation:
There is a typo in the "Parent Shortcut" section (on page 22). The text refers to an Execute DAT when Evaluate DAT is intended.

In the "Making VR Compatible Components" section (page 26), we are instructed to import the teapot.tog from the Geo folder, but that folder isn't in the Zip file.

Question:
Is there a built-in way to reset my location to the origin after teleporting around?
Attachments
ViveEnvironmentError_build2300_02.png
ViveEnvironmentError_build2300_02.png (587.48 KiB) Viewed 10209 times
ViveEnvironmentError_build2300_01.png
ViveEnvironmentError_build2300_01.png (528.81 KiB) Viewed 10209 times
User avatar
L05
 
Posts: 223
Joined: Thu Jan 05, 2012 2:36 pm
Location: Los Angeles, CA

Re: HTC Vive Development Environment

Postby spaghetti » Mon Feb 13, 2017 12:07 am

Damn how did you get such a good looking environment in TD?
spaghetti
 
Posts: 37
Joined: Sat Oct 08, 2016 5:28 pm

Re: HTC Vive Development Environment

Postby jarrett » Sat Feb 18, 2017 1:01 am

Hello Vivers,

I have read the comments here and addressed them in the attached file. As well, in this version is a new custom rayCaster camera object that lets you cast a ray from a camera object that is located in the world. This will allow you to more easily support a different controller. Most people wont need it, but its the blue camera wireframe object and you can turn it off by turning off the display of /openVR/world/rayCaster. A few optimizations but otherwise things are the same. This works with version 2017.2300.

The latest version is always found at the top of this thread.

Jarrett
______________________
Jarrett Smith
Derivative
User avatar
jarrett
Staff
 
Posts: 84
Joined: Tue Nov 13, 2007 1:12 am
Location: Los Angeles

Re: HTC Vive Development Environment

Postby jarrett » Sat Feb 18, 2017 1:04 am

Oh yes L05 - I have added an O option to the controllers menu beside the W workstation mode that will reset you to the origin. I know that menu is pretty lame so I hope someone makes a better one!

J
______________________
Jarrett Smith
Derivative
User avatar
jarrett
Staff
 
Posts: 84
Joined: Tue Nov 13, 2007 1:12 am
Location: Los Angeles

Re: HTC Vive Development Environment

Postby stjohn » Sat Feb 18, 2017 3:52 pm

Hi Jarrett! (John Courte here)

OOB I'm getting an error finding Geo/TeaPot.tog. The project is on a different drive from Touch Designer. Do I need to set an environment variable or something?

cheers,
-John
stjohn
 
Posts: 1
Joined: Mon Mar 30, 2009 6:35 pm

Next

Return to Techniques

Who is online

Users browsing this forum: No registered users and 2 guests