Re: [cgkit-user] video as a texture
Brought to you by:
mbaas
|
From: Samuel P. <sfp...@gm...> - 2010-11-14 17:47:23
|
Sounds like the first option is what I want as I'll be rendering, anyway. :-) How would one go about doing this? Didn't see anything like this in the documentation... Thanks! Sam p.s. regarding the question I had posted recently about the segfault -- I've since moved onto a different workstation and haven't had time to double back and see if I could fix the problem. If I get to it, I'll post back here about it. On Sun, Nov 14, 2010 at 9:26 AM, Matthias Baas <mat...@gm...>wrote: > On 14.11.10 00:39, Samuel Potter wrote: > > I was wondering if anyone had any ideas as to how to use a video as a > > texture? Or, better, be able to "animate" what image file I'm using > > as a source. > > You can set a new image name whenever you want to change a texture, but > this will reload the file which may be too slow for smooth playback if > the files are large. > > Streaming a video is not directly supported. You would have to decode > the video yourself and replace the image data on the GLTexture object > (using the "image" property). > There are some initial ffmpeg wrappers in the git repository which you > could use for decoding a video file. > > Cheers, > > - Matthias - > > > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > cgkit-user mailing list > cgk...@li... > https://lists.sourceforge.net/lists/listinfo/cgkit-user > |