Page 1 of 1

Armorpaint and Lux

Posted: Fri Nov 01, 2019 12:18 pm
by Egert_Kanep
I just started playing with armorpaint and thought what if it had a feature like in substance where you could with one button klick see your model in Iray render. But instead armorpaint could have a link with LuxCore. So user can just hit render and LuxCore window would pop up with textures and everything connected.
Shouldn't be super difficult as the model can be loaded from drive and textures are already baked inside Armorpaint so it's just the matter of loading those into Lux. And disney shader also makes it super easy

Re: Armorpaint and Lux

Posted: Fri Nov 01, 2019 3:12 pm
by B.Y.O.B.
What kind of API does Armorpaint offer? Python, C++?

Re: Armorpaint and Lux

Posted: Fri Nov 01, 2019 3:20 pm
by Egert_Kanep
Honestly I don't know. I see that plugins are made with javascript, but that might not be relevant for this.
https://github.com/armory3d/armorpaint

I also asked Armorpaint developers about it so let's see what they respond

Re: Armorpaint and Lux

Posted: Fri Nov 01, 2019 3:40 pm
by B.Y.O.B.
https://armorpaint.org/manual/#/?id=plugins wrote:Plugins are written in JavaScript or WebAssembly.
We currently don't have a javascript API, so for such a project the developer would either need to write javascript bindings for LuxCore, or call standalone luxcore(console/ui) from the javascript plugin (via system() or equivalent).

Re: Armorpaint and Lux

Posted: Fri Nov 01, 2019 3:46 pm
by Egert_Kanep
Yeah, I was thinking about the standalone LuxCore solution. Would it make sense to do it that way?

Re: Armorpaint and Lux

Posted: Fri Nov 01, 2019 3:54 pm
by B.Y.O.B.
From the description in the first post, it would be enough, yes.