7
$\begingroup$

I am making an animation where the camera moves around. I would like the texture of the object stay normal to the camera's view for each frame. (ie. equivalent to selecting "project from view" on each frame and then rendering each frame independently)

Please see the picture below for an example. There could be 1000s of frames so I don't want to be making a huge "baked texture" file.

What is the simplest way to do this?

Thanks!

enter image description here

$\endgroup$
8
$\begingroup$

Using WINDOW TEXTURE COORDINATE

Use a Window texture coordinate for mapping. Adjust Location, Rotation and Scale parameters of the Mapping node to make the texture fit the object borders. enter image description here enter image description here


Using UV PROJECT MODIFIER

Subdivide your cube a few times and unwrap it (I've marked seams and then unwrapped). enter image description here

Add the UV Project Modifier. Set up your image texture, set the Camera as a projector. If the image doesn't display correctly adjust the Aspect values. enter image description here enter image description here

$\endgroup$
  • $\begingroup$ Why is your second animation so much smoother? $\endgroup$ – JAB Oct 27 '16 at 0:06
  • $\begingroup$ Because it has been rendered. $\endgroup$ – Paul Gonet Oct 27 '16 at 0:34
  • $\begingroup$ @PaulGonet - Do you know if it's possible to bake this projection? $\endgroup$ – Neil Jan 10 '17 at 9:59
  • $\begingroup$ @Neil Yes, in a way. There is projection paint, which works like the modifier except you unwrap the mesh from a certain angle and then use the project paint brush in texture paint mode. $\endgroup$ – Leander Feb 21 '17 at 18:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.