Page 1 of 1

Can luxcore support OSL?

Posted: Wed Apr 15, 2020 7:24 am
by BruceXu
How can I make luxcore support the OSL language? Include GPU rendering

Re: Can luxcore support OSL?

Posted: Wed Apr 15, 2020 11:07 am
by Dade
BruceXu wrote: Wed Apr 15, 2020 7:24 am How can I make luxcore support the OSL language? Include GPU rendering
I doubt it will ever happen because OSL isn't really suited for GPU support. As far as I know, even Cycles support OSL only on CPUs.

Re: Can luxcore support OSL?

Posted: Wed Apr 15, 2020 12:24 pm
by lacilaci
Dade wrote: Wed Apr 15, 2020 11:07 am
BruceXu wrote: Wed Apr 15, 2020 7:24 am How can I make luxcore support the OSL language? Include GPU rendering
I doubt it will ever happen because OSL isn't really suited for GPU support. As far as I know, even Cycles support OSL only on CPUs.
Octane supports it on gpus... maybe arnold too

Re: Can luxcore support OSL?

Posted: Wed Apr 15, 2020 12:32 pm
by BruceXu
Dade wrote: Wed Apr 15, 2020 11:07 am
BruceXu wrote: Wed Apr 15, 2020 7:24 am How can I make luxcore support the OSL language? Include GPU rendering
I doubt it will ever happen because OSL isn't really suited for GPU support. As far as I know, even Cycles support OSL only on CPUs.
Because I want luxcore to support materialx material library, but this material library is implemented in OSL language, so I have this requirement

So I want to know how much work it will take if luxcore supports OSL (including GPU rendering)

Re: Can luxcore support OSL?

Posted: Wed Apr 15, 2020 12:41 pm
by B.Y.O.B.
Brecht, developer of Cycles, once said this:
https://www.blenderdiplom.com/en/interviews/400-interview-brecht-van-lommel-on-cycles.html wrote:The main issue is to get OSL working on the GPU. It's almost as much work as building Cycles itself. It's not easy to do so we need more people to help us.

Re: Can luxcore support OSL?

Posted: Thu Apr 16, 2020 1:22 am
by BruceXu
B.Y.O.B. wrote: Wed Apr 15, 2020 12:41 pm Brecht, developer of Cycles, once said this:
https://www.blenderdiplom.com/en/interviews/400-interview-brecht-van-lommel-on-cycles.html wrote:The main issue is to get OSL working on the GPU. It's almost as much work as building Cycles itself. It's not easy to do so we need more people to help us.

Thank you for your reply