The demos in the article are all based on the Redshift 2.623 postFX special version renderer, but other mainstream renderers (Arnold, v-ray, etc.) have similar functions. Arnold needs to be in the latest version, which is a recent new feature. It is available during the use of MtoA3.1.1 Arnold Core 5.2.1.0.
1) Basic introduction of RoundCorners technology
The round corners technology was first used in the mental ray era, which was before 2010. This means that the technology itself is very old. However, it rarely appears in various rendering tutorials, so the penetration rate is quite low. Recent test results show that this technology can be very useful in many cases and is a technology that is seriously underestimated.
Its main functions are divided into two pieces:
1. let the original hard edge produce a smooth chamfer effect. 2. Make natural overgrowth at the junction of the two intersecting objects. The specific way to do this is to create a RoundCorners node and connect the output to the bump input of rsMaterial to create an edge chamfer effect. The Radius value controls the size of the chamfer. If you do not check the Consider Same Object Only, it means that all objects with this material will have a chamfer effect, and a blending chamfer effect will be formed between different objects, that is, the effect of Figure 3. If the "Consider Same Object Only" is checked, it means that there is no chamfer effect between different objects, that is, the effect of Figure 2.
Because round corners will take up the bump input, if the material itself has a bump, then the bump blending technique is needed. Create a bump blender node, mix the process bumps, and check the additive mode to get the perfect overlay effect. 2) The principle of producing good-looking highlights
When making the model, everyone knows that the model needs to be chamfered and cannot have a hard edge. Perhaps the explanation you have heard is that objects in real life cannot be so sharp, there are always some rounded arcs, the difference is only the size of this arc. 、 This statement is of course correct, but it is not a conclusion drawn from the perspective of rendering. As shown in the figure below, the reflection area of a square box without chamfering is shown, and the dark diagonal line marks the approximate reflection area.
The green area is marked with words, which is a reflection blind zone. It means that when the light is in this "reflection blind zone", the model can't observe the highlights. At this time, the model texture looks very much like lambert! This is a very bad phenomenon.
If the model is chamfered, then this reflection dead zone will not exist, and all the lights in the "original reflection blind zone" will form a slender and beautiful highlight on the chamfer. This will give a good representation of the texture of the material. (The reflection area of the chamfer will be very large, and it is easy to form a high light. It is easy to observe the phenomenon around it.) [1] The difference between chamfering or not, the contrast between the two figures is perfectly reflected once again. Note the image below, where the highlights appear, basically in the chamfered area. This section mainly explains the principle and flaws of forming a good-looking highlight. The specific solution is to chamfer the model, or the cheaper and convenient method is the RoundCorners technology introduced in the article.
3) Limitations of RoundCorners technology
The chamfering effect produced by RoundCorners is generated by bump. It also achieves the effect by changing the normal direction of the surface of the model, but does not change the structure of the model itself. So when the angle of observation turns to some cases, the area of the chamfer becomes When the outline of the model is observed, an abnormal visual effect is observed. Think about it, RoundCorners' chamfer is equivalent to shrinking these hard cut corners in a circle. This is a visual change; however, the real model is actually unchanged, so the conflict between the two forms. Incorrect visual effects. Some people may have thought that they can try to solve this problem by using the RoundCorners node as a replacement. Unfortunately, both the arnold and redshift renderers are not.
At present, this problem cannot be solved temporarily. This technology is very convenient. To be clear, we use RoundCorners to form very small chamfers. When the chamfer is small, it is difficult to observe the problems described in this section. We can apply this technique to the mid-range and perspective of rendering.
Very close-up close-ups are still used to achieve super high precision using model chamfering. Or when the required chamfer curvature is relatively large, it needs to be directly made on the model.
4) RoundCorners response to permutation
Because there are a lot of situations in which the replacement is used in the film and television rendering, I also carried out the relevant test of the replacement, and the effect is satisfactory.
The rendering of the following three images uses two patches, one of which uses a black and white checkerboard for replacement and the other with a water surface. And use the RoundCorners node to control the tension between the water surface and the wall to form a curved arc.
The final result can be seen, is successful, RoundCorners responded very well to the displacement effect.
In the three figures, the radius values of the RoundCorners node are 0, 0.02, and 0.1 respectively.
It can be seen that 0 and 0.02 produce an essential difference in the high gloss of the contact surface. It is exactly the same as the content explained in the previous article.
The effect of 0.1 is actually wrong. It can be seen that the amount of curvature generated by the water surface is obviously too large, but this is more likely to have a high light effect.
Radius = 0 Radius = 0.02
Radius = 0.1
Model screenshot 5) RoundCorners practical application (with scanning material)
Finally, with the application of the scanning material, the effect here is closer to the actual production application in the project. What quality effect RoundCorners can achieve.
A B C Reference: Daiwei

Previous:Hello, Arnold GPU
Next:The Essential Thinking Of Roughness And Anisotropy (1)
interested

The Essential Thinking Of Roughness And Anisotropy (4)

In the article “The Essential Thinking Of Roughness And Anisotropy (3)”, w......

More 2019-04-08

Three Kinds of Paintings Get Together, Animated Films Explosions Come?

In 2018, the Chinese film market successfully broke through 60 billion in ......

More 2019-01-15

Watch the Good Finalists of 2018 Oscar Animated Shorts Films

In the 2018 Oscar best animated short film primaries announced by the Academy of......

More 2018-12-07