Jump to content
3DCoat Forums

Weird normal maps


Trasna
 Share

Go to solution Solved by Carlosan,

Recommended Posts

  • Member

Hi,

 

       I'm having a very difficult time with normal maps, they display absolutely fine in 3D coat but when I move them across to Blender cycles or indeed any other application they are a complete mess.

I am selecting that I want to export normal maps for Blender/Maya but that doesn't appear to be the issue.

 

This is best illustrated in pictures ....

 

Here's my retopo'd object with an automatic unwrap, not done anything here except unwrap it and then I hit bake normal / per pixel to get it into the paint room.

 

post-39415-0-54723600-1443556647_thumb.j

 

This is the object in 3D Coat looking fine ..... although based on the normal map it shouldn't be looking fine at all as far as I can tell.

 

post-39415-0-63525500-1443556811_thumb.j

 

Then I do an export of the object and it's textures specifying blender/maya as the app for the normal map format. And here is the result in blender cycles ....

 

post-39415-0-89044000-1443557034_thumb.j

 

The thing to note is you can clearly see the UV islands from the automatic retopo and looking at the uvmap itself it seems fairly obvious that the map is incorrect as the separate uv island pieces do not match up and you can see clear colour differences across the seams of the islands in the map if you reassemble the constituent parts.

 

I've been round and round this and ended up deciding I must be doing something dumb here but I can't work out what it is, I rarely post as you can usually find an answer to this stuff online but this time around I've searched and turned up nothing, maybe I'm searching on the wrong keywords.

 

Any guidance much appreciated :)

 

Ash.

 

 

 

 

 

 

Link to comment
Share on other sites

  • Member

Hi,

 

       Thanks for offering assistance. I'm attaching the requested details ...

 

post-39415-0-12670100-1443561855_thumb.j

 

post-39415-0-69161300-1443561869_thumb.j

 

I've also uploaded to google drive the 3D Coat project I'm having issues with here -- > https://drive.google.com/folderview?id=0B5ZmVufmkjnwOFlkOExsd04zV1U&usp=sharing

 

Rgds, Ash.

 

 

 

Edited by Trasna
Link to comment
Share on other sites

  • Member

Yes, I use that initially to bake the detail from the voxel mesh to the retopo mesh.

 

Workflow is as follows:

 

1) voxel sculpt (I haven't done any surface sculpting on this mesh so it's straight from voxel to autopo)

2) autopo the mesh, defaults, nothing fancy

3) uv map the mesh by using the auto mode in retopo room, I also pak the uv's without any flipping or rotating just to make sure it isn't something like that causing the issue.

4) run the bake to bake the normal map and get the retopo mesh into the paint room. As part of this I set the inner and outer cages appropriately, easily done on this particular mesh.

5) paint the mesh (which in this case is just a layer fill using the bumped plastic smart material)

6) run an export of the .obj and it's textures to disk

7) import into blender and setup the cycles renderer with the textures

8) any further changes and I just do texture bakes rather than exporting the low poly mesh again

 

Rgds, Ash.

Edited by Trasna
Link to comment
Share on other sites

  • Solution

big scale, better 1

post-10142-0-37928500-1443578220_thumb.j

 

model non uniform

post-10142-0-18271700-1443578219_thumb.j

 

use to global space

post-10142-0-53643800-1443578218_thumb.j

 

object very small, more big better

post-10142-0-45042500-1443578217_thumb.j

 

use bake command in retopo room

 

model in paint room

post-10142-0-43154000-1443578215_thumb.j

 

Use file export

post-10142-0-04659700-1443578665_thumb.j

 

----------------------------------------------------

Blender auto-normalizing normal maps, you need to use Normal edit modifier

https://www.blender.org/manual/modifiers/modify/normal_edit.html

Link to comment
Share on other sites

  • Member

Thanks for the updates, after a bit of messing around I got a good render at last :)

 

I didn't need to use the blender normal edit modifier but I did spot an error in my node setup in that I was outputting colour data instead of non colour data, however previous to your tips above this wouldn't have made any difference as the normal map was not correct anyway (it is now).

 

post-39415-0-84052900-1443583963_thumb.j

 

 

Link to comment
Share on other sites

  • Member

Well I thought this was solved but it isn't, whilst I managed to get one sculpt to work I am unable to repeat this and am still getting very unacceptable results for my sculpts, to the point that on my current client engagement I've had to scrap using 3D coat and go back to using Blender to box model complex shapes. Really very unhappy at the moment as box modelling in blender is extremely slow for the type of work I'm doing and having bought 3D coat to do this work not being able to use it is very frustrating. The issue is still incorrect normal maps that show up the islands from the uv unwrap and also the underlying mesh surface without any smoothing.

 

I've gone over and over it, the sculpt is in global space, the size is good, the inner and outer bake shells are fine, it's not non-uniform, I've lost an entire days work to trying to resolve it and I'm no further forward than I was at the start of the day.

Link to comment
Share on other sites

  • Member

OK, took all day but I have finally fixed it. It took a number of things but the main one was selecting all the edges in the exported mesh and clicking smooth edges in blender, this then allowed the mesh to be smoothed properly instead of flat shaded. Also upping the poly count on the retopo mesh as the normal map wasn't able to cope with the low poly retopo mesh I was using.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...