Seven Things found in a file April 15, 2019

Clearing through a Google Doc, I found a number of links stored away for a rainy day. It’s raining, so here goes:

RTG free on Kindle; consider Google Play for books

First, Ray Tracing Gems is now available on Kindle for free; it’s also free through the UK and Germany Amazon sites. Great stuff, and I’ve asked about whether it could also be made available on Google Play in some form.

When Real-Time Rendering, 4th Edition came out I decided to plunk down the cash to get the Kindle and Google Play versions, just to see how they came out. Not bad: the resolution is not as high as I’d like for a few images, but overall the results are good. It’s understandable why the image quality was not up to the 300+ DPI of some of the original material, as the book’s file would be massively larger.

What’s of interest is how much more often I’ll use the Google Play version than the Kindle. I’ll even use it more than my own private PDF of the book. This is because it’s one click away: I have the URL bookmarked for the Google Play version, so it’s up immediately, no messing about looking for the file, loading an app, or any other nonsense.

For example, today I just tried Amazon’s cloud reader for Kindle, but I run into “License limit reached,” that I have exceeded the number of devices authorized blah blah blah. My favorite line of the warning is “You may also purchase another copy from the Kindle Store” – great, thanks. There’s none of this annoyance with Google Play; I can immediately read the book since it’s tied to my Google Account. I hope Amazon someday figures out a way to determine that I’m me (judging from the targeted ads I see on Amazon, they already have, but they haven’t extended the courtesy to Kindle access).

BTW, anyone trying to reproduce antialiasing or noise images in a book or printed article, be careful: you’ll probably want to zoom in on parts of your image, and want to make the zoomed image literally zoomed up using “nearest neighbor” filtering or similar. That is, say you select a 200×200 piece of an image to magnify, to show noise. I’d resize this to 600×600 and just replicate the pixels, “select and repeat” (often called “nearest neighbor” or “hold” or “pixel replication”). The printing process will naturally try to smooth images out the other direction, so you usually need to counteract this. If you have any sure-fire tips on doing this better than I’ve described here, I (and others) are all ears.

Update: due to Apress’s kind efforts, the book’s now free on Google Play.

Seven Things for March 16, 2019

Time to clear the link collection before GDC/GTC – download some web pages for the plane ride.

Books blah blah

OK, even I’m getting a bit tired of writing about Ray Tracing Gems (not to mention Real-Time Rendering) goings ons. But, a few things:

  • The code repo for Ray Tracing Gems is now up! Some more code will be added and updated later, after the GDC/GTC rush.
  • At GDC Naty Hoffman, Angelo Pesce, and I will sign copies of Real-Time Rendering on Wednesday, 3-4 PM, at the CRC booth, P1867, located near the Connect Lounge. If you’re around (and even if you already have a copy or never want one because GPUs are a fad), come by and say “hi.”
  • Authors of Ray Tracing Gems will sign the book right after, 4-5 PM, in the alcove west of Room 201 South Hall (two floors up). It looks like at least 17 authors will be at GDC, but all may not be able to attend. I’ll be giving a rap-free fast-forward talk after, in Room 205. Map below.
  • GTC: book talk Thursday 2-3 PM room 230B (Concourse Level), book signing after at the GTC bookseller 3-4 PM.
  • The only physical copies of Ray Tracing Gems available until May will be sold at GDC and GTC, nowhere else. So buy them all and resell on EBay. No, don’t do that.

Really, all this info except the Real-Time Rendering signing is covered on http://raytracinggems.com

Book signing (in yellow) map for GDC, right next to the restrooms – classy 🙂

 

Seven Things for March 10, 2019

I haven’t done one of these for awhile – too busy with The Book (not That Book; the Other Book). Here’s a collection of stuff I’ve noticed the past few weeks.

  • GDC: hey, there’s a Shadertoy meetup. Me, I’ve been to GDC only once before, back in 2001, and look forward to going this year. Help me out: What should I know about and not miss?
  • If you’re in the Boston or London area in March (the 31st and 16th, respectively), go to BAHFest. I went last year for the first time, and it was pretty great. Here’s a winner from last year, how cats are behind crypto-currency fever.
  • Youtube recommended I watch this video, and they were right! Path tracing explained fairly well, in a wonderful hokey 50’s style. Andrew Glassner pointed out there’s another in a similar style, on snow simulation.
  • Clickbaity title, but I liked this article for its rundown of color blindness and a possible cure.
  • Also in Wired: Lena/Lenna is an iconic image, a symbol of objectification, and a point of pride to Lena herself. The world’s a fascinating place, which is one of the reasons I live here instead of on Mars.
  • Just so there’s some actual chewy technical content in this post, see this article on mesh simplification. It has a generally-applicable idea: you often don’t need an exact sort, just a rough one, e.g., for depths or sizes of objects. For that, a single-pass radix sort might be just the thing. BTW, there are a surprising number of odd videos on sorting: Radix sort (and different group, different song); bubble sort – I’m a sucker for Balkan music; and this 15-sorts one – no dancing, and sounds like a set of 8-bit game sounds run amok, but still interesting if you know the algorithms. I hadn’t heard of the cocktail shaker sort, and sadly the bogo sort is not played to completion…
  • Improved Kill/death ratio as a selling point. Admirably, they attempt to control for skill level, based on number of hours played as a proxy. Surprising conclusion: “the higher the skill level, the more that players are attuned to the game and can benefit from differences in hardware.” Also, 144+ FPS seems to be the current frame rate to aim for. Yes, I work for NVIDIA now, but I found it interesting and believable. If you’re in sales, you’d like the opposite to be true, “just buy new hardware and you casual players – the vast majority – will benefit the most.” (Thanks to Pete Shirley for pointing this one out.)

“It’s the end of the world as we know it”

Repeat that title three times, then “and I feel fine.” This R.E.M. song has been going through my mind much of the week, as the Ray Tracing Gems book was released last Saturday as a free PDF. With Open Access, the publisher agreed to put the book up for free, even before the physical book was available. Apress has 27 other Open Access titles free to download, so they’re somewhat used to the idea.

The bragging number is that the official Ray Tracing Gems PDF has been downloaded 102K times as of today. I suspect there are a lot of pack rats out there who will download any book that’s free, or someone’s trying to make Tomas and me feel good by setting up an auto-download bot farm (if so, thanks, good job!).

But wait, there’s more. Stephen Hill spotted some typos in the preview copy and sent them on to me Saturday. Monday I made an unofficial PDF for distribution, identical to the official PDF but with his and other errata fixed. Doing so is fine under the license, which allows reasonable changes that are properly noted. The publisher and I worked on the wording on the front page to clearly label this version as unofficial, then I released it on Tuesday. It’s of course the one I recommend grabbing. Being more “hidden,” this one’s been downloaded a more believable 499 times as of last night.

“Supplies are limited” is my favorite ridiculous marketing phrase, always true since there’s a large but finite amount of material in the universe. For GDC and GTC, it’s actually true. The publisher is rush printing and shipping a few hundred copies for these conferences, and they should arrive at onsite booksellers and to NVIDIA next week, fingers crossed, knock wood, rub lucky rabbit’s foot. The hardcover book will not be available for online purchase until mid to late May, though on slightly-higher quality paper (coated glossy vs. coated matte; I believe “coated matte” is what the GPU Gems series used).

Me, I like having both the physical and the electronic forms: electronic is great for searching and for travel, physical is nicer to read (at least for me), use stickies on, add notes in the margins, and for getting signed. Speaking of which, see our page for authors’ signings and talks at the conferences.

So, this is all an odd sequence: NVIDIA released free preprints of the book during February, as did EA; the publisher released the PDF for free in March; I (or anyone) can then make a slightly improved version for distribution; the physical book will be available at conferences in 10 days but not for online purchase until May. Releasing preprints of a whole book, fixing errors in the released version – this is not something we’re used to. Personally, I know I’ve had any number of emails along the way where we each reassure the other, “no, it’s OK, this is how it works under Open Access.”

The ACM and IEEE can be considered Finnish

On November 1st of every year, the Finnish government publishes everyone’s salary. It’s a nice leveler of the playing field for workers, as they can see if they’re paid fairly and what to expect at another company.

In the U.S. we generally know elected officials’ salaries (president $400,000, senator $174,000, etc.) but not much else. Except for non-profits, who have to file public tax returns. Update: Angelo Pesce pointed out this useful site.

I’m doing my taxes this weekend. To avoid that time-sucking task – one that takes only five minutes in The Netherlands – I decided to go look up the ACM’s and IEEE’s forms. It takes a bit of searching, but it’s interesting to see where the money goes. To start, here are some ACM salaries from their 2015 return (actual return here):

Half a million for the outgoing Chief Executive Director – not bad. I’ve asked around, and on one level this amount is a bit shocking, but it’s evidently (for good or ill) the norm for non-profits of this size.

Putting this info on the blog makes me feel a bit embarrassed; it’s breaking a social norm here, revealing a salary. But, it’s public knowledge! We’re now used to services such as Zillow to see someone’s property value – something we would have had to work hard to do back in 2005 (e.g., go to some government office and look up the deed). However, in the U.S., knowing someone’s salary is usually not something you can look up and is pretty taboo. So, cheap thrills, and it’s easy to do so now for at least a few people.

Wading through the rest of the return turns up various tidbits. For example, the ACM’s overall budget:

So they added about $6.7 million to their total assets in 2015, and ended the year with assets of:

I find these documents worth poking at, just to get a sense of what’s important. For example, the ACM makes its revenue as follows (see Part VIII for details):

Expenses, in Part IX, go on and on, with a large portion of the $60 million going to conferences:

Conferences raise $29 million each year (the revenue snippet), so I guess I conclude that conferences netted $5 million for the ACM in 2015. That cheers me to hear, vs. the opposite. Me, I’m curious how much the ACM Digital Library costs and how much revenue is raised, from individuals and institutions, but these numbers are not found here. I asked once back in 2012; the ACM doesn’t split out the DL income and costs from their other publication efforts.

There are lots of other tidbits in the return, but take a look for yourself.

Let’s go visit the IEEE – hmmm, wait, there are two of them. But both have small budgets, less than $7 million, so that’s not them. Searching a bit (quick, what does “IEEE” stand for?), I found them:

The Assistant Secretary and Executive Director (one person) gets $1.2 million – OK. The actual Director & Secretary doesn’t get paid at all, which I find entertaining somehow:

Now, the IEEE’s budget is a lot higher that the ACM’s, $436 million vs. $60 million:

It’s a different report format, so it’s not clear to me what assets they have.

It’s fun to poke around, e.g.:

ACM doesn’t seem to have any lobbying expenses. I wonder what the IEEE lobbies for – they’re really not spending much, but it’s more than zero. Better electricity? Lobbying is not in and of itself bad (I like it when the AMA lobbies against the use of tobacco just fine), but it’s interesting to see and great for forming unwarranted conspiracy theories.

OK, enough goofing off, this took way more time than I expected; back to my own taxes.