Jump to content
3DCoat Forums

RGB Curvature baking is broken if model is small


Recommended Posts

  • Advanced Member
Carlosan
This post was recognized by Carlosan!

Yousung was awarded the badge 'Helpful' and 1 points.

Hello developers, I used 'RGB Curvature' after the update before, and the baking process was broken once.
At that time it was solved with Edit-Reset settings.

This time, when baking the RGB Curvature, the texture was broken.
(On the first try, it baked normally.)
I tried Reset settings again this time, but it didn't fix it.

The strange thing is that the other example samples from 3DC are baked normally.

I thought the scene was broken, so I exported the high-poly and low-poly data and then imported it again in a new scene, but the problem was not solved.

Share files by uploading them to Dropbox.
Does anyone have the same problem as me?


2085790906_bandicam2021-10-1918-26-03-694.thumb.jpg.4d46ed40fd29f8a3b6b642b590a06a8f.jpg
 

 

▼ Dropbox file ▼
https://www.dropbox.com/sh/12vlitxs23lcesl/AAAfULUYoeRPsmGGgjhvd24Xa?dl=0

Edited by Yousung
Link to comment
Share on other sites

  • Advanced Member

1206163508_RGBCurvaturebakingissue.thumb.jpg.6fd30c559b773f3afe4afacf43678f49.jpg

 

In V4 it works fine.

Since RGB Curvature has been added recently, I don't know if this is a bug or not, but it seems that the cause has been found.

It seems that LowPoly lacks polygons.
It was confirmed that the quality of the RGB Curvature increases as the polygon is divided.

But since I mainly use it as a game asset, I can't keep dividing the faces like this.

Can you please improve this problem?

Link to comment
Share on other sites

  • Carlosan changed the title to [Bug] RGB Curvature baking is broken again
  • Carlosan changed the title to RGB Curvature baking is broken again
  • Advanced Member

Thanks for checking out @Carlosan.
But this confuses me even more.
It's late at night, so I can't see the details.

After checking the file

First, lowpoly modeling needs to maintain its size.
The protrusion on the top was intended to be processed with baking.
So it will look smaller than highpoly.

If the size is increased as much as the protruding part, distortion will occur at the upper part of the cylinder as shown in the image.
I don't want results like this.
So the size of the lowpoly mesh should be kept as much as possible.

Second, in general, if you work on a retopology after making a high-poly mesh, it will have a size similar to that of high-poly.
After that, through the baking process, maps (normal, AO, Curvature, position, etc...) are extracted.

3DC also goes through this process to extract a normal map.
However, it is very strange to increase the size of the lowpoly to extract the Curvature.

If the Normal map was extracted normally, other maps should do the same.

Edited by Yousung
Link to comment
Share on other sites

  • Reputable Contributor

I would switch back to the old style curvature for now if you need to get this done atm.

The new RGB cavity curvature baking works in most cases but still needs some fine turning I believe.  

You could send the file to Andrew to help improve the RBG cavity baking. 

I found a few places where the uvs were getting stretched a bit but it was not so bad to cause the problem. 

I made no changes in the scene scale nor scaled the object using the older default curvature baking.

Old curvature.jpg

Link to comment
Share on other sites

  • Advanced Member

To summarize the test and the information I found out.
When baking RGB Curvatures...

- It is affected by the size of the object.
- Affected by the density of polygons.

 

It is affected by the size of the object.

As Carlosan said, the object needs to be large enough to start baking properly.

If I increase the size of the Highpoly and Lowpoly meshes by x10 with the Transform tool on my attached model, it starts to bake normally.

However, it is still partially noisy.

 

Affected by the density of polygons.

This is currently the biggest influence on RGB Curvature baking.

Before baking, copy the lowpoly that has completed the UV work, put the subdivide on it, and bake it separately to see the RGB Curvature that comes out neatly.

 

As a little trick, you can export/import this RGB Curvature as a colormap and import it to use it in the Lowpoly mesh.

However, this method is a temporary expedient, and an image with partially distorted edges often comes out.
(Baking with Triangulate does not solve the problem.)

A more definitive troubleshooting is needed.

@Andrew Shpagin

  • Thanks 1
Link to comment
Share on other sites

  • Carlosan changed the title to RGB Curvature baking is broken if model is small

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...