Skip to main content
Ayush Bakshi
Inspiring
September 23, 2023
Answered

How to set Pixel Processor Output Size and Format based on input?

  • September 23, 2023
  • 1 reply
  • 1096 views

Hey Good People!

I was happily devloping something and noticed this anomaly (chk attached screenshot).

I thought there's some gap in my understanding so went through the documentation.

Inheritance in Substance graphs

So the Pixel Processor node doesn't give the "Relative to input" option which makes sense b/z it's itself a graph so it took values from its parent graph.. but can I set it to change based on input?

I can't set it to Absolute and I can't set to Relative to Parent (graph)..
What should I do?

 

12.3.0 build 6140

This topic has been closed for replies.
Correct answer Luca Giarrizzo

Hello Ayush,

 

Thank you for reaching out!

 

Indeed, the Pixel processor cannot inherit Output size and Output format from input, It is different from other nodes in that it does not have a Primary input connector to inherit from.

 

What you may do is set Output size's inheritance method to Absolute, and pass another node's resolution to it using a Get Size node connected to a dedicated input value. Then, in the Output size function, convert that value to the appropriate format and set it as the function's output.

 

 

Output format (I.e., bitdepth) cannot be retrieved that easily. We recommend you set its inheritance to Absolute and to the highest precision you think you may need.

 

Feel free to let me know if you have other questions.

 

1 reply

Luca Giarrizzo
Community Manager
Luca GiarrizzoCommunity ManagerCorrect answer
Community Manager
September 25, 2023

Hello Ayush,

 

Thank you for reaching out!

 

Indeed, the Pixel processor cannot inherit Output size and Output format from input, It is different from other nodes in that it does not have a Primary input connector to inherit from.

 

What you may do is set Output size's inheritance method to Absolute, and pass another node's resolution to it using a Get Size node connected to a dedicated input value. Then, in the Output size function, convert that value to the appropriate format and set it as the function's output.

 

 

Output format (I.e., bitdepth) cannot be retrieved that easily. We recommend you set its inheritance to Absolute and to the highest precision you think you may need.

 

Feel free to let me know if you have other questions.

 

Luca Giarrizzo | Quality Engineer, 3D & Immersive | Adobe