WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-26-2013, 10:31 AM
disbeat disbeat is offline
Member
 
Join Date: Oct 2010
Posts: 36
Spheric skydome for panorama

Hi,

I am wondering if anyone as tried to use a spheric environmental map instead of the cubic one refered in the help.

Thanks,
Marco Simões
Reply With Quote
  #2  
Old 05-06-2013, 09:57 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Vizard comes with a few models that use a panoramic 2d image to create a sky dome, instead of a cube map. Have a look at the sky_day.osgb and sky_night.osgb models in the resources folder. Both those models were created with 3ds Max.
Reply With Quote
  #3  
Old 05-07-2013, 03:02 AM
disbeat disbeat is offline
Member
 
Join Date: Oct 2010
Posts: 36
Hi farshizzo,

Thank you a lot for your reply!

I looked into those models, but still I'm having troubles achieving my goal.

I cannot import osgb files into 3ds max (I think...) so I tried to do some attempts to texture over those model directly in vizard.

I could not get the result I was hoping for...

I'm attaching one example of panorama I'm trying to use. Could you give me some feedback on how to proceed?

Thank you a lot!

-- Marco Simões
Attached Thumbnails
Click image for larger version

Name:	panorama.jpg
Views:	987
Size:	542.0 KB
ID:	592  
Reply With Quote
  #4  
Old 05-09-2013, 09:10 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You will need to create your own model with the proper UV coordinates.

The sample image you provided looks like it can be applied to a standard cylinder. Try the following code:
Code:
import viz
import vizshape

viz.go()
viz.fov(60)

panorama = viz.add('panorama.jpg')
cyl = vizshape.addCylinder(radius=100,height=200,slices=100,flipFaces=True,top=False,bottom=False)
cyl.texture(panorama)
viz.link(viz.MainView,cyl,mask=viz.LINK_POS)
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
Skydome texture problem theuberk Vizard 2 01-18-2008 05:56 AM


All times are GMT -7. The time now is 02:27 PM.


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