WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 08-23-2016, 06:06 PM
rich0550 rich0550 is offline
Member
 
Join Date: Aug 2016
Posts: 6
Thanks Jeff,

I got that much going. The scene I am working on is here. The scene is a house with a pool that has a mechanical top that goes up and down.

https://vimeo.com/130244140


We want to use WorldViz to show interactively how it works. Push a button see it cycle through the up and down positions. Also would be great to be able to walk on it, and be lowered by it. And be able to turn off the scene and watch the inner workings of the pistons and such.

I imported the OSGB of the pool (animated) and an OSGB of the house. The VR camera position looks wrong. The scale is wrong. Also I need to add the lighting back and most textures are not there. Can you advise me on getting some of the basics of this script going. Like having the scale correct and the VR cam able to move around starting in the correct point.

The max scene is in centimeters do i need to export osgb to centimeters or just set conversion to none?

how about getting the VR in the correct position in the scene or able to move about the scene. going down in the pool area and walking on the deck?

The lighting and textures I think I can follow the tutorial for that.

how about stopping the animated OSGB of the pool. or starting it how is that done? Sorry allot of questions this is about what I need to get this going.

I was able to get a good visconnect script (using vizconnect) to drop it in the file that was configured for the vive including hands. thanks. I backed off for now on that , and put back in this basic connections to the headset for starters.

Script below.

import viz
import vizfx
import vizconnect

import steamvr
hmd = steamvr.HMD()
viz.link(hmd.getSensor(), viz.MainView)

viz.setMultiSample(4)
viz.fov(60)
viz.go()

#Add environment model
day = viz.addChild('sky_day.osgb')

#Add Pool
pool = viz.addChild('Pool-none.OSGB')
pool.setScale([0,0,0])
pool.setPosition([0,0,0])

#Add house
house = viz.addChild('house.osgb')
house.setScale([0,0,0])
house.setPosition([0,0,0])

Last edited by rich0550; 08-23-2016 at 06:10 PM.
Reply With Quote
 


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
HTC Vive Controller not working Seadna Vizard 4 04-21-2021 07:40 AM
more than two vive hand controllers with one lighthouse pitbool Vizard 1 07-15-2016 03:49 AM
PPT markers off in Vive? pitbool Precision Position Tracker (PPT) 4 06-09-2016 11:20 PM
Using hotspots to enable opening doors TrashcanPatrol Vizard 7 10-21-2008 02:42 PM


All times are GMT -7. The time now is 03:01 PM.


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