A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
issue with flipped/mirrored normal/displacement map
Posted: 18 August 2019 07:53 PM   [ Ignore ]  
Total Posts:  5
Joined  2019-04-02

Hello C4D-fellows,

maybe this issue was already discussed somewhere, but I couldn´t find any Information in the forum.

I sculped an object and baked the normal and displacement map (method: tangent). Due to the need of a right and a left version of the object, I copied it and mirrored it by changing the coordinates to X: -1.
Unfortunately the normal/displacement of the object is now “inside out”.

I had following ideas for a solution, but they didn´t work out:
- changing the texture tag coordinated to X: -1
- flipping X and/or Y of the normal map in the material editor

Does anyone know how I could mirror the object properly?
Help will be very appreciated.

Profile
 
 
Posted: 19 August 2019 01:01 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi AnSa,

I assume the Symmetry nor the Mirror Tool gave you what you needed.
screen capture
https://www.amazon.com/clouddrive/share/fcPBnrMNyGhPw9OzDWxwYb7COf1hpb367iXFpKURYNA


Your questions:

The S.X = -1 can be quickly healed with an Empty Polygon as a parent and then use: Object Manager> Objects> Connect Objects + Delete.

The Normals can be fixed with Mesh> Normals> Reverse Normals.

The Flip X should work, check if the result requires it at all. My set ups here do not require it in Tangential mode.

(Testing it in different scenarios, I saw rarely problems, e.g., the Normalizer doesn’t need a red flip.) If the Flip X is required, test this, it needs a copy of the material of course.
I would suggest to bake the Normal after the mirroring. (Note: Flipping UV Polygons didn’t help in such cases, as it changed the texture as well.)

Here is a little screen capture:
https://www.amazon.com/clouddrive/share/q1EZ2Jv6gOiJEigCN3Xk2KMJ0apqSEJyfzK2nRObGtZ

Let me know if you like an upload link, so I can explore your object.

All the best

(edited)

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 19 August 2019 04:41 AM   [ Ignore ]   [ # 2 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

P.S.: since the sequence of mirrored textures, reversed Normals and the resulting question of reversing the Red channel while in tangential mode is kind of a riddle, I like to share this screen-capture and project file.

I hope it clears things up. All the steps seems to place the colors as they should.

Screen capture, project file
https://www.amazon.com/clouddrive/share/aPvWplNqBwAtWDrEStdJ6mrG6K06lshxelSQ9pl5IJ2

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 25 August 2019 08:08 PM   [ Ignore ]   [ # 3 ]  
Total Posts:  5
Joined  2019-04-02

Dear Dr Sassi,

thank you very much for your help.

I would like to handle the left and the right object separatly, so I can‘t use the Symmetry here.

The Mirror Tool seems to mirror the Polygon Normals too, so the normal and displacement map is also inside out. But your Reverse-Normals-tipp puts things straight again smile

Your other suggestions work as well. The Mirror Tool seems to be the most effective for me as I prefer to have only one material. My texture (in Colour – Effects – Projector) does not cause any problems so far.

Again thank you very much!

Profile
 
 
Posted: 26 August 2019 12:21 AM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

You’re very welcome, AnSa, thanks for the feedback.

Nice that you found what you needed.

As a little side note, ignore it if there is no interest:
The Symmetry object can be made editable [C], and the result put into Mesh> Conversions> Polygon Groups to Objects. But if the original object was created out of several polygon Groups, this needs additional work to merge those. I mention it here only, to provide a piece of complete information.

Have a great start into your week.

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile