We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
video texture (Read 1705 times)
video texture
Nov 15th, 2007, 10:56am
 
Hi All. Quick Question.

Is it possible to play video files on 3D primitives? For example:  Video on a slanted Plane.  

Cheers,
DoYon

Re: video texture
Reply #1 - Nov 15th, 2007, 2:12pm
 
yes. combine:
http://processing.org/learning/3d/texture1.html
http://processing.org/learning/libraries/loop.html
Re: video texture
Reply #2 - Nov 15th, 2007, 9:07pm
 
Sweet! thanks!
Re: video texture
Reply #3 - Nov 15th, 2007, 9:42pm
 
That texture page is disappointing. Is there a way to avoid the warping when looking at an image or video on an angle?

You will notice that as the image spins, the pixels melt up and down. This makes me sad Sad.



Re: video texture
Reply #4 - Nov 15th, 2007, 11:15pm
 
yes, you can avoid it by using the OPENGL renderer. And in P3D, this will make it nicer:
hint(ENABLE_ACCURATE_TEXTURES);
Re: video texture
Reply #5 - Nov 17th, 2007, 12:13am
 
holy crap...that was easy Smiley
Page Index Toggle Pages: 1