Conceal Layer option - Ornatrix work around

Forums: Conceal Layer option - Ornatrix work around
3D Studio Max Plugin (Export Script Plugins developed by [gk] and KilaD; Integrated Plugin developed by Karba)
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here viewforum.php?f=18

Conceal Layer option - Ornatrix work around

Postby neonZorglub » Wed Mar 06, 2024 12:40 am

neonZorglub Wed Mar 06, 2024 12:40 am
Conceal Layer option (from version 2023.1.2 - 10.14 and 2024.1 Alpha3 - 15.04 )

A special option 'Conceal Layer' has been added to all Octane materials using a Material Layer.

The main purpose is to provide a work around to a display issue in 3dsMax viewport, when using Ornatrix hair objects.

Ornatrix display the hair using the assigned material, while also displaying selection areas, custom elements (rgb painted channels, etc) and can blend those elements with the Overlay Opacity parameter.

When the assigned material uses multi materials, this display is incorrect.

ConcealLayer_1_disabled.png

ConcealLayer_2_enabled.png


Most Octane materials have a Material Layer slot, that is a sub material.
The new option 'Conceal Layer' will hide this sub material from 3dsMax requests and make the material behave like a material with no sub materials.
This fixes the Ornatrix display issue, and still allows to use Material layers.

The drawback is that will hide the Material Layer from the Slate material editor.
Also, with the Compact material editor, the Material Layer is still accessible, but when opening an existing layer, the parent material name will be incorrect.
So it is preferable to disable 'Conceal Layer' when editing materials.


Sample:
ornax_Octane_mtl_mx20.zip
(640.41 KiB) Downloaded 18 times

-Load ornax_Octane_mtl_mx20.max
-Note that the hair are displayed in the 3dsMax viewport using the 'color_squares_mtl' Octane Diffuse material

-Select the 'Fur Ball' node
-Select the Ox Edit Guides modifier
-Set Guide Channels / Current Channel to 'Vertex(0): colR'

-Note that the painted hair colors are now displayed in the 3dsMax Viewport (blended with 'color_squares_mtl').

-Adjust the 'Overlay Opacity' to see more or less of 'color_squares_mtl' and custom elements (painted hair colors)
-Disable / Enable the Conceal Layer option of 'color_squares_mtl'.
Note that when Conceal is enabled, the display shows both the hair custom elements and the octane material colors (but with a different mapping as when rendered with Octane),
and when disabled, the display shows only the octane material colors, correctly, as it will be renderer with Octane.


ConcealLayer_3_disabled_selection.png

ConcealLayer_4_enabled_selection.png

ConcealLayer_5_disabled_selection_paintColors.png

ConcealLayer_6_enabled_selection_paintColors.png



Reference:
ornax_arnold_blendMtl_Bug_mx20.zip
(605.23 KiB) Downloaded 18 times

This sample, ornax_arnold_blendMtl_Bug_mx20.max, not using Octane Render or materials illustrate that the issue do not comes from Octane:

Reproductioni steps:

-Load ornax_arnold_blendMtl_Bug_mx20.max
-Note that the hairs are displayed in the viewport using the blue and yellow 'wave_mtl'

-Select the 'Fur Ball' node
-Select the Ox Edit Guides modifier
-Set Guide Channels / Current Channel to 'Vertex(0): colR'

-Note that the painted hair colors are now displayed in the 3dsMax Viewport (blended with 'wave_mtl').

-Open the Compact material editor
-Note that the currently assigned material ('wave_mtl') is a simple 'Physical Material'
-Assign the second material ('blend_mtl') to the Fur ball

-Note that the viewport do not show the hair vertex colors anymore.

Reason:
The 'blend_mtl' has sub materials. (and note that 'wave_mtl' don't have sub material)
When a material containing sub materials is applied to the hair object, the resulting viewport display doesn't seems to use the 'Overlay Opacity' anymore.
(it behaves like 'wave_mtl' with 'Overlay Opacity' set to 0)
neonZorglub
OctaneRender Team
OctaneRender Team
 
Posts: 899
Joined: Sun Jul 31, 2016 10:08 pm

Re: Conceal Layer option - Ornatrix work around

Postby andrey.krivulya » Sat Mar 09, 2024 8:09 am

andrey.krivulya Sat Mar 09, 2024 8:09 am
Hey @neonZorglub

Thank you very much!

Will test it and let you know soon.
win 10 /64x Intel Core i9-11980HK - 64Gb RAM - 3080 Laptop - 16Gb VRAM - AERO 15 OLED YD

My youtube channel with 3d tutorials ----- >>>> https://www.youtube.com/c/AndrewKrivulya
User avatar
andrey.krivulya
Licensed Customer
Licensed Customer
 
Posts: 129
Joined: Wed Apr 06, 2016 6:15 pm

Re: Conceal Layer option - Ornatrix work around

Postby andrey.krivulya » Mon Mar 11, 2024 8:34 am

andrey.krivulya Mon Mar 11, 2024 8:34 am
Fixed! Thank you very much!

I recorded a small tutorial =)



Thank you and have a great day
Best regards,
Andrew.
win 10 /64x Intel Core i9-11980HK - 64Gb RAM - 3080 Laptop - 16Gb VRAM - AERO 15 OLED YD

My youtube channel with 3d tutorials ----- >>>> https://www.youtube.com/c/AndrewKrivulya
User avatar
andrey.krivulya
Licensed Customer
Licensed Customer
 
Posts: 129
Joined: Wed Apr 06, 2016 6:15 pm

Re: Conceal Layer option - Ornatrix work around

Postby HHbomb » Mon Mar 11, 2024 1:04 pm

HHbomb Mon Mar 11, 2024 1:04 pm
Thanks andrey.
YOKO Studio | win 10 64 | i7 5930K GTX 3090 | 3dsmax 2022.3 |
HHbomb
Licensed Customer
Licensed Customer
 
Posts: 1307
Joined: Wed Jun 30, 2010 8:45 pm

Re: Conceal Layer option - Ornatrix work around

Postby remKa » Wed Mar 13, 2024 10:59 am

remKa Wed Mar 13, 2024 10:59 am
Thanks NeonZorglub for your hard work :)

It would be nice though if someone in your team could do videos like Andrey did (thanks Andrey !).
i7 3930K / 1 EVGA Titan Black SuperClocked - 1 GTX Titan - 1 GTX 960 / 32 Gb DDR 3
http://www.remka.fr
https://twitter.com/remKa_
remKa
Licensed Customer
Licensed Customer
 
Posts: 181
Joined: Fri Jan 24, 2014 6:23 pm
Location: Paris

Re: Conceal Layer option - Ornatrix work around

Postby neonZorglub » Tue Mar 19, 2024 12:42 am

neonZorglub Tue Mar 19, 2024 12:42 am
remKa wrote:Thanks NeonZorglub for your hard work :)

It would be nice though if someone in your team could do videos like Andrey did (thanks Andrey !).


Glad to see that this feature can be useful !
Yes, we usually do videos for this kind of things, but this was kind of last minute update before release, and Andrew was very fast !
Thanks Andrew !
neonZorglub
OctaneRender Team
OctaneRender Team
 
Posts: 899
Joined: Sun Jul 31, 2016 10:08 pm

Return to Autodesk 3Ds Max


Who is online

Users browsing this forum: No registered users and 22 guests

Sat Apr 27, 2024 12:35 pm [ UTC ]