1
$\begingroup$

For my purposes, I have to return a texture in the original UV layout. Is there a way to either reverse from a perspective applied projection to the original layout or can I in another way maintain the original UV layout while doing a projection map?

Edit: There was a large amount of confusion over what was going on so I've made a demonstration. Imaginary Original UV

The UV that I end up with must have this same layout as I am exporting to a 3rd party software. I then a projection map of an image which results in the flattened 3d UV layout.

Post-Projection map UV layout

I need to somehow get the same effect (an image is applied to a model) while maintaining the original UV layout. Is there a way I can do this in Blender or with other tools?

$\endgroup$
6
  • 3
    $\begingroup$ You can have multiple UV layers, just click the little plus sign under Object Data > UV Maps. Related: Camera projection without generating UV's? $\endgroup$
    – brockmann
    Aug 9, 2021 at 14:19
  • $\begingroup$ @brockmann I have created a new UV and have the image that is being projected as a material. The issue is that this projection is still only working on the modified UV. Is there a way where I can now work backward and fit the image that works with the modified UV to the original one? $\endgroup$ Aug 9, 2021 at 15:59
  • 1
    $\begingroup$ No idea what you mean by "it's only working on the modified UVs"... Recommend edit your question and add all relevant details, ideally share a minified blend. Also I'd suggest take the tour to learn about how this site works. $\endgroup$
    – brockmann
    Aug 9, 2021 at 16:04
  • $\begingroup$ if you have multiple UV maps you need to specify in the shader node setup which one to use and in the UV map list which one to use for render and in the viewport -- if this is your question?? Please clarify your question. $\endgroup$
    – Blunder
    Aug 9, 2021 at 18:21
  • $\begingroup$ @brockmann Fixed description to describe better. $\endgroup$ Aug 10, 2021 at 3:34

1 Answer 1

2
$\begingroup$

Bake down the projection by using the emission pass

In order to maintain the original UV layout, you can bake down your projection. It's a little bit cumbersome to setup but Cycles usually does a very good job when it comes to baking.

  1. Set up an 'Emission material' (the image plugged into an emission shader) for your object and add one additional Image Texture node

  2. Assign a new blank image to the newly created Image Texture node by clicking on the + New button (which opens a pop-up to configure the image) and make the node active

    enter image description here

  3. Under Object Data > UV Maps, make sure the original UV layer is the selected one in the list and your projection layer is 'active for rendering' by turning on the 'Camera Icon'

  4. Go to the Render Properties > Bake, set the Bake Type to Emit and hit 'Bake'

  5. Set the original layer to 'active for rendering' by clicking the 'Camera Icon'

  6. Connect the resulting image (the actual bake) and see whether its working properly

  7. Save the resulting image (Image Editor > Image > Save)

Result

Result of setting up a camera projection on the default scene and baking down the projection using the emission pass to maintain the default UV's of the 'Default Cube':

enter image description here

Related

$\endgroup$

You must log in to answer this question.

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