WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-18-2011, 02:01 PM
nicmurr nicmurr is offline
Member
 
Join Date: Jul 2011
Posts: 2
PanoramicHelp

Hello!

I am new to the worldviz and I am just learning Python. I work in a biomechanics lab and we are re-creating virtual environments for work with rehabilitation techniques.

I am attempting to re-create a lab setting using standard .jpg pictures that I have taken of the lab. I completed the tutorial, however when I substitute the picture call in the script it continues to show the tutorial model.

My main question is:

1) How can I route the script to the pictures that I choose instead of the worldviz tutorial model?

Thanks
Reply With Quote
  #2  
Old 07-18-2011, 06:01 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,448
Which tutorial did you use for this? Can you post some example code?
Reply With Quote
  #3  
Old 07-19-2011, 10:04 AM
nicmurr nicmurr is offline
Member
 
Join Date: Jul 2011
Posts: 2
Panorama Help

Hello Jeff,

I used the following code


import viz
viz.go()


env = viz.add(viz.ENVIRONMENT_MAP,'lab_L.jpg')

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


I essentially substituted the 'townhall_L.jpg' for lab_L.jpg'

The lab .jpg files were copied to the directory that the townhall jpgs are contained with the exact same file parameters, eg lab_negx etc


The tutorial used was Tutorial: 360 Panoramas
Reply With Quote
  #4  
Old 07-20-2011, 02:09 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,448
Can you attach the script and images you are using or upload here so I can take a look?
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


All times are GMT -7. The time now is 07:04 AM.


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