MaxToLux - Autodesk 3ds Max Integration for LuxCoreRender

Discussion related to the LuxCore functionality, implementations and API.
User avatar
TAO
Developer
Developer
Posts: 850
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: MaxToLux - Autodesk 3ds Max Integration for LuxCoreRender

Post by TAO »

I'll take a look at it, my priority right now is to fix the important issues and add support for Multimaterial/SubMaterial, i think the mention feature will be supported during this process.
User avatar
patro
Posts: 201
Joined: Sun Jan 21, 2018 7:09 pm
Location: mount Etna

Re: MaxToLux - Autodesk 3ds Max Integration for LuxCoreRender

Post by patro »

test mirror.zip
(325.26 KiB) Downloaded 138 times
test.jpg
User avatar
TAO
Developer
Developer
Posts: 850
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: MaxToLux - Autodesk 3ds Max Integration for LuxCoreRender

Post by TAO »

patro wrote: Fri Mar 26, 2021 1:33 pm test mirror.zip
test.jpg
I see what you mean, that's not an issue with luxCore or MaxToLux. This is a known issue with one of the oldest mirroring tools in 3dsmax, they need to update the code.
https://knowledge.autodesk.com/support/ ... s-Max.html

The only fix is to add an Xform and then a Normal modifier on top of that.
Screenshot 2021-03-26 151632.jpg
User avatar
patro
Posts: 201
Joined: Sun Jan 21, 2018 7:09 pm
Location: mount Etna

Re: MaxToLux - Autodesk 3ds Max Integration for LuxCoreRender

Post by patro »

TAO wrote: Fri Mar 26, 2021 2:28 pm
patro wrote: Fri Mar 26, 2021 1:33 pm test mirror.zip
test.jpg
I see what you mean, that's not an issue with luxCore or MaxToLux. This is a known issue with one of the oldest mirroring tools in 3dsmax, they need to update the code.
https://knowledge.autodesk.com/support/ ... s-Max.html

The only fix is to add an Xform and then a Normal modifier on top of that.
Screenshot 2021-03-26 151632.jpg
Oh well good to know. But did you notice that it doesn't hapoen with all materials? i reported a list of them on github
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: MaxToLux - Autodesk 3ds Max Integration for LuxCoreRender

Post by B.Y.O.B. »

Mirroring probably makes all normals point in the other direction.
Some LuxCore materials act differently depending if it's a backface or frontface, e.g. glossy is only specular on the frontface, but behaves like matte on the backface (https://github.com/LuxCoreRender/LuxCore/issues/301).

You should probably check how other renderers in 3ds max handle this and follow their behaviour. Maybe they detect mirrored objects and flip their normals.
User avatar
TAO
Developer
Developer
Posts: 850
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: MaxToLux - Autodesk 3ds Max Integration for LuxCoreRender

Post by TAO »

B.Y.O.B. wrote: Fri Mar 26, 2021 2:42 pm Mirroring probably makes all normals point in the other direction.
Some LuxCore materials act differently depending if it's a backface or frontface, e.g. glossy is only specular on the frontface, but behaves like matte on the backface (https://github.com/LuxCoreRender/LuxCore/issues/301).

You should probably check how other renderers in 3ds max handle this and follow their behaviour. Maybe they detect mirrored objects and flip their normals.
Fliping the normal is exactly the case. That's the same for others rendered like Arnold and even viewport in case of visible reflection. they already add it in the knowing issue in Autodesk knowledge.
The issue will affect only the reflection, as it said on the Autodesk page.
Screenshot 2021-03-26 155146.jpg
User avatar
TAO
Developer
Developer
Posts: 850
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: MaxToLux - Autodesk 3ds Max Integration for LuxCoreRender

Post by TAO »

patro wrote: Fri Mar 26, 2021 2:42 pm
TAO wrote: Fri Mar 26, 2021 2:28 pm
patro wrote: Fri Mar 26, 2021 1:33 pm test mirror.zip
test.jpg
I see what you mean, that's not an issue with luxCore or MaxToLux. This is a known issue with one of the oldest mirroring tools in 3dsmax, they need to update the code.
https://knowledge.autodesk.com/support/ ... s-Max.html

The only fix is to add an Xform and then a Normal modifier on top of that.
Screenshot 2021-03-26 151632.jpg
Oh well good to know. But did you notice that it doesn't hapoen with all materials? i reported a list of them on github
It will affect only the glassy part of the material, any material with a glassy surface will be affected. Even the viewport glassy/specular as I mention and it is already explained on Autodesk WebSite.
Last edited by TAO on Fri Mar 26, 2021 3:48 pm, edited 1 time in total.
User avatar
patro
Posts: 201
Joined: Sun Jan 21, 2018 7:09 pm
Location: mount Etna

Re: MaxToLux - Autodesk 3ds Max Integration for LuxCoreRender

Post by patro »

B.Y.O.B. wrote: Fri Mar 26, 2021 2:42 pm
Some LuxCore materials act differently depending if it's a backface or frontface, e.g. glossy is only specular on the frontface, but behaves like matte on the backface (https://github.com/LuxCoreRender/LuxCore/issues/301).
Ah that's why the behaviour is not to notice with velvet for example. it was driving me nuts.. :D
User avatar
TAO
Developer
Developer
Posts: 850
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: MaxToLux - Autodesk 3ds Max Integration for LuxCoreRender

Post by TAO »

A reported issue with the used bitmap is rendered mirrored if the geometry has no UVW Map modifier applied has been fixed.
Screenshot 2021-03-26 182914.jpg
Ericka
Posts: 42
Joined: Mon Jun 08, 2020 2:00 pm

Re: MaxToLux - Autodesk 3ds Max Integration for LuxCoreRender

Post by Ericka »

I know it is very early to ask and 3ds max 2022 just released, but it would be perfect if we have MaxToLux for 3dsmax 2022.
Post Reply