Showing posts with label Rendering Normal Maps. Show all posts
Showing posts with label Rendering Normal Maps. Show all posts

Tuesday, 18 April 2017

Gas Station - Texture Update

During further development of the Gas Station scene I have corrected most of the issues with the normal maps by using cages when baking. Apparently if you use hard edges on the low-poly model, only baking normal maps with cages will produce nice results in xNormal.

The texturing is 99% done in Substance Painter, with some Photoshop involved in areas where it made more sense to use it.



I plan to use Substance Designer in this scene as well, which I will start to properly learn soon.

Monday, 1 December 2014

Xiahou Ba Test Renders

With the textures (probably) finally finished, I decided to do some render tests using Mental Ray in Maya 2015. The shaders are all mia shaders but his skin is not a sub-surface scattering shader because I was having issues trying to get him normal maps to render nicely on it. This is an issue I will spend more time with later on with final renders.


There are several things that need changing on these render, but very few of them now I think relate to the actual data he is created with, such as his model and textures. The faults are with the techniques I used for rendering each area of him, and am I aware this lighting setup has much to be desired also.

His eyes have lenses built over them as a separate layer of polygons; a standard practice in current / next generation characters. This 'lense' layer also have an alpha texture that creates a gradient from transparent black, to fully transparent. This simulates shadowing on the eyes no matter what angle you're at, giving them a deeper, more realistic feel. However, it might be that for proper renders (so not real-time, in-game scenarios), that this technique is not required. In this render it is present, but the way the lighting casts off of it gives the eyes a dull, dead look compared to what was desired. 

Also each individual shader was set up reasonably quickly, some of which using the presets that Maya provides for things like 'Chrome', 'MattePlastic', and so on. The downside to this is that some maps, often specifically the specular maps, haven't had much of a chance to shine. You can see them present in the shirt and shorts the most, but other areas such as the skin really needed them to have a boost. This render below does show them off somewhat better simply because he has no shirt on:

Monday, 17 November 2014

Xiahou Ba Progression - Difference Between Baking Normal Maps in ZBrush & Maya

While I continue to develop my rendition of Xiahou Ba from Dynasty Warriors 7/8, I have been running some tests with the texture data I'm getting back from the high resolution sculpt in ZBrush. The UVs are holding up very well which I am pleased with, but I noticed some of his normal maps have a little to be desired still; they often seemed a bit faint or flat in areas, compared with the true 3D sculpture.

Looking into this problem online for a while, I started reading posts from people saying ZBrushs' normal map baking is very weak and they don't even use it for this reason. Instead, they use their original 3rd-party application for this job, such as Maya, Modo, Max, or XSI.

(Softimage XSI no longer exists as of 2015 by the way)

With this idea, I decided to bring a high resolution mesh from ZBrush (Sub-division Level 5) into Maya, along with its 'game-ready' counterpart. I then used Maya's 'Transfer Maps' tools under its 'Rendering' tool-set to bake the surface information from the high resolution mesh to the low resolution mesh in the form of a normal map. The results certainly are different, and it does seem Maya does produce slightly superior results:


This GIF animation shows the actual difference between the bake from ZBrush, compared with the bake from Maya. The frames are spaced 2 seconds apart, so give it time.

To accompany this, I will provide you with the high resolution bakes themselves. The top image shows the results split next to eachother, and the bottom images show the full results side-by-side.


From studying the differences between the two map bakes, both completely unadulterated, you can make some general observations straight off the bat:
  • Maya's bake contains stronger reds and greens, increasing the overall intensity of the normal map compared to that from ZBrush.
  • ZBrush by enlarge has a cleaner resulting map straight away, with less tangent distortion around the neck and bottom of the torso on the map. However it is important to point out at this stage that Maya can fix these issues with tweaking of its options; it is simply the case that ZBrush appears to be more optimised for this kind of work from the get-go.
  • ZBrush appears to have possibly distorted the baked results very slightly, most noticeable on these bakes around the nipples and under the arms. Despite saying that however, I'm still not 100% sure it really is distortion, and it could be Maya that has distorted the results instead and that they simply just look a bit better. This would all be down to the target search area set up in each software package accordingly.
In other words, it might be that Maya produces better, stronger results overall, but they require more tweaking around the edges and more tweaking of the options before each bake than ZBrush. It would theoretically be possible to also intensify and adjust the normal map bakes from ZBrush to get better results also, however this process can be very difficult to do without breaking the continuity of the maps (seams can suddenly become violently visible if you simply increase the contrast on the maps).




These GIF animations shows the results working on the actual model. Especially pronounced on the greyscale images, you can see that the baked map from Maya gives a much greater sense of 3D than that from ZBrush.

I would not call this testing conclusive. While Maya holds better results than ZBrush for this model, the same might not be true for other models. Also remember that both of these maps are made using somewhat standard settings in both applications, and so further tweaking of the options may produce better results and worse results in both software packages respectively. However the issue with ZBrush baking normal maps to look much flatter and less intensive is something that has no options to modify. For this reason alone, I think further testing with Maya might hold better results for my future projects.