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.
IndexProgramming Questions & HelpSyntax Questions › GSMovie + GSTexture + sphere
Page Index Toggle Pages: 1
GSMovie + GSTexture + sphere (Read 432 times)
GSMovie + GSTexture + sphere
Dec 7th, 2009, 5:10am
 
Hi to all, in previous post asks about how to build a panorama player but using a video instead a image.

And i think that i have found a way, please correctme if i am wrong.

1. build a sphere.
2. create a GSMovie object.
3. create a GLTexture and put the video inside.
4. use the texture to map the sphere

This aproach works, but when i rotate the sphere seems like the texture dont update and do strange things.....

This is a good aproach to do that? any other way?

I´ve uploaded my sktech, this works, but when i try to rotate the cube the video texture distorts... so i think that it can be something like i forget ot refresh or something like that, but i cant found why.

http://www.sendspace.com/file/fb38fu


Page Index Toggle Pages: 1