adventures with the gpu
play

Adventures with the GPU Roice Nelson GE Aviation, Austin TX My - PowerPoint PPT Presentation

Adventures with the GPU Roice Nelson GE Aviation, Austin TX My goals for this talk Provide resources and motivation to get started with shader programming roice3.org/icerm A few mathematical detours Share fun with @TilingBot and a


  1. Adventures with the GPU Roice Nelson GE Aviation, Austin TX

  2. My goals for this talk • Provide resources and motivation to get started with shader programming roice3.org/icerm • A few mathematical detours • Share fun with @TilingBot and a resulting art piece • Tons and tons of pictures and animations! Maybe too many

  3. What is a shader? Shaders are little programs that run on the GPU. These programs run at certain points of the graphics pipeline.

  4. From primitives to shaders

  5. From primitives to shaders

  6. From primitives to shaders

  7. From primitives to shaders

  8. “Folding”

  9. www.shadertoy.com

  10. Shader #2: Isometry classes of hyperbolic space 𝐺 𝑨 = 𝑏𝑨 + 𝑐 𝑑𝑨 + 𝑒 ෡ 𝑫 = 𝑫 ∪ ∞ Group of Möbius Transformations 𝑄𝑇𝑀(2, 𝑫) ≅ 𝑄𝐻𝑀(2, 𝑫)

  11. This is not a cone

  12. It’s a cylinder in UHS model: Elliptic Isometry

  13. Hyperbolic Isometry

  14. Hyperbolic Isometry

  15. Loxodromic Isometry

  16. Loxodromic Isometry

  17. This is not a plane

  18. It’s a horosphere: Parabolic Isometry

  19. Raymarching See “Ray Marching and Signed Distance Functions” by Jamie Wong Credit: GPU Gems 2: Chapter 8

  20. Quaternions! 𝑨 ↦ 𝑏𝑨 + 𝑐 , 𝑨 ∈ ෡ 𝑫 𝑑𝑨 + 𝑒 𝑥 = 𝑨 + 𝑧𝒌 , 𝑧 ∈ 𝑺 + 𝑥 ↦ 𝑏𝑥 + 𝑐 𝑑𝑥 + 𝑒

  21. Shader #3: Spherical Images

  22. Shader #4: Hyperbolic VR using Raymarching Folding AND Raymarching, see Henry’s NSF video!

  23. Utilities • Shadertoy-render • ffmpeg • Pov-Ray • LinqToTwitter Again, links (and scripts) at: roice3.org/icerm

  24. In my experience… Advantages Disadvantages • Fast! • Hardware • Motion • Debugging • Quality • Optimization • Fractals • Low-level • WebGL • Code libraries • Lots of Examples

  25. “The explorer who will not come back or send back his ships to tell his tale is not an explorer, only an adventurer.” -Ursula K. Le Guin, The Dispossessed: An Ambiguous Utopia

  26. @Tilingbot

  27. The Real Shader #1: Hyperbolic Wythoff explorer by Matt Zucker, mzucker.github.io

  28. Regular and Rectified

  29. Uniform Tilings 5 7 Truncation

  30. Uniform Tilings 5 7 Bitruncation

  31. Uniform Tilings 5 7 Cantellation

  32. Uniform Tilings 5 7 Omnitruncation

  33. Duals to Uniform (Catalan Tilings)

  34. The Same But Different

  35. Rotating in a conformal square Snub {8,8}

  36. In a rotating conformal square Omnitruncated {6,9}

  37. Omnitruncated {6,9}

  38. Omnitruncated {6,9}

  39. Rotating in the band model Truncated {6,4}

  40. In a rotating band model Truncated {8,4}

  41. Limit Rotations Omnitruncated {4, ∞ } Truncated {3, ∞ }

  42. Joukowsky projection named after Nikoli Zhukovsky 1 1 𝑨 = 2 𝜂 + 𝜂

  43. The best internal representation?

  44. roice3.org/icerm Thank you!

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend