Get final render resolution from ROP?

   893   3   0
User Avatar
Member
30 posts
Joined: 8月 2018
Offline
Gang:

I'd like to get the final output resolution from a ROP node that might-or-might-not be overriding the camera resolution. Is there a builtin way to do this? I'd like to avoid having to recreate the internal logic / rounding.

Thanks in advance,
Tim
User Avatar
Member
1908 posts
Joined: 11月 2006
Offline
Unfortunately there's really not a great way to go about it, other than figuring it out youself, as the code that's responsible for calculating the values using all the possible overrides and such is buried in soho (or in c++ depending on what ROP you're using)
Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
30 posts
Joined: 8月 2018
Offline
graham:

Yep, I was pretty sure that would be the answer.

Many thanks,
Tim
User Avatar
Member
68 posts
Joined: 9月 2018
Offline
Can you try switch between different render settings in ROP? (I mean in solaris)
I mean that's some sort of indirect solution.
If your purpose is to get I think you can name the render setting with the resolution you are using, and then get that string from render ROP and slice it.
Edited by goose7 - 2022年12月7日 04:52:35
  • Quick Links