WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 05-05-2016, 01:10 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You can apply the video to a sphere with normals pointing inwards. Here's an example:

Code:
import viz
import vizshape
viz.go()

video = viz.addVideo('sphericalVideo.mp4')
sphere = vizshape.addSphere(flipFaces=True)
sphere.texture(video)
 
#Play and loop the video
video.play() 
video.loop() 

#Make sure sphere appears at infinite distance
#This allows other objects to be rendered in front
sphere.disable(viz.DEPTH_TEST)
sphere.drawOrder(-100)

#Keep sphere centered around main view
viz.link(viz.MainView,sphere,mask=viz.LINK_POS)

#Setup a panorama camera navigation
import vizcam
vizcam.PanoramaNavigate()
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
Playing a video on a object that is moving. Jose Vizard 8 01-29-2015 01:22 PM
video restarting on right click in architectural interactive raj Vizard 4 08-21-2014 01:39 AM
synching video camera recording with vizard billjarrold Vizard 0 12-15-2009 11:43 PM
Video Background vvortex3 Vizard 5 05-29-2009 04:46 PM
video help nasr Vizard 2 05-26-2009 11:42 AM


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


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