Andrew Shpagin

Texture baking tool

9 posts in this topic

I have made texture baking tool.

Now you can project current mesh on another mesh and get textures of color, specular, normalmaps and displacement forr that mesh. It works fast, the baking takes almost the same time like simple texture saving. It uses multiple processors if you have it. Why do you need texture baking?

1) To get correct displacement maps even in case when you have dragged surface in sculpt tool.

2) Sometimes you need to change topology or uv-set of mesh. For example you need to simplify mesh and get textures for simplified mesh. In this case you can use texture baking.

You can read more at my blog http://3d-brush-dev.blogspot.com

The download link: www.3d-brush.com/files/3d-brush-2-03-sp2-en.exe

Share this post


Link to post
Share on other sites

Yes,it is a new good tool. But the new thing looks some hard to understand.Could you make a small sample show how it work in the workflow,that's may be more intuitionistic. :rolleyes:

Share this post


Link to post
Share on other sites

Ok, I will give one example, why baking tool is so important. Baking tool is especially important if you want to ger a texture for low-poly mesh as a result. Let us take for example sphere and draw the strip over it like it is shown below:

post-1-1199452984_thumb.jpg

Then we should go to sculpt tool and distort it slightly using drag tool:

post-1-1199453064_thumb.jpg

Then we should enter into low-poly mode. What will you see?

post-1-1199453149_thumb.jpg

It is because you have distorted geometry, but texture is not distorted, so mesh looks improperly in low-poly mode. In thins case baking tool can help you. You should project new high-poly distorted mesh onto low-poly mesh. In this way you will get distorted textures. Please compare the result of usual export of normalmap texture with result of baking tool:

Simple export result:

post-1-1199453525_thumb.jpg

Baking tool result:

post-1-1199453553_thumb.jpg

The differene is obvious - you have got the correct normal map using baking tool. The options for taking that normalmap are below:

[x] Use current low-poly mesh...

[ ] Use original positions ...

[ ] Smooth mesh

The options should be other if you need displacement:

[x] Use current low poly mesh

[ ] Use original positions...

[x] Smooth mesh

[x] Preserve positions ...

But the result will be better if you don't need displacement and need only normalmap. It is because of getting displacement is not trivial operation and mesh should be smoothed before. It is required because the displacement is difference between mesh and smoothed surface.

I think that simple example shows you why baking tool is so important.

Share this post


Link to post
Share on other sites

Very particular! I understand it,thank you!

Share this post


Link to post
Share on other sites

seems great, but where in 3d brush do you find this tool ?

Share this post


Link to post
Share on other sites
seems great, but where in 3d brush do you find this tool ?

File->texture baking tool

Share this post


Link to post
Share on other sites

Stupid Question....but, wasnt there a Option in the baking Tool to change the Texture size? :blink:

baking.png

Share this post


Link to post
Share on other sites

Now you can change texture size in Commands->Change texture and mesh resolution. Really, it is not very convenient, I will add the drop-list directly into the baking tool dialog.

Share this post


Link to post
Share on other sites

Sorry, it seems that there is some bug. I have checked my current version and there is another picture:

Baking_size.jpg

Today I will upload the new version (still beta) and it will fix issue.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now