Showing posts with label Texturing. Show all posts
Showing posts with label Texturing. Show all posts

Tuesday, 20 March 2018

Railroad Shed Project Update

Been a long while since I posted on my blog again!

Lately I have been working on my older 'Railroad Shed' project, adding models to it to make it a clearer environment, and re-texturing the whole thing in Substance Painter. I have tried to keep a very similar cartoon-like style to the textures, while adding a lot more detail in. The now also fully utilise texture maps, not just the diffuse unlit colour as before. Naturally, this changes the style a little, but not much. Here are some newer test renders.






The issues I have now is trying to find a way to create an actual environment out of the work I have, instead of just rendering it on a grey background and calling it a day. Ideally I don't want to be adding much more work to the project, and am eager to move on to the next plan, but it's difficult to come up with a good set of camera angles that can make the scene look like its part of a larger world.
Here is what I have so far in Maya. The floor and steps have been added and will need to be textured if they stay. I may look at adding bushes behind the shed to block out the nothingness that is seen there, but bushes in themselves could be tricky to do well. Any extra work added needs to be easy to complete quickly, and not detract from the main models shown so far.



Tuesday, 18 April 2017

Substance Designer - Learning The Next Generation of Texture Methodology

I have started to pick up Substance Designer recently, discovering its awesome power of procedural texture generation. The idea is that it can create textures from scratch without any need for external texture files, and it can make pretty complex patterns if you know how. I'm still learning, and have a way to go yet, but I'm building a clear picture of how it works it seems.

This is a tiled floor texture, complete with Albedo, Normal, Roughness, and Metalness maps. The texture is entirely procedural generated, with no external image files being used of any kind.


Here is it's creation graph:


The brilliant advantage of this is the ability to create textures that have infinite iteration possibilities, all at the push of a slider or two; or indeed however many you set up. For example, you could make a pristine metal wall, and use a set of sliders that dynamically age it with weathering and rust as required. From here, you could make an entire texture set that shows an environment ageing over time, without any real extra effort taken to paint the texture up.

I will soon incorporate this method into the Gas Station scene, probably only to the extent of texturing something like the floor, but I'll see how it goes.

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.

Sunday, 5 June 2016

Soma Yukihira Model Progression & Issues

I've been hard at work trying to finished this little project this weekend, and all was going well, at least in ZBrush. Here is my current progress. It is more or less finished, but there are some serious problems when it came to exporting the polypaint textures for Maya...


The green parts are parts that share UV space with their opposite counterpart, and thus do not require texturing. I coloured them green to make sure that I remembered this when it came to exporting, in attempt to avoid unwanted artefacts.

So here is an example of an issue that I've found all over the model when exporting the textures:

Apron Mesh as seen on the front of the Soma Yukihira model above.

On the left, you can see the direct result of going through the usual paces to export the polypaint as a texture map. On the right is the result that I expected, where the texture fills the entire UV space provided for the mesh. This annoyed the hell out of me when it was happening, but I soon found out why.

The following image shows 2 meshes. The left one is the one that I had worked on, The right one was the new mesh created to fix the problem.

Morph UVs button
Apron Mesh inside ZBrush with Morph UVs applied.
Using the 'Morph UVs' button in ZBrush, this clearly showed me that the original mesh had had its UVs smoothed while subdividing the mesh; something that surely no one would want to have happen...

Evil Smooth UVs!
The check-box that caused all this mess is here in the Geometry tab, called 'Suv', for 'Smooth UVs'. Is must be disabled when adding subdivisions to the mesh. Now I must go back through my model, creating a new mesh above each current mesh, subdivide it with this button unchecked, and then project the original detail to them. It has to be done this way, as simply updating the mesh will automatically subdivide again with this option still checked...


Thursday, 2 June 2016

Soma Yakihira - Low Resolution Model

While I'm still finishing Lord Beritra, I have decided to start what I want to be another fast project. This time, I will create a low resolution model of 'Soma Yakihira' from the popular anime and manga, 'Food-Wars'. 


This project has a few goals that I wish to address:
• Low poly
• No normal maps or specular maps, all just hand-painted colour on a single texture
• Easily animatable (such low-res that it skins easily and moves well)
• Possibly paint directly to texture map in ZBrush, instead of Polypainting?


This is the progress so far. The hands are not yet sewn onto the arms and the shoes have not yet been fully modelled. The arms also need some work while I try to get them in the right position. His face has no detail; all the facial features will be drawn on in the texture, with the idea that it could be animated using a sequence of 2D frames. Also of course parts of his model are not made at all here either, which is the next step of progress.

Friday, 20 February 2015

Xiahou Ba Long Overdue Work

So lately I have been doing a mixture or overtime at work, a lot of gaming, and getting everything ready for my three week holiday to China! So my personal work (Xiahou Ba project in this case) has taken a back seat lately.

Over the past few days I have been working on Xiahou Ba from time to time, as well as still thinking on how to make him for a 3D print, and my likely next project, Zhu Ran.

Most of the work has been still trying for the motion capture data to work, and I'm getting a lot closer with every try. I'm currently in the stages of what will *hopefully* be my last attempt with a good outcome. I have found one or two small issues with some of his textures which have been and are being ironed out. For example, on the area below his belly button the normal map went a bit wrong. Either that or the sculpt data did and I never noticed it until now somehow. I have fixed the issue in Photoshop, and it all looks fine there now.

I also spent some time in a separate file in Maya, making all of the final Mental Ray shaders that will be used on the final renders of Xiahou Ba. These also include sub-surface scattering shaders made for his head, eyes, and body; basically anywhere where his skin is visible. Initial testing on flat squares shows all shaders to be working correctly with no need for major work, however this may change once applied to his actual 3D model, especially in the case of the sub-surface scatter shaders.


Each Mental Ray material rendered on separate polygon squares.



The render quality here is somewhat awful if you can still tell on this shrunken image. The final gather rays are too few, leaving mottled, blotchy patches of light on him. Also the original render was pretty dark so I adjusted this in Photoshop later. The render is using a large HDR image for image-based lighting. The eyes are working pretty well now that I remembered to make the lens parts of his eyes not send or receive shadows. The renderer hates rendering his hair; takes ages :) I may revisit his hair in attempt to reduce the stretched, angled gradient look that you see when looking at Ba front on as seen above.


Much like my 3D work (and 2D work), my portfolio site redesign has also taken a back seat lately. I originally had plans to update the entire site in January 2015, but that never happened, although the site did make some significant developments during this time in local testing, including a custom-made JavaScript gallery and PHP messaging form contact page. The new release time period for the new site is now the end of this month, February 2015.

Sunday, 23 November 2014

Xiahou Ba - Maya Development

Project Xiahou Ba should be finished within the coming week or so. The finishing touches have been made to the sculpt and polypainting over this weekend, and now all of the diffuse and normal maps have been baked out from ZBrush, combined where necessary, and plugged into his Maya model.

The next stage is to create all of the composite maps to improve the diffuse maps, and create any other required maps such as specular and alpha maps. After that I will begin rigging, which leads to posing and rendering for the final outcomes.

I have baked his belt spikes and his necklace in Maya to give them textures and normal maps (and the alpha map for his necklace), all of which went very smoothly. I also created his hair and completely UV mapped it too. He still needs a few more bits like his mouth and his eye lashes creating properly, but he is now 90% finished on the model-front.


Wednesday, 12 November 2014

Xiahou Ba Initial Re-projection & Baking Issues

Note: This post has no 'LightBox' functionality (enlarging images doesn't work as it should). At the time it was a bug on Blogger, but no matter what I do it will not fix for this post now unless I repost all of these images in the right places... which I'm not doing. So enjoy :)

With the final game-ready mesh completed, it was time to bring the pieces all back into ZBrush to have the original high resolution base-mesh data projected down to them. The results of this step would be directly related to what the final character will look like, making it crucial that nothing goes wrong, and anything that does is dealt with thoroughly.


This is the model in ZBrush using the final in-game meshes at their highest subdivision levels with all of the sculpt data and polypaint data re-projected down to them. This process has gone okay but not as well as I had hoped.


If you look on his shoulder facing the camera, the surface noise map covers areas that it shouldn't (which I would Photoshop out during final texturing between Photoshop and Maya). However you can also see a patched-up area where the texture is lost, and the polypaint information was also originally lost. Patching up areas like these with highly detailed surfaces around them can be very difficult to make them invisible.

Parts of the projection didn't work 100% no matter how the options were set (the default options still gave by far the best results though). On the up-side, I did learn that the surface noise maps that I applied to the clothes, such as his tank-top in the picture above, had to be baked into the actual sculpture itself for projection to pick them up. If they are left as surface noise maps, they are discarded during the projection process. This isn't necessarily a bad thing but it is something to watch out for in future.


Looking at the pockets where they overlap the inside of the pockets, you can see the re-projecting process has left holes and skewed geometry behind. This is a big problem that would be very hard to fix and would most likely require a completely new in-game mesh to withstand these problems. Maybe using the original base-mesh would be better....

The base-mesh of the shorts included as much high resolution detail as I could get into them. This was to greatly support them during the sculpting process, making sure all the seams and pockets were all in the right places and had the geometry to stay in the right places during subdividing. While this was initially a good idea, when I tried to bake the results down to the in-game mesh that did not have places for the pockets pockets and such, I immediately got issues.

To overcome the issues presented on the shorts, I think it might be a better idea to simply use the original base-mesh shorts as the final mesh, but optimise them as much as possible, removing any unneeded creases set up for subdividing purposes.


His shoes are projected onto much simpler meshes than their base-meshes. With this being an initial projection and bake, you can already see the areas that cause problems. The laces should be removed for this process. The zip has been baked onto the in-game mesh here also, which has worked very well apart from the actual zip itself that has become distorted and broken. This will require a simple, small model to replace this damaged zip for the in-game mesh I think.


In the interest of keeping in-line with industry standards, his head was removed from his body to allow for its own material and texture map, however after thinking over this character design and what my options would be, I think it may be better to leave his head attached to his body after all. While it is true that his tank top that he would be wearing most of the time covers the seams, he was supposed to be able to remove his top as part of the character design. Baring in mind his body and head should all be using the same material idea, working this way should still work well. The resulting UVs will be set out more like a traditional atlas texture map instead.


After deciding to throw his head and body through ZBrush's 'UV Master' tools, I decided to quickly bake out the results so far of his head and body. 


The UVs are far from perfect in either of these bakes, however they do give an insight as to what to watch out for when I properly UV these meshes. For example the seam between his head and body is still very much clear in Maya, and the textures have no padding on these which also shows up very thin, black lines between the seams on the mode. I also found texture distortion around the mouth and inner lips that must be carefully dissected when unwrapping to get the best results possible.


The above .GIF highlights issues. The RED indicates textures seams on the mesh. The big one across his chest is where his head joins his body. His arms are still attached to his torso, showing that these thin black lines across his shoulders are UV borders (the arms were separate polygroups in ZBrush). The GREEN indicates texture stretching and / or distortion around his lips and possibly his nose area also. The BLUE highlight shows texture quality. The files themselves are fine, baked at 4096x4096, but some areas of his polypainting really do need touching up and finalising. This was the plan to begin with, but this bad airbrushing job really highlights the point to me.

Saturday, 8 November 2014

Xiahou Ba Polypaint Update

I've been doing more work on Xiahou Ba, including researching more into how to prepare him for 3D printing, however this will not be done until after Christmas at the very earliest.
He is now polypainted, at least to a beginning stage. The next step will be to decimate this mesh as one mesh, bring it back into Maya 2015, and retopologise it for PS3/PS4 era resolution. This final mesh will be UV unwrapped, brought back into ZBrush, projected down onto, and then all polypainting and any clean-ups required to the sculpt will be made. From this point it will be business as usual with baking down normal maps and textures, but this time with a lot more effort being put into every stage where possible.


This polypainting is part hand-painted and partly done using Spotlight with some real-life photos as textures. This is the first time I have employed this technique. The system works very well and the results aren't bad, but it really does show how good quality photos to use as textures in the first place would make a huge difference. I used several of my resources from www.3D.sk for this, however I found that simply trying to map one person onto the model as a texture was not going to work. So I split elements of each photo up in Photoshop, such as lips, hair, eyes, ears, various skin patches, and so on. This way I could be much more direct with what I needed in ZBrush. The idea worked great, but I noticed in the end this method produced oddly realistic and yet patchy colours and tones to the sculpture. This made his tan look somewhat weird in the end. I tried to fix the issue as best as I could by dabbing colours and lightly altering them and brushing them back over the model to unify areas of it more. It worked quite well but as a result a lot of the initial Spotlight painting has effectively been lost.
One other area that I tried to accomplish using Spotlight was to get the little hairs on the belly, arms, legs to come out nicely on the textures. However I think a better approach will come later with using Fibremesh and baking the results down to textures instead. This will give more control and far better bump results (hopefully).


Sunday, 2 November 2014

Xiahou Ba - Detailing & Initial Colouring

Today I think I've gotten Xiahou Ba to the final stages of sculpting in ZBrush, and it might be time to start thinking about colouring him. Using noise maps I have added extra fine detail: a first time thing for my work. The maps work very well but some technical issues can arise I've noticed. For example, telling ZBrush to apply the deformation as a 3D projection doesn't always give best results, ending up with stretching in specific areas of the model. Instead I found I got better results overall telling it to apply to UV space. However as you can imagine, this means it is relying on the UVs being laid out in such a way that this will work. My model from Maya has ever mesh mapped using Automatic Unwrapping. While far from the ideal layouts, these do give optimised, clean layouts at the click of a button. I did this simply in preparation of premature baking of any textures and normal maps for testing, but it turned out it was handy for this purpose too. I did however still have to manually correct parts of the shirt model to get the noise map to loop over the top of his shoulders without deforming. This task ideally needs to be carried out on every mesh that uses noise maps, but for now they all seem to be holding up fairly well.


This image shows the noise map applied to his shirt. The map was made quickly in Photoshop and worked very well for what I wanted it for. The only thing I had to change was the order of the tones that pulled out and pushed in because they were inverse to how I was expecting them to work for whatever reason. Here is the map:

I have begun to colour him but only to get a sense of how I want his final textures to look. This was done the same way as I usually do it; all hand-painted with ZBrushs' default tools. As I briefly mentioned in a previous post I may colour him using a mixture of hand-painting and photo mapping using Spotlight, but I'm still not sure which way I want to take him.