Page 4 of 67

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Posted: Sat Apr 20, 2019 4:29 pm
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

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Posted: Sat Apr 20, 2019 5:14 pm
by TAO
Thank you, everybody.
Problem solved.

Annotation 2019-04-20 214216.jpg

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Posted: Sun Apr 21, 2019 3:15 pm
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

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Posted: Sun Apr 21, 2019 3:27 pm
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 ?

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Posted: Sun Apr 21, 2019 4:13 pm
by nigec
I would be interested.. isn't it all in the benchmark?

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Posted: Sun Apr 21, 2019 4:48 pm
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.

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Posted: Sun Apr 21, 2019 4:58 pm
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.

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Posted: Mon Apr 22, 2019 7:32 am
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

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Posted: Mon Apr 22, 2019 9:35 am
by TAO
Perfect, Thank you.

Re: MaxLuxCore - 3ds Max Integration for LuxCore

Posted: Wed Apr 24, 2019 6:46 pm
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