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$

1 Answer 1

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$
4
  • $\begingroup$ Why is your second animation so much smoother? $\endgroup$
    – JAB
    Oct 27, 2016 at 0:06
  • $\begingroup$ Because it has been rendered. $\endgroup$
    – Paul Gonet
    Oct 27, 2016 at 0:34
  • $\begingroup$ @PaulGonet - Do you know if it's possible to bake this projection? $\endgroup$
    – Neil
    Jan 10, 2017 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, 2017 at 18:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .