Armorpaint and Lux

General project and community related discussions and offtopic threads.
Post Reply
User avatar
Egert_Kanep
Posts: 200
Joined: Tue Mar 13, 2018 10:34 am

Armorpaint and Lux

Post by Egert_Kanep » Fri Nov 01, 2019 12:18 pm

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

User avatar
B.Y.O.B.
Developer
Developer
Posts: 2997
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Armorpaint and Lux

Post by B.Y.O.B. » Fri Nov 01, 2019 3:12 pm

What kind of API does Armorpaint offer? Python, C++?
Support LuxCoreRender project with salts and bounties

User avatar
Egert_Kanep
Posts: 200
Joined: Tue Mar 13, 2018 10:34 am

Re: Armorpaint and Lux

Post by Egert_Kanep » Fri Nov 01, 2019 3:20 pm

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

User avatar
B.Y.O.B.
Developer
Developer
Posts: 2997
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Armorpaint and Lux

Post by B.Y.O.B. » Fri Nov 01, 2019 3:40 pm

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).
Support LuxCoreRender project with salts and bounties

User avatar
Egert_Kanep
Posts: 200
Joined: Tue Mar 13, 2018 10:34 am

Re: Armorpaint and Lux

Post by Egert_Kanep » Fri Nov 01, 2019 3:46 pm

Yeah, I was thinking about the standalone LuxCore solution. Would it make sense to do it that way?

User avatar
B.Y.O.B.
Developer
Developer
Posts: 2997
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Armorpaint and Lux

Post by B.Y.O.B. » Fri Nov 01, 2019 3:54 pm

From the description in the first post, it would be enough, yes.
Support LuxCoreRender project with salts and bounties

Post Reply