WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   360 panorama (https://forum.worldviz.com/showthread.php?t=5542)

sonika 11-04-2015 11:29 AM

360 panorama
 
Hello World Viz,
I'm new to using World Viz and Python. I would like to create a 360 panorama executable using Viz. I have the 6 cube faces images ready. But am unable to run the script.
Can someone help me with that?

Jeff 11-04-2015 04:06 PM

The panorama tutorial shows how to add an environment map. Are you getting an error when you run your script?

sonika 11-08-2015 09:26 PM

I did follow the tutorials. But it does not load anything.
When I try to create an executable, it just creates a blank page. Not sure what I am doing incorrect.

Are there any references for writing the script other than that? I just simply need to use the images to create a 360 panorama executable to be used with Oculus.

Jeff 11-09-2015 09:27 AM

Does it work when you run from the source file?

sonika 11-09-2015 10:49 AM

I'm using the following script.

import sys
import viz
import vizact
import oculus

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

hmd = oculus.Rift()
viz.link(hmd.getSensor(), viz.MainView)

env = viz.addEnvironmentMap('beachscene.png')

sky = viz.addCustomNode('skydome.dlc')
sky.texture(env)


But when i run the script, all i get is a blank new window. I am not able to see the 360 panorama. Cannot create an executable. Am I missing something?

sonika 11-10-2015 11:08 AM

Any suggestion Jeff?
Running the script does not result in anything at all. Just opens another blank screen window.

I'm assuming loading the 6 cube images into a 360 panorama should be a fairly simple step as thats all I need to do. No animations or modeling involved.

Is there any reference that I should look at for the script? or can someone help me with that?

Thanks much.

Jeff 11-10-2015 01:50 PM

Can you attach the environment map images here?

sonika 11-12-2015 12:01 PM

Jeff,
I have uploaded my files on WorldViz server. The reference number is 1499183.

Jeff 11-12-2015 02:25 PM

Your script worked for me and displayed the panorama within the DK2. Perhaps the Oculus is not connecting on your machine. Try running the oculusExample.py script included with the Vizard installation and verify that works. Currently Vizard is not compatible with Oculus runtimes 0.7 and above.


All times are GMT -7. The time now is 03:29 AM.

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