Depth buffer images
José Fonseca
jose.r.fonseca at gmail.com
Sat May 26 09:56:54 UTC 2018
I recommend the PNM format, in particular the floating point variant.
That's what qapitrace uses. At any rate, any thing but PNG.
The good thing about PNM is that, even though it's an uncompressed format,
if you gzip it, or. foo.pfm.gz, then many image via will transparently
decompress and view.
Jose
On Fri, 25 May 2018, 20:18 Mark Janes, <mark.a.janes at intel.com> wrote:
> Hello José,
>
> I'm adding support for visualizing depth/stencil buffers to
> frameretrace, and found that the png support in apitrace converts
> grayscale images to 8 bits per pixel.
>
> For the applications I'm looking at, the depth buffer values are mostly
> near 1.0f, and the resulting image has visible banding due to the low
> precision.
>
> I'd like to support 32bit grayscale images, but I am not very familiar
> with libpng. I'll hack at image_png.cpp, but please let me know if
> there is something else I should be considering.
>
> -Mark
> _______________________________________________
> apitrace mailing list
> apitrace at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/apitrace
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/apitrace/attachments/20180526/36c08831/attachment.html>
More information about the apitrace
mailing list