Category Archives: Miscellaneous

“Ray Tracing Gems” now free on Google Play

I was happy two weeks ago when Apress put Ray Tracing Gems on Kindle for free. I’m happier still today as they now have also put it on Google Play for free. My tweet – if you RT it will then be an RTRTRT.

What’s a blog entry without an image? A non-waste of bandwidth. So, here’s one from Chapter 26, “Deferred Hybrid Path Tracing,” by Thomas Willberger, Clemens Musterle, and Stephan Bergmann.

Messing about with SEUS for Minecraft

I plunked my $10 down to try out Sonic Ether’s Unbelievable Shaders (SEUS), PTGI E6, for Minecraft. These shaders include ray-tracing, path-tracing, and other effects. They’re not the easiest thing to install: you need Forge, then need OptiFine, then SEUS (but not the old SEUS), and adding something like the Realistico resource pack with high-res normal and specular maps makes it all that much better.

I toured around our ancient (circa 2010-2014) world and made a short video of the results. Here’s an album showing some of the effects (and some of the limitations).

Overall I love the look – it adds a solidity and realism to the world. That said, it’s a bit difficult to see while underground vs. vanilla Minecraft. OptiFine has a “have the torch in hand illuminate the area” which SEUS doesn’t support, so dark areas are, by default, quite dark indeed. So, great for touring around, more challenging if building underground.

Here’s a shot with bump and specular maps, some reflection of the environment, and ripples from rain. If you just can’t get enough, here’s a way-too-large album I made mostly for our players.

Bragging Rights

Chris Wyman pointed out this entertaining Amazon world-view:

Wow, cool, we’re #1 for DirectX books, and the book’s not actually shipping yet (the second printing should come out in May, with little fixes). Click on that “DirectX Software Programming” link and you can see the competition we beat out:

Yes! We displaced that best-selling book on DirectX programming, the classic Air Fryer Cookbook.

Update: sadly, the next day we fell to #2. That cookbook is an unstoppable computer programming guide, as it’s also #1 in many other programming book categories, such as for OpenGLJava server pagesCold Fusion, and XSL, not to forget CAD software control. That said, sous vide cooking controls PHP programming, classic authors top Ruby programming books, and, appropriately, the Harry Potter Coloring Math Book controls Flash programming, beating out books on machine trading, Excel, Javascript, Adobe Animate CC – aha, at #15 there is actually a book about Flash.

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 🙂