https://puye.blog/Puye's BlogPuye's Blog. 2023-09-06T13:40:31+00:00 Puye https://puye.blog/ Jekyll © 2023 Puye /assets/img/favicons/favicon.ico /assets/img/favicons/favicon-96x96.png What we talk about when we talk about Ray Tracing?2023-09-06T13:20:00+00:00 2023-09-06T13:40:01+00:00 https://puye.blog/posts/Raytracing-EN/ puye Let’s provide a concise overview of ray tracing. We won’t delve into subjects like Monte Carlo and stratified sampling, PBRT, BRDF, rendering equations, denoising techniques, or intricate SDF concepts. In essence, we’ll stick to the fundamentals. So, what is Raytracing? Raytracing Algorithm Framework Ray tracing primarily serves as an algorithmic framework. Within this framework, numerous al... Be a Product Manager! - An Example of Using GPT to Debug RTX Bugs2023-04-11T15:38:00+00:00 2023-04-11T15:38:00+00:00 https://puye.blog/posts/AIDebugRTX-EN/ puye Here’s the Chinese version: 这次我是产品经理—用GPT辅助查RTX的bug实例 In this article, I will discuss how I successfully debugged some RTX code using Cursor. Debugging DX12 RTX code can be quite challenging. While Renderdoc is a tool we are familiar with, it does not support RTX. We typically use Nsight or PIX, but their debugging capabilities are limited. We can only view information such as acceleration s... Introduction to Spherical Gaussians2023-03-19T13:29:00+00:00 2023-03-19T14:54:59+00:00 https://puye.blog/posts/SG-Intro-EN/ puye This article is still an informative introduction, presenting a new spherical basis function and its application in lighting description. Recommended prerequisite reading: Introduction to Spherical Harmonics If you have studied probability and statistics in the third grade of elementary school, you must be very familiar with the normal distribution or Gaussian distribution. \[g(x) = \frac{1}... 球面高斯介绍(Spherical Gaussian)2023-03-18T12:15:00+00:00 2023-03-19T14:54:59+00:00 https://puye.blog/posts/SG-Intro-CN/ puye 本篇还是比较科普向,介绍了一种新的球面基函数和在光照描述上的应用。前置阅读: 球谐函数介绍(Spherical Harmonics) 大家小学三年级学过概率和统计的话,对正态分布或者高斯分布一定非常了解 \[g(x) = \frac{1}{\sigma\sqrt{2\pi}} e^{(\frac{-(x-\mu)^2}{2\sigma^2})}\] 拓展到球面也很简单。相比SH的公式,Spherical Gaussian的公式就简单的多了,形如 \[G(v; \mu,\lambda,a) = ae^{\lambda(\mu\cdot v - 1)}\] 二维图像长得像这样 参数的物理含义也很好理解,a表示波瓣的大小,μ表示波瓣的中心方向,λ表示波瓣的胖瘦 和SH定死的基函数相比,SG的特点就是自由度极高:基函数用几个、怎么分布、胖瘦如何,都随意。当然这也对设计... Introduction to Spherical Harmonics2023-02-05T13:55:00+00:00 2023-03-17T11:37:18+00:00 https://puye.blog/posts/SH-Introduction-EN/ puye This article aims to explain Spherical Harmonics in simple terms without using mathematical jargon. It also discusses how SH is applied in Radiometric/Photometric contexts. SH, or Spherical Harmonics, is just a set of basis functions. I won’t go into the details of how SH is derived here. If you’ve learned about Taylor Expansion or Fourier Transform in elementary school, you’ll be familiar wi...