Script to import Reddshift lights from obj to Solaris?

   2149   3   1
User Avatar
Member
50 posts
Joined: Oct. 2021
Offline
Hi guys,
I'm looking for a script to import RS lights from obj to Solaris because it's wast of time when you get many lights and have to do it again one by one...

Thank you
Wow factor
User Avatar
Staff
593 posts
Joined: June 2020
Offline
Unless you're specifically looking for a one-off conversion, we recommend using the Scene Import LOP for this. It's designed to do obj->Solaris translation, and can be extended to support third-party node types.

My understanding is that the Redshift team don't currently provide custom translators with redshift4houdini, but are working on it soon.

In the interim, you could start with the attached file. It'll only do a limited translation, but is at least something. Put it somewhere in your Houdini path under a husdplugins/objtranslators subdirectory (for example $HOME/houdini19.5/husdplugins/objtranslators).

Apologies in advance if there are follow-up questions, as I'll be away on holiday for the coming week, but hopefully the rest of the community can help in my absence.

- Rob

Attachments:
rslights.py (3.6 KB)

User Avatar
Member
50 posts
Joined: Oct. 2021
Offline
Hi Rob,
it's really kind to answer, and will elaborate with the community.

I wish you great holidays

Best Regards.
Naim
Wow factor
User Avatar
Member
50 posts
Joined: Oct. 2021
Offline
This script help a lot!!
I 'm now wondering how to make it better
Wow factor
  • Quick Links