blender-loom icon indicating copy to clipboard operation
blender-loom copied to clipboard

Feature request: Support for note metadata

Open L0Lock opened this issue 5 months ago • 6 comments

I love the variables' system for the output file name, I would also love to have the same thing usable in the Metadata's notes input, like this:

image

Resulting in this:

image

Even though many of the default variables already exist within the metadata options already, the notes provide a neat customizable one and having Loom's variables in there would make this exponentially more powerful.

L0Lock avatar Jan 12 '24 00:01 L0Lock

Hi @L0Lock,

thanks for your request. Great that you came up with this, it's something that has also been on my wish list for a while, and I already did some tests last year. The remaining problem is that I would like to place the data outside of the frame, which makes it difficult and takes a lot of time to implement.

There was a prototype of sorts from Ubisoft that is similar to what I have in mind. However the add-on comes with a lot of dependencies and pre-installs that I would like to avoid.

Don't you think it would be more helpful to place the metadata outside the frame? Or wouldn't that matter to you?

Cheers, Christian

p2or avatar Jan 12 '24 08:01 p2or

Glad we share the same interests!

There are many ways to make stamps, some "enlarge" the canvas of the render to put their stuff, some overlay it on the render (Blender), some make a render with a margin to cater for eventual stamps, some have options for all these methods. I think they are all valid, depends the user.

If you want to go as far as building your own stamp system independant from Blender's metadata stamp, it could be entirely done with FFMPEG (at least every company i've worked at used only this far as I know), though that would mean such system isn't usable for still images or image sequences only?

L0Lock avatar Jan 12 '24 08:01 L0Lock

Hi @L0Lock,

I think we can have both. For the time being, we can support the built-in system with just a few resources. I created a new branch to play with:

Screenshot 2024-01-13 at 11 16 52

One side effect is that we can support adding new lines which doesn't seem possible out of the box. If you have the time, please download the add-on from there and report back. If you have futher ideas let's just discuss it.

Cheers, Christian

p2or avatar Jan 13 '24 10:01 p2or

Hi @L0Lock,

I think I've tested every possible case that came to mind, and I'm done so far. Did you have time to test? Is there anything still bothering you? Or can we merge it in the master?

Cheers, Christian

p2or avatar Jan 24 '24 09:01 p2or

Hi, Sorry for the delay.

It seems to work on my end as well. Just a little possible tweak; It seems to remove some extra spaces.

I tried to manually align my text with spaces, I.E. below I wanted the final text to look as in the text editor:

image

L0Lock avatar Jan 24 '24 22:01 L0Lock

Hi @L0Lock,

many thanks for your feedback!

Just a little possible tweak; It seems to remove some extra spaces. I tried to manually align my text with spaces, I.E. below I wanted the final text to look as in the text editor...

Great to have you here, updated the patch to address that:

Screenshot 2024-01-25 at 08 25 53 Screenshot 2024-01-25 at 08 44 34

Samples:

  • Render Camera: $CAMERA\nCurrent Frame: $F4\nFocal Length: $LENS
  • Render Camera: $CAMERA\nCurrent Frame: $F4\n Focal Length: $LENS
  • Render Camera: $CAMERA\nCurrent Frame: $F4\nFocale: $LENS
  • Render Camera: $CAMERA\nCurrent Frame: $F4\n Focale: $LENS

Does that work for you?

Cheers, Christian

p2or avatar Jan 25 '24 07:01 p2or