Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: Ahmad Kouti on 2021-03-04, 17:24:51

Title: increase the quality of the texture in a small size
Post by: Ahmad Kouti on 2021-03-04, 17:24:51
Hi,

How to increase the accuracy of texture rendering when I using highly detailed textures.

For example, I used a brushed metal texture for my material, in a small size the details are lost.

How to increase the quality of the texture in a small size?
Title: Re: increase the quality of the texture in a small size
Post by: mferster on 2021-03-04, 22:50:52
What do you mean by increasing the quality? Do you have some examples of images you are struggling with?

Ultimately the details  of your textures are limited by the number of pixels of your rendered image

If you are rendering at small resolutions you might as well be using 2k textures over 8k textures  as by themselves it wont increase the quality of your final image.
Title: Re: increase the quality of the texture in a small size
Post by: Juraj on 2021-03-05, 12:31:22
This is quite issue with texture filtering, none of the available filters in Bitmap and CoronaBitmap preserve details well unless you are rendering in really high-resolution (of framebuffer).
You can set most of your textures to "None" and 0.01, but this will create issues in many instances (particularly Normal and Bump mapping which require certain level of filtering). Other issue is that may just create artifacts (or just pure noise) instead of correct detail like when rendered up-close (or in high-res).

This is issue that makes many people, including me, very unhappy for many years and I don't think there is any solution right now outside of always rendering very high-res even if you down-sample afterwards for clients.
When you render 4x bigger (8k instead of 4k), you can use higher noise threshold since the noise will vanish after downsampling. So rendering higher-res doesn't necessarily mean higher-render time in linear fashion.

Your example (Anisotropic details of metal) are particularly the most glaring issue with this right now. With well filtered detail of texture, your metals would be perfectly brushed and anisotropic automatically, with no need for setting any roughness or anisotropy.
Title: Re: increase the quality of the texture in a small size
Post by: hldemi on 2021-03-05, 14:53:39
Istnt it obvious that only high resolution will have enough pixels to show all those details. I dont get how it can be done by any other way.
Title: Re: increase the quality of the texture in a small size
Post by: Ahmad Kouti on 2021-03-05, 15:24:57
This is quite issue with texture filtering, none of the available filters in Bitmap and CoronaBitmap preserve details well unless you are rendering in really high-resolution (of framebuffer).
You can set most of your textures to "None" and 0.01, but this will create issues in many instances (particularly Normal and Bump mapping which require certain level of filtering). Other issue is that may just create artifacts (or just pure noise) instead of correct detail like when rendered up-close (or in high-res).

This is issue that makes many people, including me, very unhappy for many years and I don't think there is any solution right now outside of always rendering very high-res even if you down-sample afterwards for clients.
When you render 4x bigger (8k instead of 4k), you can use higher noise threshold since the noise will vanish after downsampling. So rendering higher-res doesn't necessarily mean higher-render time in linear fashion.

Your example (Anisotropic details of metal) are particularly the most glaring issue with this right now. With well filtered detail of texture, your metals would be perfectly brushed and anisotropic automatically, with no need for setting any roughness or anisotropy.


Thank you, very helpful
Title: Re: increase the quality of the texture in a small size
Post by: Ahmad Kouti on 2021-03-05, 15:25:59
What do you mean by increasing the quality? Do you have some examples of images you are struggling with?

Ultimately the details  of your textures are limited by the number of pixels of your rendered image

If you are rendering at small resolutions you might as well be using 2k textures over 8k textures  as by themselves it wont increase the quality of your final image.

Thanks
Title: Re: increase the quality of the texture in a small size
Post by: maru on 2021-03-05, 17:51:44
Istnt it obvious that only high resolution will have enough pixels to show all those details. I dont get how it can be done by any other way.

Not really. Even if you apply a super high resolution image to a tiny detail in the scene, the features of the texture will be lost because of how the filtering works.

I think tech like this could help here:
Title: Re: increase the quality of the texture in a small size
Post by: Juraj on 2021-03-05, 21:11:28
Istnt it obvious that only high resolution will have enough pixels to show all those details. I dont get how it can be done by any other way.

Not at all. Properties of materials can be shaded based on sub-pixel detail. That's already how it works right now, but not well enough when it comes to sampling that detail from bitmap textures.
Title: Re: increase the quality of the texture in a small size
Post by: hldemi on 2021-03-08, 11:25:59
Damn guys, didnt know that. Very very interesting. Now I think I was better not being aware of this detail loss :D
Title: Re: increase the quality of the texture in a small size
Post by: lupaz on 2021-03-08, 15:58:23

Not really. Even if you apply a super high resolution image to a tiny detail in the scene, the features of the texture will be lost because of how the filtering works.

I think tech like this could help here:

Yes please!!
Title: Re: increase the quality of the texture in a small size
Post by: Juraj on 2021-03-10, 13:39:48
Damn guys, didnt know that. Very very interesting. Now I think I was better not being aware of this detail loss :D

World of CGI :D More you learn the more you become unhappy about your work. Endless struggle!
Title: Re: increase the quality of the texture in a small size
Post by: lupaz on 2021-06-14, 16:55:25
I'd like to bring this up again to be considered for the list of new features/poll. Thanks.
Title: Re: increase the quality of the texture in a small size
Post by: cjwidd on 2021-06-16, 05:47:44
Istnt it obvious that only high resolution will have enough pixels to show all those details. I dont get how it can be done by any other way.

Not really. Even if you apply a super high resolution image to a tiny detail in the scene, the features of the texture will be lost because of how the filtering works.

I think tech like this could help here:

Jeez, no wonder I had such a hard time with glitter...
Title: Re: increase the quality of the texture in a small size
Post by: agentdark45 on 2021-06-16, 16:40:32
I'd like to bring this up again to be considered for the list of new features/poll. Thanks.

This is one of the reasons I've been slowly transitioning away from Corona. Filtering/texture sharpness/resolution dependent bump mapping/DOF noise just isn't on point and I can't keep waiting for it to be fixed. I've been speaking about it for years.
Title: Re: increase the quality of the texture in a small size
Post by: romullus on 2021-06-16, 17:01:35
Curious to know wich renderer(-s) do you find works much better in this regard?
Title: Re: increase the quality of the texture in a small size
Post by: agentdark45 on 2021-06-16, 17:50:15
FStorm. Specifically in the bump mapping/parallax bump department. Natural anisotropy can be achieved simply with micro fine bump mapping - and it doesn't change depending on the level of zoom/render resolution.

Filtering in general is always tack-sharp in FStorm: sharp, but without CGI'd jaggies on edges. Material bitmaps for some reason just seem more natural and less grainy - and I'm not talking about render noise, there's a kind of fine pixel noise in Corona that shows up that's hard to describe (which goes away with down sampling). I've mostly noticed it on wood materials - I did some side by side comparisons a while ago where it was very obvious (don't have them to hand).

Adding DOF also doesn't cause a massive performance hit/excessive noise (despite tweaked sampling balances in Corona). Being able to render out interior vignettes in 5 minutes vs 1 hour+ for a noise free DOF shot is nothing to sniff at.

I've transitioned all of my high-end product vis and 50% of interior work to FStorm, despite Corona being more feature rich and easy to use in places. Being able to render on 3x3090's is blazing fast, in comparison to my 3970x (no a 3990x wouldn't touch the speeds I can achieve in Fstorm on a single machine).

I'll always settle on whatever render engine suits my needs and use cases, so this isn't necessarily a knock on Corona as a rendering engine. If the above issues were sorted I would transition back in a heartbeat (while the FStorm dev is a coding wizard, I don't like his attitude at all).
Title: Re: increase the quality of the texture in a small size
Post by: romullus on 2021-06-16, 20:35:19
FStorm. Specifically in the bump mapping/parallax bump department. Natural anisotropy can be achieved simply with micro fine bump mapping - and it doesn't change depending on the level of zoom/render resolution.

But does it work with any arbitrary image, or just with Fstorm's native noise? I saw this feature praised many times, but it seems i can't get an answer to my question.
Title: Re: increase the quality of the texture in a small size
Post by: agentdark45 on 2021-06-16, 22:55:36
But does it work with any arbitrary image, or just with Fstorm's native noise? I saw this feature praised many times, but it seems i can't get an answer to my question.

Yep, one of our use cases was mixing many 8K dirt maps, along with super stretched versions of the maps for beer can renders.