LuxCore for Maya

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: LuxCore for Maya

Post by B.Y.O.B. »

The pyluxcoredemo script was written for Python 3.
I think you're better off copy/pasting the relevant lines that you want to test and adapting them to Python 2 syntax.
User avatar
motaman
Posts: 34
Joined: Tue Mar 12, 2019 4:03 pm
Location: Mexico
Contact:

Re: LuxCore for Maya

Post by motaman »

B.Y.O.B. wrote: Mon Mar 25, 2019 6:20 pm The pyluxcoredemo script was written for Python 3.
I think you're better off copy/pasting the relevant lines that you want to test and adapting them to Python 2 syntax.
:) yeah you are right! thnx
instagram: motaman.art
User avatar
motaman
Posts: 34
Joined: Tue Mar 12, 2019 4:03 pm
Location: Mexico
Contact:

Re: LuxCore for Maya

Post by motaman »

Turns out there is a luxcore to maya plugin ,but only works in Maya 2014 (and it has limited functionality )

https://github.com/haggi/OpenMaya/tree/ ... _devmodule

https://vimeo.com/66013765
https://vimeo.com/66013764

i think this is good reference , I will try to contact haggi , the boi who did this and other implementations for maya.
:idea: :!:
instagram: motaman.art
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: LuxCore for Maya

Post by B.Y.O.B. »

Looks to me like a LuxRender to Maya plugin (written for the old API, not the new LuxCore API).
But yes, it's probably a good starting point for the general plugin structure and the Maya side of things.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: LuxCore for Maya

Post by Dade »

Looking how old it is, it may have been written for old Lux v1.x API (i.e. it has changed a looooot).

Yes, I looked at the code and it has been written for old Lux. I'm afraid there is very little con salvage.

The code of old official Maya plugin is here https://bitbucket.org/luxrender/luxmaya/src but it is even older.
Support LuxCoreRender project with salts and bounties
User avatar
motaman
Posts: 34
Joined: Tue Mar 12, 2019 4:03 pm
Location: Mexico
Contact:

Re: LuxCore for Maya

Post by motaman »

I think the maya side can be very usefull :idea: MEL doesn't change that much
instagram: motaman.art
User avatar
motaman
Posts: 34
Joined: Tue Mar 12, 2019 4:03 pm
Location: Mexico
Contact:

Re: LuxCore for Maya

Post by motaman »

Okay so I talked with haggi and he told me he doesn`t have time to participate in the LuxCore-Maya project but he sent this link :D

https://github.com/appleseedhq/appleseed-maya

He said they have a better implementation for maya and it can help with the luxcore plugin. :geek: :idea:
instagram: motaman.art
User avatar
Mango3
Posts: 32
Joined: Sun Oct 28, 2018 7:09 pm

Re: LuxCore for Maya

Post by Mango3 »

Hi motaman,

You can definitely have a look at our Maya plugin. It is regularly updated and works with all recent Maya versions, including 2019.
Most of it is in C++, though there are also Python scripts for the UI menu, render settings etc.
Not sure how much you will be able to adapt, it is tightly connected to the specifics of appleseed core.

As a start it would be probably much easier to write a basic Python (PyMel) export script than using the C++ API.

Anyway, good to see LuxCore expanding to more dcc applications outside of the Blender eco-system.
User avatar
motaman
Posts: 34
Joined: Tue Mar 12, 2019 4:03 pm
Location: Mexico
Contact:

Re: LuxCore for Maya

Post by motaman »

Mango3 wrote: Wed Mar 27, 2019 6:24 pm Hi motaman,

You can definitely have a look at our Maya plugin. It is regularly updated and works with all recent Maya versions, including 2019.
Most of it is in C++, though there are also Python scripts for the UI menu, render settings etc.
Not sure how much you will be able to adapt, it is tightly connected to the specifics of appleseed core.

As a start it would be probably much easier to write a basic Python (PyMel) export script than using the C++ API.

Anyway, good to see LuxCore expanding to more dcc applications outside of the Blender eco-system.
:D Thanks a lot for the help, I saw the code in github and it gave me some ideas.
You are right! will stick with PyMel for now :idea: :)
instagram: motaman.art
Post Reply