This is a python code to use in Houdini. The code gets the parameters, translation, rotation, and name from the selected nodes in /obj and creates nodes in /stage, assigning them the obtained data.
- PointLight
- SpotLight
- Area Light
- DistantLight
- Enviroment Light
- Copy the code.
- Create a new Tool in the shelf Bar.
- Paste the code into the Script tab.
To avoid problems with repetitive names when transferring lights, always add a prefix.
bird Model : https://free3d.com/3d-model/bird-with-wings-above-head-v1--211946.html