MaxToLux - Autodesk 3ds Max Integration for LuxCoreRender

Discussion related to the LuxCore functionality, implementations and API.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Post by B.Y.O.B. »

You can use the "uv" texture to get the UV coordinates of a mesh as a color in the material, might help with debugging:
https://wiki.luxcorerender.org/LuxCore_ ... 2#Type:_uv
Attachments
2019-04-20_18-26-57.png
User avatar
TAO
Developer
Developer
Posts: 851
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Post by TAO »

Thank you, everybody.
Problem solved.

Annotation 2019-04-20 214216.jpg
User avatar
TAO
Developer
Developer
Posts: 851
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Post by TAO »

Add support for OpenCL Devices, i found a small issue that we need to find out how many OpenCL devices are available. I'll fix it later.
Except that, everything works fine.

MaxLuxCore OpenCl Support
MaxLuxCore OpenCl Support
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Post by Dade »

TAO wrote: Sun Apr 21, 2019 3:15 pm Add support for OpenCL Devices, i found a small issue that we need to find out how many OpenCL devices are available.
LuxCore API has a function to return a full description of all OpenCL devices available, is it what you need ?
Support LuxCoreRender project with salts and bounties
User avatar
nigec
Posts: 141
Joined: Mon Mar 11, 2019 8:50 am

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Post by nigec »

I would be interested.. isn't it all in the benchmark?
User avatar
TAO
Developer
Developer
Posts: 851
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Post by TAO »

Dade wrote: Sun Apr 21, 2019 3:27 pm
TAO wrote: Sun Apr 21, 2019 3:15 pm Add support for OpenCL Devices, i found a small issue that we need to find out how many OpenCL devices are available.
LuxCore API has a function to return a full description of all OpenCL devices available, is it what you need ?
Thank you, Dade.
I will try that and let you know. but i think, i need to do that inside 3dsmax before call LuxCore, 3dsmax has a bunch of internal function for this kind of things.
Last edited by TAO on Sun Apr 21, 2019 4:59 pm, edited 1 time in total.
User avatar
TAO
Developer
Developer
Posts: 851
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Post by TAO »

nigec wrote: Sun Apr 21, 2019 4:13 pm I would be interested.. isn't it all in the benchmark?
Thank you to mention that, I'm going to take a look at benchmark code too.
But i think it's going to be a bit different because it will be better to read this type of information before calling the renderer and as i mentioned before 3dsmax already has a few functions that can return the information we need here. So it's better to do as much as possible inside 3dsmax instead calling LuxCore over and over.
That's just my opinion for this and i will consider other solutions too.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Post by B.Y.O.B. »

You don't need a rendersession or anything to call this function.
In BlendLuxCore I do it here: https://github.com/LuxCoreRender/BlendL ... ncl.py#L64
The corresponding C++ function is GetOpenCLDeviceDescs(): https://github.com/LuxCoreRender/LuxCor ... e.cpp#L198
User avatar
TAO
Developer
Developer
Posts: 851
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Post by TAO »

Perfect, Thank you.
User avatar
TAO
Developer
Developer
Posts: 851
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Post by TAO »

First Lux Light is born inside 3dsmax. Lux Point Light
Annotation 2019-04-24 230911.jpg

New shape for Lux Camera, Not that different :D
Annotation 2019-04-24 230932.jpg
Post Reply