Auto generate render previews with multiple HDRis

   573   4   1
User Avatar
Member
9 posts
Joined: 11月 2021
Offline
I want to automate my look dev'ing a bit.

So, how do I achieve the following:

1. Load a HDRi from a folder
2. Do a render with a rotation value on Y axis at 0 degrees
3. Save the render out to hdd with a suffix/tag of the HDRi name and degree used
4. Do a render with a rotation value on Y axis at 60 degrees
5. Save the render out to hdd with a suffix/tag of the HDRi name and degree used
6. Do a render with a rotation value on Y axis at 120 degrees
7. Save the render out to hdd with a suffix/tag of the HDRi name and degree used
8. Do a render with a rotation value on Y axis at 180 degrees
9. Save the render out to hdd with a suffix/tag of the HDRi name and degree used
10.... Well, you get the point.

Basically I need 6 renders per HDRi with an increments of 60 degrees on Y axis. And the same per each HDRi in the folder.
So in the end, if let's say I have 10 HDRis in the folder, I get 60 renders (10*6) with different lighting conditions.

P.S. I'm using Redshift here.
Edited by mantas_kava - 2024年2月8日 05:08:57
User Avatar
Member
253 posts
Joined: 7月 2013
Offline
TOPs is ideal for this.

-Folder with HDIs
-wedge the HDR files.
-wedge the rotation parm
-render all wedges.

It's really a nice and simple project to get into TOPs.
More code, less clicks.
User Avatar
Member
9 posts
Joined: 11月 2021
Offline
Thanks for the reply, Jonathan.
Since I am a noob in this regard, could you please be a bit more specific? Like how exactly do I wedge these HDRis, how exactly do I wedge the rotation in steps/increments and how exatly do I make my render/file naming respect HDRis name and rotation value?
User Avatar
Member
253 posts
Joined: 7月 2013
Offline
These are your clues Do some basic TOPs / PDG tutorials and you'll figure it out.


Attachments:
Screenshot 2024-02-08 162431.jpg (76.6 KB)

More code, less clicks.
User Avatar
Member
9 posts
Joined: 11月 2021
Offline
Okay, thank you!
BTW, if you know some good beginner friendly tutorials for pdg/tops, let me know
  • Quick Links