For a project i need to have a video play over a rotating cube. Each side of the cube needs to be a continuation of the next frame of the movie.
I have put a reference image down below.
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.Sign up to join this community
This is mildly tricky but because it is a cube, not terribly difficult.
You need to UV Map the cube so that each face is a separate UV "island".
Select the cube
Enter edit mode
The use the edge menu to 'mark seam' all of the seams. You bring up the edge menu by typing CTRL-E[![Marking all the edges as seams]]
Now create a shader for the cube by going to Material Properties and clicking the '+' sign.
In the shader editor window you will have a new shader that consists of only the principled shader.
Add an image texture node.
[![added an image texture node]]
connect its color to the shader's color input
connect its alpha to the shader's alpha, as shown.
Click the file icon and select your movie. In my example I picked an mp3.
Set the file type to movie
Set the number of frames to the number of frames in the movie.
Now comes the 'fun' part. Your movie won't have the same aspect ratio as a cube. So you need to unwrap and position the cube's faces one at a time. Here's how.
Open a UV editor window and a 3D window. (In 2.9 you can go to the "UV Editing Tab"
In the drop down window of UV editor, select your movie[![selecting a movie]]
In the 3d view select the cube and go into edit mode. Select one face of the cube. Type UU. The first U will bring up a menu: [![unwrapping menu]]
The second U selects the first entry "unwrap"
Now a square will appear on your movie[![The unwrapped face.]]
You need to do this for each of the six faces. You may need to move and rotate the squares in the UV editor to get the movie in the orientation you want. : https://i.stack.imgur.com/iqcYq.png : https://i.stack.imgur.com/rUcYY.png : https://i.stack.imgur.com/425j8.png : https://i.stack.imgur.com/m3xDd.png : https://i.stack.imgur.com/iTDqV.png