WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-17-2016, 05:38 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
It will be easier to use vizconnect for the setup. You can also use the same vizconnect file with the demo launcher and any of your own Vizard applications. Attached is a file you can try out. First run the vizconnect file directly. You'll need to go to the transports tab and press the mapping button to choose which xbox signals drive the transport. There's a height offset added to the DK2 tracker. Remove this offset if you're using position tracking. Once the config file works on it's own you can import it into other scripts.
Attached Files
File Type: zip vizconnect_oculus_xbox.zip (3.2 KB, 5016 views)
Reply With Quote
  #2  
Old 03-20-2016, 10:00 PM
prilpi prilpi is offline
Member
 
Join Date: Feb 2016
Posts: 11
Hi Jeff,

VUALA !! It works!!!

Thanks a lot for the help
It keeps me improving every day...

I used the vizconnect file you sent me for the "piazza" and also copy it to the "maze" - both works great.
I didn't need to set the xbox controller mapping for the transport since it was already set (by default? or set by you before ?)

I tried to copy that same vizconnect config and use it with the "pit" but again
there is still a conflict and i cant get it to work (?)

I think its cuz "faller" linked to head_tracker / main view:

# Create tracked faller and link to main view
faller = PitTrackedFaller(head_tracker)
viz.link(faller,viz.MainView)

and vizcam assigned "head_tracker" to keyboard/mouse navigator :

# Simulate head tracker using keyboard/mouse navigator
head_tracker = vizcam.addWalkNavigate()
head_tracker.setPosition([0,1.5,0])
viz.mouse.setVisible(False)

When i disable the code above and import vizconnect -
oculus + controller works fine but..
No falling when i shift the floor..

I really hope you can guide me thru that "pit" faller issue..
(its not a must for me but that is a great way convincing people with VR..)

Next, ill try to run some tests with imported sketchup scenes (oculus + controller) and to get knowing my way with the inspector..

Thanks again for the great help !
I look forward to your response

Ofri
Reply With Quote
  #3  
Old 03-20-2016, 10:46 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
The demo launcher includes a version of the pit demo that works with vizconnect. Copy your vizconnect config file into the same folder as the launcher and then you'll have the option to select that config at run time. See the demo launcher tech tip for instructions on installing/running the launcher. It's not necessary to follow the 'configuring hardware' section since you already have a vizconnect file.
Reply With Quote
  #4  
Old 03-23-2016, 02:48 PM
prilpi prilpi is offline
Member
 
Join Date: Feb 2016
Posts: 11
Hi Jeff,

I run the demo launcher and downloaded the demo scenes.
Then i copied vizconnect config file into the same folder as the launcher

It all worked great until suddenly for some reason (?) when i'm looking around or moving around with the controller, the image in the oculus turns "jumpy" !!!

It just appeared from no where... i didn't change anything in the vizconnect config..
by the way, image on the PC screen is smooth
and the "maze" scene runs smooth.
any other scene with or without vizconnect turns "jumpy" in the Oculus..

what am i missing here ???
Reply With Quote
Reply

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
Turn using keyboard when using Oculus Seadna Vizard 9 01-12-2016 10:54 PM
Oculus setZoom mshukun Vizard 3 10-24-2014 08:04 AM


All times are GMT -7. The time now is 08:10 PM.


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