Author Topic: Performance penalty when using Max native Physical Material?  (Read 963 times)

2023-03-01, 09:53:22

zaar

  • Active Users
  • **
  • Posts: 66
    • View Profile
Hi!

Corona seems to fully support the Physical Material that is native to Max. Haven't checked all the features yet. But, is there any penalty in performance when using it?

Of course I prefer the Corona Material when ever I can, if just for easy of use. But there are situation where using only Max native material and maps might be necessary. Does anyone know if I would be looking at a severe performance hit? Or are we talking about a 1% increase or something like that?

2023-03-01, 14:43:15
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12764
  • Marcin
    • View Profile
There is no penalty. The Autodesk Physical Mtl is internally parsed into a Corona Legacy Mtl.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2023-03-01, 16:39:53
Reply #2

zaar

  • Active Users
  • **
  • Posts: 66
    • View Profile
Best news EVER!

Anything one should know about how transparency+depth and SSS gets translated to Corona Media Options?

2023-03-02, 12:00:23
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12764
  • Marcin
    • View Profile
"Depth" under transparency - it looks like this setting is ignored.
Sub-surface Scattering with depth set to 0 - this seems to work like Corona's translucency (simulating SSS on an object with near-zero thickness).
Sub-surface Scattering with depth set to non-0 - this seems to work like Corona's SSS mode.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2023-03-02, 16:37:33
Reply #4

zaar

  • Active Users
  • **
  • Posts: 66
    • View Profile
It's been a long day here, but I can't get metallness 1,0 to work.

I create a Physical Material and put metallness to 1,0, put it on a teapot, pick an HDRI. It's not metallic in Corona, but in Arnold and V-ray. Maybe this is logical because the CoronaLegacyMat didn't have metal, buuut maybe it could be mapped to the IOR in some clever way?

Any recommendation on how to make a metal with Physical Material so that it renders resonably the same in all three renderers?

2023-03-02, 16:41:33
Reply #5

zaar

  • Active Users
  • **
  • Posts: 66
    • View Profile
Oh and thanks for the answers about the media options!

Seems I can up the IOR on the physical material without Arnold changing apperance much, but it starts to look metallic in Corona.

2023-03-02, 16:58:32
Reply #6

zaar

  • Active Users
  • **
  • Posts: 66
    • View Profile
Oh, and there's three modes on the physical material. Classic Simple, Classic Advanced, Autodesk Standard Surface Compliant. I found it slightly differences when inputting the same values on classic simple and advanced. Any input on that? Does that choice affect the parsing in Corona in some way?

2023-03-02, 19:34:27
Reply #7

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12764
  • Marcin
    • View Profile
Why exactly do you need to render the Autodesk Physical Mtl in Corona?

Metalness is only available in the Corona Physical Mtl. Corona Legacy Mtl does not have this option.

With the Corona Legacy Mtl, the proper way to get metal materials was cranking up IOR to higher values (~30 or more).
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2023-03-02, 22:41:01
Reply #8

zaar

  • Active Users
  • **
  • Posts: 66
    • View Profile
I want to be able to use Corona for high quality stills and animations as I think it’s the absolute best renderer for that. But I also need to bake textures and publish low poly assets as glTF/GLB. Or maybe I just want other users that use other renderers to render my assets. So I need to use v-ray or Arnold for that.

Is there any technical reason for not parsing the physical material to a Corona physical material? If metal doesn’t work I don’t think one can say that Corona supports the physical material properly yet.
« Last Edit: 2023-03-07, 06:55:00 by zaar »

2023-03-07, 08:32:43
Reply #9

zaar

  • Active Users
  • **
  • Posts: 66
    • View Profile
V-ray renders metalness 1.0 on physical material identically as VrayMtl with metalness 1.0.

Max's physical material seems more a like the Corona Physical Material than the legacy material. Is there any specific reason for in not being parsed to a Cr Physical? Was the work done before the Cr Physical Mat was introduced?

I'm so longing for some sort of cross render/platform way of describing materials and maps. If just inside a "Chaos ecosystem". V-ray won't render the Corona Physical Material only the legacy one.

2023-03-09, 16:26:29
Reply #10

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12764
  • Marcin
    • View Profile
I want to be able to use Corona for high quality stills and animations as I think it’s the absolute best renderer for that. But I also need to bake textures and publish low poly assets as glTF/GLB. Or maybe I just want other users that use other renderers to render my assets. So I need to use v-ray or Arnold for that.
Thanks, I get it now. This is indeed challenging. As far as I understand, you would either need to use one material that all the different software interprets in a similar way, or use some kind of converter to convert between the different formats.

Quote
Is there any technical reason for not parsing the physical material to a Corona physical material?
Quote
Was the work done before the Cr Physical Mat was introduced?
Yes, exactly this. This is not a very popular use case, so it simply hasn't been done yet.

I'm so longing for some sort of cross render/platform way of describing materials and maps. If just inside a "Chaos ecosystem". V-ray won't render the Corona Physical Material only the legacy one.
Yes, I agree cross-compatibility would be great. The V-Ray converter can convert Corona Physical Mtl: https://docs.chaos.com/display/VMAX/V-Ray+Scene+Converter
Perhaps this could be a solution for you?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2023-03-09, 16:38:34
Reply #11

zaar

  • Active Users
  • **
  • Posts: 66
    • View Profile
Thanks, Marcin!

I submitted a feature request so my thoughts and wishes end up "in the system" so to speak :)

The converter is good as a one way workflow, but I didn't even try it as it's less flexible and no going back. I have two sets of materials (30+ for one product...) both in v-ray and in corona now, depending on if I need to bake or not. It's a huge pain! Probably bigger than moving to whole stills/anim production into v-ray. But v-ray is not as nice and quick to work and render in :(

There's got to be a lot of places that are doing some kind of design viz that soon will want to put all their high poly assets on the web too. "show the product in 3d" -style.

Is there any info you can share on what Chaos or Corona thinks of MaterialX? It seems like the promised land, but I'm yet to understand how it will actually work in the end.

2023-03-09, 16:49:29
Reply #12

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8850
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Was the work done before the Cr Physical Mat was introduced?
Yes, exactly this. This is not a very popular use case, so it simply hasn't been done yet.

Here goes my vote. Better support for Max's physical material is something that would quite interested me for reasons similar to ones that's listed above.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2023-03-13, 13:33:59
Reply #13

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12764
  • Marcin
    • View Profile
Request for parsing Autodesk Physical Mtl into Corona Physical Mtl logged.

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