yihong wu
yihong wu
I fixed it [#2]. The interesting thing is why it works on Unity 5.0
龙书归来,就是这次不那么好对付了。
您好, 是这样的, samllpt_rewrite.cpp 的代码有很多简化的地方, 它的相机压缩了中间的坐标变换, 直接把图像平面的坐标变换到世界空间的光线了. 我注释了一下 ray tracing in one weekend 中 [`Listing 64: [camera.h] Positionable and orientable camera`](https://raytracing.github.io/books/RayTracingInOneWeekend.html#positionablecamera/positioningandorientingthecamera) 的代码, 您可以发现两者其实是一样的: ```cpp class camera { public: camera( point3 lookfrom,...