Googles appar
Huvudmeny

Post a Comment On: cbloom rants

"Topics in Quantization for Games"

3 Comments -

1 – 3 of 3
Blogger MH said...

Oh nice! Im just getting into quantization for networking purposes so this is a great read.

Ill probably have some specific questions later if you wouldnt mind.

I miss that magical time.

January 5, 2021 at 9:22 AM

Blogger cbloom said...

Marc? Yeah you can email me questions any time.

January 5, 2021 at 9:37 AM

Blogger cbloom said...

I've worked on a couple things recently that people don't usually think of as "quantization" but really should.

When I say "thinking of as quantization" what I'm getting at is, think about the bucket of values that map to one index, think about where the boundaries of that bucket are, and think about how an index dequantizes to some value in that bucket.

Recent examples are :

RGBE HDR conversion

U8 SRGB to float linear light conversion

numeric string to double (strtod)


One common theme is that people test round tripping and say "it's good" but that only tests that the dequantized value in the center of the bucket maps correctly. (famously MSVC CRT had this problem with doubles - they could round trip fine but their strtod did not have the quantization bucket boundaries in the right place).

March 18, 2021 at 8:35 AM

You can use some HTML tags, such as <b>, <i>, <a>

This blog does not allow anonymous comments.

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.