<div dir="auto"><div>well, Andrea, can I copy your email to GitHub issues or you prefer to explain it there yourself? I think your use case goes a bit beyond just testing and into actual workflow category?<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>От: <strong class="gmail_sendername" dir="auto">Adam Williams</strong> <span dir="auto"><<a href="mailto:notifications@github.com">notifications@github.com</a>></span><br>Date: пт, 10 нояб. 2023 г., 21:16<br>Subject: Re: [heroineworshiper/hvirtual] question about clipping in Histogram plugin (Issue #8)<br>To: heroineworshiper/hvirtual <<a href="mailto:hvirtual@noreply.github.com">hvirtual@noreply.github.com</a>><br>Cc: Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com">randrianasulu@gmail.com</a>>, Author <<a href="mailto:author@noreply.github.com">author@noreply.github.com</a>><br></div><br><br><p></p>
The big problem with histogram is histograms are expected to clamp. The graph has to be changed to show a Y range beyond 0-1, you need some more parameters to define min & max Y. You could make a new histogram plugin which implemented the new options. It gets a bit bloated so the question is again why you need histogram to support more than 0-1?<br>
<br>
<br>
<br>
<br>
Sent: Thursday, November 09, 2023 at 11:14 AM<br>
From: "Andrew Randrianasulu" ***@***.***><br>
To: "heroineworshiper/hvirtual" ***@***.***><br>
Cc: "Adam Williams" ***@***.***>, "Comment" ***@***.***><br>
Subject: Re: [heroineworshiper/hvirtual] question about clipping in Histogram plugin (Issue #8)<br>
<br>
<br>
<br>
<br>
<br>
A case of is it worth the effort to support values <0 & >1 & the answer was no. If you can find a good reason & actually fix everything including the opengl functions no-one uses, maybe it could work.<br>
<br>
<br>
well, I looked into playback3d.C and some shaders there surely uses clip? But biggest problem for me I do not know how to init fp32 fbo/pbo, so it all remained clipped.<br>
<br>
But just switching textures to 32f made big difference with test file Andrea provided and fade out.<br>
<br>
<a href="https://www.youtube.com/watch?v=7GOhtJciHBk" target="_blank" rel="noreferrer">https://www.youtube.com/watch?v=7GOhtJciHBk</a><br>
<br>
I tried to follow advice given in <a href="https://community.khronos.org/t/glx-ati-pixel-format-float-under-linux/47685/2" target="_blank" rel="noreferrer">https://community.khronos.org/t/glx-ati-pixel-format-float-under-linux/47685/2</a> (but using more modern GLX_RGBA_FLOAT_BIT_ARB).<br>
<br>
use-case is exr/tiff from some photography software or rasterizer, where values > 1.0f exist. (ffmpeg seems to convert most/all video to integer formats, but may be in last ffmpeg they added it - <a href="https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/479747645f795b6f4f376578ea1556409f943c31" target="_blank" rel="noreferrer">https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/479747645f795b6f4f376578ea1556409f943c31</a> - "avutil/pixfmt.h: add native-endian RGB32F and RGBA32F formats")<br>
<br>
—<br>
Reply to this email directly, view it on GitHub, or unsubscribe.<br>
You are receiving this because you commented.Message ID: ***@***.***>
<p style="font-size:small;color:#666">—<br>Reply to this email directly, <a href="https://github.com/heroineworshiper/hvirtual/issues/8#issuecomment-1806198961" target="_blank" rel="noreferrer">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJSS7TJ5T7MREFWQWTBCADLYDZVO5AVCNFSM6AAAAAA7E3NKDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGE4TQOJWGE" target="_blank" rel="noreferrer">unsubscribe</a>.<br>You are receiving this because you authored the thread.<img src="https://github.com/notifications/beacon/AJSS7TODRDQUL3OHXZXMGWDYDZVO5A5CNFSM6AAAAAA7E3NKDOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTLVBULC.gif" height="1" width="1" alt=""><span style="color:transparent;font-size:0;display:none;overflow:hidden;opacity:0;width:0;height:0;max-width:0;max-height:0">Message ID: <span><heroineworshiper/hvirtual/issues/8/1806198961</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
</div></div></div>