Questions tagged [vizard]

Commercial, Python based Virtual Reality toolkit from WorldViz

The Vizard Virtual Reality toolkit ( sold by WorldViz ) is used to create 3D visual simulations using the supplied Python libraries.

28 questions
3
votes
1 answer

Offset Euler Angles using rotation matrix

I'm looking for the correct way to apply an offset to a set of Euler rotations. I would like to have a transformation where given a specific set of Euler angles (x1,y1,z1), if I transform them I would get an Euler sequence of (0,0,0). All other…
3
votes
1 answer

Rotation matrix to quaternion equivalence

I am tracking 3 points (3D, x y z) on a rigid body, which I use to define a local coordinate system. I am using this local coordinate system's orientation (in the global frame of reference) to set the view orientation in a VR program. To do this,…
3
votes
2 answers

Close Python script, then immediately relaunch

I'm using Python (Vizard) to launch a virtual reality environment on a laptop remotely. I need to do this remotely, because the laptop is closed and being worn in a backpack by the user who is also wearing a head mounted display. I am able to open a…
CaptainProg
  • 5,610
  • 23
  • 71
  • 116
2
votes
2 answers

How to schedule action at various timings from a list in Python

I am trying to schedule an action (a beep sound) in Vizard using Python. However, I want the beep to happen at certain timings since onset of the trial. What I have so far gives me (for example, after running it once) a list of times times: [ …
Spica
  • 127
  • 2
  • 10
2
votes
0 answers

Oculus rift Camera turn issue using Vizard

I'm trying to use Vizard 5 to make a simulation with the Oculus rift. I can't get the mouse to be linked to the MainView method while the oculus is also connected to the mainview, meaning I want to make the mouse move the camera and the oculus also…
sdeole8264
  • 21
  • 1
2
votes
1 answer

How to draw 10,000+ objects and move them and get 60fps+ in Vizard Python

I am trying to create a world in Vizard 4.0 that automatically generates 10,000+ objects in it. Once these objects are made, I want to fly through them or make them move at a certain speed in any direction I want. I have written code for this but…
1
vote
0 answers

Create Two sequential tasks for images in Vizard

I'm new in Vizard. I'm trying to create a simple code to perform two tasks sequentially for a specific time set: A black image for 0.8 seconds A sequence of images (from a folder) taken randomly, for 1.5 seconds. I can perform these task…
eleonora92
  • 41
  • 2
1
vote
1 answer

Buttons in vizard

I am developing a GUI in Vizard in which i am using radio buttons to select correct options, but I have a problem that I cannot solve. In every group of radio buttons the 1st button always appears to be selected, but is actually not selected. The…
Leo.peis
  • 13,673
  • 6
  • 22
  • 20
1
vote
1 answer

Creating Python classes and adding an osgb file

I am trying to create a class in python for a planet. It simply want to attach an osgb file to this class. Currently I am adding my models to the program like this... import viz import vizact import vizmat import vizcam import…
Javacadabra
  • 5,578
  • 15
  • 84
  • 152
1
vote
1 answer

Am I using 'ontimer' incorrectly in Vizard?

I am very new to programming in Vizard, but I am a pretty strong .js programmer. I have an art gallery and I want a man to walk from picture to picture. He needs to wait for a few seconds at each picture. So I have a number of walking sequences and…
Daft
  • 10,277
  • 15
  • 63
  • 105
0
votes
0 answers

I want to add geotiff images in vizard

I want to add geo tiff images in vizard software , it does not have any built in plug in. help me with the python code. I want a python code to load that images an also be able to navigate through the images ,with its details. I tried loading the…
Manasi
  • 1
0
votes
0 answers

Is there a Vizard function to get virtual coordinates from a wand/hand tracker?

Trying to get virtual coordinates from my wand in Vizard 7. Using the MainView.getPosition function, I was able to get the virtual coordinates of the head tracker. Is there a function that can similarly show me the virtual world coordinates of my…
0
votes
0 answers

Is there a way to export a CSF/XSF file from 3ds Max?

I need to convert my avatars (format fbx) with motion capture animation into a cfg file for vizard to use. I could not find any programs that could convert the parts of my fbx file to file formats required to make a cfg file (CSF, CAF, CRF). I've…
Dammy
  • 1
0
votes
0 answers

How to display vizard environment in real-time BEFORE the code finishes

Here is my code: import time import viz import oculus class virtualWorld: def __init__(self, virtualFileInd = 0, usingHeadset = False): # Parameters of the virtual world self.virtualDisplay = None …
0
votes
0 answers

How to make objects avoid one another

I have an array of objects that I've set in random positions. Vizard has this proximity sensor/target feature which I've used to assign a sensor to each car and also made each car a target. However, when I create an action for each sensor/target…
1
2