hopbin9 Posted January 26, 2011 Share Posted January 26, 2011 Hi, Is it possible to use a video (i.e. AVI or QT) as a texture map in Houdini? Thanks, Quote Link to comment Share on other sites More sharing options...
lukeiamyourfather Posted January 26, 2011 Share Posted January 26, 2011 Yes, this is possible. Someone please correct me if this is wrong. You'll have to convert the video to just single frame images first. When plugging in the image file use $F to represent which image of the sequence you want ($F is local variable for the current frame). Or use $F4 for padding of four, $F5 for padding of five, etc. An example is below to give you an idea. Image sequence for texture: image0001.png image0002.png image0003.png image0004.png image0005.png image... Example path for Houdini: $HIP/textures/image$F4.png Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted January 26, 2011 Author Share Posted January 26, 2011 Thanks, I can do that, but was wondering if I can avoid having to convert the video to image sequences. Quote Link to comment Share on other sites More sharing options...
lukeiamyourfather Posted January 26, 2011 Share Posted January 26, 2011 Thanks, I can do that, but was wondering if I can avoid having to convert the video to image sequences. As far as I know the Texture VOP node supports only single frame image formats. You'll have to convert the video to images first. Any compositing application should handle this or if you don't have access to any you can use ffmpeg, replace the paths and width/height accordingly. ffmpeg -i foo.avi -r 1 -s WxH -f image2 foo-%04d.png Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted January 26, 2011 Author Share Posted January 26, 2011 Thanks, I can batch automate it now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.