Jump to content
MilesS1

Baking Camera Projection on Geometry

Recommended Posts

Hey Everyone, 

Can anyone give me information about baking a texture onto an object?

So I projected camera footage onto an object however I'm making the object disintegrate like paper and need the projected texture to remain on the object after it has disintegrated. 

I can't seem to find any resources about this?

Many thanks in advance :)

Edited by MilesS1

Share this post


Link to post
Share on other sites

From what I understand you want to make a camera mapping with a sequence of image and probably a moving camera with a matchmoved object that you then disintegrate ?

If yes, you need to "freeze" your object on the first frame, before it disintegrate (Timeshift), then create UVs based on "Perspective from camera" (with your animated camera, as you project footage and not a fixed image, I guess). Then you transfer the attributes with an Attribute Wrangle set to Run  OVer Vertices with :

int success;
@uv = vertexattrib(1,"uv",@elemnum, success);

Then you apply your material, where the texture is your footage.

 

The network should look like this :

image.png.aa40baaf003abe3df038065a7e495923.png

It has worked properly for me for geometry that was destroyed and crumbled. It won't work if you disintegrate your geo (ie. if the geometry changes : in my example the AttriWrangle transfers the UV correctly because topology don't change, I have same number ofpoints, vertices and primitives). So you would have to disintegrate after the material, or use another attribute transfer method.

Hope that helps

Edited by StepbyStepVFX

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×