stassius / StableHoudini

Stable Diffusion Houdini Toolset
Apache License 2.0
390 stars 44 forks source link

[BUG] #22

Closed JasonSongPeng closed 1 year ago

JasonSongPeng commented 1 year ago

When I apply controlnet in the mode of Text2image, I got a error: Error: No upstream images for ControlNet 0

image

How can I link my viewport to controlNet?

Thank you so much!

stassius commented 1 year ago

Upstream image is an image stored in File attribute in the previous nodes. For example you can get one by reading files with File Pattern node, by rendering image with Rop fetch node or by generating an image with SD Dream node. In my last tutorial I explained how to get a depth map from your viewport. https://www.youtube.com/watch?v=SJ5o18kJkRA

If you don't need a depth map, you can just put an OpenGl or another ROP-node in Rop network and call it from Rop fetch node in order to render your scene to disk.

stassius commented 1 year ago

I assume this is not a bug. If you have questions, please post them in QnA section of the Discussion tab. Feel free to open a new bug report if you got problems.

JasonSongPeng commented 1 year ago

Thank you syassius, problem solved.