Closed Tom94 closed 1 year ago
Nice! That's an impressive amount of functionality available (Beziers even!). No immediate feedback but I'll think about uses of it (and try some experiments.) For the use case of nan/inf, I'd argue that tev is better placed to report those, since it has more flexibility in how it displays information and since it sees them just the same as the renderer. So I think the bigger value is from things that only the renderer knows; beyond "I just finished these pixels", I'll think more about other things like that that could be interesting...
Adds support for sending vector graphics commands over IPC to annotate images.
For example, this can be used to highlight the latest rendered part of an image (supposing that tev is used as the frontend for a renderer). You can view a sample of how this can be accomplished by running
src/python/ipc-example.py
. Another use case would be marking NaNs, infinities, or otherwise unexpected values, depending on context.Implements #175
@mmp let me know if this is interesting for you and you have early feedback. :)
Here's sample Python code to draw a rectangle:
Here's sample C++ code to draw a rectangle: