Bring your Redshift light-setup from Maya to Houdini with the click of a button! (two buttons actually)
At the moment is FBX the standard format to transfer scenes between different software. The problem is that FBX does not recognize a plugin data and just throws it away. It is handy to have exactly the same light-setup in both the software-packages. Otherwise the simulation's will not align when brought together.
Inside Maya, copy the content of the script in the 'Script Editor'. Click 'Add to shelf' to keep it when restarting. Run the script and select all the lights you want to export. Redshift-lights only
Click the upper button. The script wil detect if selected lights are parented to controllers. It will duplicate them outside of the parent and bakes it into the world.
Select the baked duplicate lights and any other light that had no parent. Click the lower button and choose a path to export the .json file with all the light-attributes inside.
Open Houdini > source editor and run houdini_transformer.py Select the .json and see the magic!
It only works for physical based lights (you should use them 99% of the time eitherway).
In earlier versions of Redshift there is a bug, take the latest and greatest.
Path select with $HIP/Desktop/
in Houdini does not work.
Just insert C:/Users/Desktop/
as path.