WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-16-2013, 02:03 PM
Jose Jose is offline
Member
 
Join Date: May 2013
Posts: 5
Playing a video on a object that is moving.

Hi,

Some background to understand my problem.

In my code I have a car that you can drive with the keyboard.

I added a plane (geometric plane, not an airplane) in front of the car. I have a parent relationship between the plane and the car. So that the plane moves with the car.

Then I want to project a video in the plane that is in front of the car. So I apply the video with a texture (myScreen.texture(LCVideo))

I get this error message:

** ERROR: Failed to construct graph (Pins cannot connect due to not supporting the same transport.)
** ERROR: Failed to load video: 'LandoltCTest.avi'

I'm able to play the video on another code so its not the video.

Below is the part of the code of interest:

LCVideo = viz.addVideo( 'LandoltCTest.avi' )
myScreen = vizshape.addPlane( size=(0.5,0.5),axis=vizshape.AXIS_Y,cullFace=True)
myScreen.parent(self.body)
myScreen.setPosition([0,.75,1])
myScreen.setEuler([0,-90,0])
myScreen.texture(LCVideo)

Thank you of any help that can be given here. This is my first post.
Reply With Quote
 

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
moving object forward backward Zword Vizard 4 01-20-2011 09:21 AM
retrieve Object names Geoffrey Vizard 11 12-11-2009 05:26 AM
Attaching sound to a moving object GiudiceLab Vizard 6 08-21-2009 09:52 AM
moving and object by mouse but don't know how to stop the movement nlfrnassimi Vizard 8 04-26-2009 08:23 AM
Moving view with object Xliben Vizard 2 07-25-2005 06:36 PM


All times are GMT -7. The time now is 09:27 AM.


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