Suzie1 / ComfyUI_Comfyroll_CustomNodes

Custom nodes for SDXL and SD1.5 including Multi-ControlNet, LoRA, Aspect Ratio, Process Switches, and many more nodes.
https://civitai.com/models/183551/comfyui-comfyroll-custom-nodes
634 stars 87 forks source link

Feature Request Gift overlay projection #91

Open kakachiex2 opened 9 months ago

kakachiex2 commented 9 months ago

Hi Suzie I want to use a gif hud animation in from of an static iamge, Im using your image overlay node but I get this errors do you think there could be a better way. Screenshot 2023-12-28 212331

kakachiex2 commented 9 months ago

This is the setup, simply play the gif in front of my character

https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/assets/1762112/42f82f9a-3ffe-49c2-8b96-be9cf76cd0df

Suzie1 commented 9 months ago

Hi, I really like this use case, If we can solve this then the same concept to be used with some of my other graphics nodes. Its a little hard to see the connections on your workflow because you have square connectors. Is the giphy gif image connected to the overlay_image input on CR Image Overlay? Suzie

kakachiex2 commented 9 months ago

Ok I found a solution but is limited I would like to have the option to place various gif hud around the character and move them, scale and locate them were I need it

kakachiex2 commented 9 months ago

Here is the solution for know hope you can do something better, I use the imageBlend node an video combined.

https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/assets/1762112/8231b925-1acd-4c89-baf9-2015f5373e11

kakachiex2 commented 9 months ago

This ImageBlend node have some blend mode so I set it to screen and opacity to 0.95, my intention is to animate the head and the gif to follow the head movement or same concept apply to hand or other object.

https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/assets/1762112/1a81ad7f-f14b-4c40-b50a-0fee08c514f3

kakachiex2 commented 9 months ago

I have an idea to project the hud lighting over the head by duplicate the gif an set it to overlay or some blend mode to adapt to the surface of the head or object

kakachiex2 commented 9 months ago

were can I chat with you and share ideas and concept

kakachiex2 commented 9 months ago

Here is a more complete workflow for know give it a check, I add hud projection over character https://civitai.com/models/247702?modelVersionId=279476

https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/assets/1762112/099cfd7d-435d-485e-8859-d663945e1903

Suzie1 commented 9 months ago

Hi, you can chat to me on the AI Revolution discord. https://discord.gg/V4nzTHz3HF I love wht you are making here and am going to make some nodes to make this easier soon. I already have a WIP node that I might be able to adapt for this. I can leave this open as a feature request. Can you edit the issue title to something like 'Feature Request: GIF overlay'? Suzie

kakachiex2 commented 9 months ago

Any news on this What I want to recreate is this iron man hud animation there are several tutorila about this. https://www.youtube.com/watch?v=aoZEi6EmW8k

kakachiex2 commented 9 months ago

I got a working test by transferring the animation to my character, but match the hud animation to the movement of the head it is possible...?

Suzie1 commented 9 months ago

Hi, I made a new GIF loader node this morning, it loads the GIF images as a list that can be batched prior to output It will be released soon. I'm going to test this with existing nodes and then make new nodes focused on using the GIF image as an overlay. Suzie