Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Feature Requests => Topic started by: lupaz on 2019-02-06, 17:22:32

Title: CoronaBitmap: Blur at 0.01 by default
Post by: lupaz on 2019-02-06, 17:22:32
Hi,

I just wanted to suggest to make the default of the bitmap blurring at almost zero.
Thanks.
Title: Re: CoronaBitmap: Blur at 0.01 by default
Post by: FlorianW. on 2019-02-06, 17:38:01
Code: [Select]
for bmp in getClassInstances bitmapTexture do (
bmp.coords.blur = 0.0
)

You're welcome :)

Ps: Also Bitmap nodes in max have nothing to do with Corona Development (except you are using CoronaBitmap), so Corona Dev's won't be able to change something max related like that.
Title: Re: CoronaBitmap: Blur at 0.01 by default
Post by: maru on 2019-02-08, 13:34:03
Would it really benefit to have it at 0,01 by default? Are there some common issues with 1,0?
I am guessing (but just guessing) that having all textures with blurring set to 0,01 by default could result in some flickering artifacts due to hard edges (in animations).
Title: Re: CoronaBitmap: Blur at 0.01 by default
Post by: dj_buckley on 2019-02-08, 16:43:07
Would it really benefit to have it at 0,01 by default? Are there some common issues with 1,0?
I am guessing (but just guessing) that having all textures with blurring set to 0,01 by default could result in some flickering artifacts due to hard edges (in animations).

To get the nice details in your textures, especially these days where closeup vignette style shots are part and parcel of a suite of marketing images for architecture/interiors.  A blur value of 1 is no where near detailed enough.
Title: Re: CoronaBitmap: Blur at 0.01 by default
Post by: lupaz on 2019-02-08, 18:08:58
Would it really benefit to have it at 0,01 by default? Are there some common issues with 1,0?
I am guessing (but just guessing) that having all textures with blurring set to 0,01 by default could result in some flickering artifacts due to hard edges (in animations).

I think it makes a big difference. To get sharp textures you need to lower the blurring.
About animations, yes, but most of the work done with corona is still images I believe. Anyone doing an animation would need to raise the blurring.
Title: Re: CoronaBitmap: Blur at 0.01 by default
Post by: romullus on 2019-02-08, 20:22:21
I vote against this request. My reasons:
Title: Re: CoronaBitmap: Blur at 0.01 by default
Post by: lupaz on 2019-02-10, 19:57:51
  • if you want to make bluring at 0.01 by default, then it's probably would make sense to change interpolation to bicubic as well, but that would make Corona bitmap much slower than native bitmap.
This would take too long if I need to do it for every texture.
Title: Re: CoronaBitmap: Blur at 0.01 by default
Post by: PROH on 2019-02-10, 20:16:36
Have you tried the Batch Material Editor:
https://forum.corona-renderer.com/index.php?topic=12857.0
Title: Re: CoronaBitmap: Blur at 0.01 by default
Post by: romullus on 2019-02-10, 20:55:03
Yes, batch material editor is highly recomended!

See attached please. The layer Background is the original image. The rest are rendered on the top viewport.

I see, you tested against bilinear filtering interpolation only? Corona bitmap offers two more interpolation methods, bicubic for superior quality and nearest neighbour for ultimate sharpness ;] You should include them in your test as well.
Title: Re: CoronaBitmap: Blur at 0.01 by default
Post by: lupaz on 2019-02-10, 22:14:17
Yes, batch material editor is highly recomended!

See attached please. The layer Background is the original image. The rest are rendered on the top viewport.

I see, you tested against bilinear filtering interpolation only? Corona bitmap offers two more interpolation methods, bicubic for superior quality and nearest neighbour for ultimate sharpness ;] You should include them in your test as well.

Why?
There's something I'm not understanding I think.
Are you saying that in order to have a texture unmodified (not blurred) by CoronaBitmap I need to choose an interpolation method?

I rather use the standard Bitmap node and choose almost 0 blurring.

Why can't CoronaBitmap give the option to not blur the textures?




Title: Re: CoronaBitmap: Blur at 0.01 by default
Post by: romullus on 2019-02-10, 22:25:40
You can disable filtering (and thus blurring) completely in native bitmap loader by choosing none as filtering option. My guess, it's the same, or nearly the same, as choosing nearest neighbour in Corona bitmap and setting blurring to 0,01

Why?

I just saw that you're changing filtering in native bitmap, but sticking to default in Corona bitmap, so i thought it would be fair to either leave default filtering in both loaders and change only blurring, or test all possible combinations.
Title: Re: CoronaBitmap: Blur at 0.01 by default
Post by: lupaz on 2019-02-10, 22:42:16
You can disable filtering (and thus blurring) completely in native bitmap loader by choosing none as filtering option. My guess, it's the same, or nearly the same, as choosing nearest neighbour in Corona bitmap and setting blurring to 0,01
I just saw that you're changing filtering in native bitmap, but sticking to default in Corona bitmap, so i thought it would be fair to either leave default filtering in both loaders and change only blurring, or test all possible combinations.

Ok. Let's discard my "no filtering" test. Pyramidal is the default.

With the native bitmap loader at 0.01 I get sharper results than with CoronaBirmap at 0.01.
As far as I can see, there's no difference in CoronaBitmap between blur at 1 and blur at 0.01.
Title: Re: CoronaBitmap: Blur at 0.01 by default
Post by: romullus on 2019-02-17, 20:48:53
With the native bitmap loader at 0.01 I get sharper results than with CoronaBirmap at 0.01.
As far as I can see, there's no difference in CoronaBitmap between blur at 1 and blur at 0.01.

Can you show or share your testing setup? I get completely opposite results than you - Corona bitmap at blur 0,01 is clearly distinct from blur at 1,0, while both native bitmap and Corona bitmap are virtually indistinguishable at blur 0,01.
Title: Re: CoronaBitmap: Blur at 0.01 by default
Post by: steyin on 2019-02-19, 16:43:13
I wouldn't want .01 value as default as I only apply it to albedo maps, but to be able to right click the spinner and have the value go to .01 like all other maps would be beneficial/make things faster.

I have to admit though, after my last project I have realized that the native bitmap is better than coronabitmap, especially when it comes to opacity maps and masks. Coronabitmap seems to be better when using HDRI though.

Title: Re: CoronaBitmap: Blur at 0.01 by default
Post by: actrask on 2019-02-20, 17:04:18
I agree with Romullus, 0.01 is great for diffuse but brings up all sorts of issues with other slots (ie, bump as mentioned).
Title: Re: CoronaBitmap: Blur at 0.01 by default
Post by: David Males on 2019-02-21, 11:14:46
Yeah I see no reason for this as well, as it may create unwanted results for bump/displacement maps..  It would be nice to have sharpen option in CoronaBitmap though:)
Title: Re: CoronaBitmap: Blur at 0.01 by default
Post by: lupaz on 2019-02-26, 00:38:06
With the native bitmap loader at 0.01 I get sharper results than with CoronaBirmap at 0.01.
As far as I can see, there's no difference in CoronaBitmap between blur at 1 and blur at 0.01.

Can you show or share your testing setup? I get completely opposite results than you - Corona bitmap at blur 0,01 is clearly distinct from blur at 1,0, while both native bitmap and Corona bitmap are virtually indistinguishable at blur 0,01.

I did a second test with a different image and starting the scene from scratch.
The results are more or less the same.
What I get is that there's almost no difference between native loader blur @1 and @0,01, and almost no difference between CoronaBitmap blur @1 and @0,01.

HOWEVER, the images rendered with CoronaBitmap are blurrier than the native loader at the same values of blur, giving a blurrier result when lowering the value to its minimum.


I'm sending attached 3 files: 2 photoshop files and the archived 3ds max file.

Romullus, let me know if I need to post this as a question in "I need help". Thanks.