Author Topic: CoronaDisplacementMod and Bitmap Filter/Blurring  (Read 1711 times)

2021-08-08, 20:53:14

rs3d

  • Users
  • *
  • Posts: 1
    • View Profile
I read that by design the CoronaDisplacementMod does not react to Bitmap Filter/Blurring to avoid geometry tearing.

Is there any other way to blur the map without resorting to post production? Sometimes a quick way to tone down the displacement detail would be very helpful...

I guess there is no way to introduce a Blur Map, but maybe the modifier itself could offer this option in the future...

2021-08-08, 23:11:02
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8831
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I don't know where did you read this, but Corona displacement is respecting filterring and blurring settings in bitmap node. Just tested - it works.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2023-11-22, 15:39:24
Reply #2

n2graf

  • Active Users
  • **
  • Posts: 55
    • View Profile
It dont works with coronabitmap. Only works with 3dsmax bitmap. Not only does it not work with the modifier, it also does not work with the material displacement

2023-11-22, 15:43:31
Reply #3

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8831
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Corona bitmap does not have blurring in that sense like it is in photoshop. If you need to blur the map independent on its distance from camera, you must use native bitmap with its blur offset.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2023-11-22, 18:44:32
Reply #4

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12750
  • Marcin
    • View Profile
Could you explain what exactly you are doing and what results you are getting. As you can see in the attached images, if a Corona Bitmap is plugged into the Corona Displacement Modifier, you can adjust its Blur value and interpolation types and this does affect displacement:
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2023-11-22, 20:22:49
Reply #5

n2graf

  • Active Users
  • **
  • Posts: 55
    • View Profile
this situation it make the same:


2023-11-22, 20:48:45
Reply #6

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5460
    • View Profile
One thing to keep in mind is that the blur seen in the Mat Editor (whether for Corona Bitmap or Bitmap) looks much stronger than it actually is - while the preview may become completely smoothed, if you pop the result into just the Diffuse, you will find quite a lot of detail is still there.

See below - the top bitmap is a sharp bitmap image, with a Blur applied in the Bitmap of 100. In the Mat Editor, it looks completely blurred, but in the render, we can still see a lot of detail. Conversely, the lower image shows the same bitmap blurred in Photoshop, with no blur in the Bitmap. This looks pretty darn sharp in the Mat Editor, but in the render has a lot less detail. So the ME preview can be somewhat misleading in these cases.
Tom Grimes | chaos-corona.com
Product Manager | contact us

2023-11-22, 20:53:34
Reply #7

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5460
    • View Profile
For interest, the same connected to the displace and not the diffuse. And results were the same for me with a Corona Bitmap, the Mat Editor is "not to be believed" ;) This will be because the blurring happens over the size of the mat editor preview, vs. over the size of the bitmap in the render (the image is first projected onto whatever size it is occupying in a render in either the preview window or the scene, and then THAT is blurred, not the source image). As you make the mat editor preview larger, more detail begins to be seen, but it's still not large enough to duplicate what is happening in the 3D scene. Meantime, blurring in Photoshop of course happens across the whole source bitmap and isn't dependent on the size of the image inside the rendered area, different sort of blurring altogether. At least, that's my guess :)
« Last Edit: 2023-11-22, 21:01:54 by TomG »
Tom Grimes | chaos-corona.com
Product Manager | contact us

2023-11-22, 22:17:40
Reply #8

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8831
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Blur vs blur offset in 3ds Max: https://help.autodesk.com/view/3DSMAX/2024/ENU/?guid=GUID-7141A99A-27C3-421B-AF57-1049BDC3FD69

Corona bitmap does not have blur offset, which is what you want to use if you want to have consistent blurring across the image. As i said before, for displacement you want to use blur offset, or better yet just blur the texture in image editing software, you will get much better result that way.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2023-11-23, 10:11:31
Reply #9

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12750
  • Marcin
    • View Profile
To sum up: the blurring and blurring offset available in 3ds Max is not the same as "gaussian blur" in Photoshop and currently we do not have a blur node in the material editor. There is already a feature request for it.

(Internal ID=296217029)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us