Tom94 / tev

High dynamic range (HDR) image viewer for graphics people
BSD 3-Clause "New" or "Revised" License
1.06k stars 86 forks source link

Is Watch function working? #236

Closed Naohiro2g closed 1 week ago

Naohiro2g commented 1 week ago

I tried the W for watch files in the folders to reload them automatically in vain. Is it working on Windows version??

When opening tev via cli, I got error messages like below and nothing happen when new file is added.

GLFW error 65544: WGL: Failed to make context current: The requested conversion operation is not supported. GLFW error 65544: WGL: Failed to make context current: Handle invaild.

The last part of these messages are originally in Japanese.

I confirmed I don't see the messages in the case of launching tev as admin. And A (for all reload all) is only reloading files already loaded, not for new ones.

Tom94 commented 1 week ago

Hi, if you'd like to watch a directory for file changes rather than just the already opened files, you need to load the directory rather than the files on startup, i.e.

tev --watch <directory name>

as opposed to

tev --watch <directory name>/*.exr

You can also drag the directory into an already open instance of tev to load all its images and then watch it with W.

Let me know if this helps!

Naohiro2g commented 1 week ago

@Tom94 Wow! Just great.

I never knew the --watch option. First, drag & drop worked fine then I tried the cli, which also worked successfully.

I just started Houdini and found tev to check the exr images during the long rendering. And it seems perfect for me now. Regarding the GLFW error 65544, I see them in admin mode, too. It was not related to the admin/user, FYI.

Many thanks