JavaShuo
欄目
標籤
Ray tracing in a weekend (八)
時間 2021-07-14
原文
原文鏈接
將lambertian(diffuse)和metal(reflection)封裝進material類裏,通過成員函數scatter生成反射線,前者的反射線方向隨機生成,故爲漫反射,而後者幾乎爲鏡面反射(也有一定隨機性,但將偏差限制在了一個單位球裏)。 在hit_record和sphere裏添加指向material的指針成員,同時改寫sphere的hit函數,使得ray在接觸到sphere後可以將其
>>阅读原文<<
相關文章
1.
Ray tracing in a weekend (七)
2.
Ray tracing in a weekend (十一)
3.
Ray tracing in a weekend (九)
4.
Ray tracing in a weekend (十二)
5.
Peter Shirley Ray Tracing in One Weekend(上篇)
6.
Peter Shirley Ray Tracing in One Weekend(下篇)
7.
【Ray Tracing in One Weekend 超詳解】 光線追蹤1-3
8.
【Ray Tracing in One Weekend 超詳解】 光線追蹤1-6
9.
【Ray Tracing in One Weekend 超詳解】 光線追蹤1-2
10.
【Ray Tracing in One Weekend 超詳解】 光線追蹤1-4
更多相關文章...
•
SQL IN 操作符
-
SQL 教程
•
Swift for-in 循環
-
Swift 教程
•
RxJava操作符(八)Aggregate
•
Docker容器實戰(八) - 漫談 Kubernetes 的本質
相關標籤/搜索
weekend
tracing
ray
a'+'a
ray+3dsmax
a+aa+aaa+a...a
八八
method...in
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
如何將PPT某一頁幻燈片導出爲高清圖片
2.
Intellij IDEA中使用Debug調試
3.
build項目打包
4.
IDEA集成MAVEN項目極簡化打包部署
5.
eclipse如何導出java工程依賴的所有maven管理jar包(簡單明瞭)
6.
新建的Spring項目無法添加class,依賴下載失敗解決:Maven環境配置
7.
記在使用vue-cli中使用axios的心得
8.
分享提高自己作品UI設計形式感的幾個小技巧!
9.
造成 nginx 403 forbidden 的幾種原因
10.
AOP概述(什麼是AOP?)——Spring AOP(一)
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
Ray tracing in a weekend (七)
2.
Ray tracing in a weekend (十一)
3.
Ray tracing in a weekend (九)
4.
Ray tracing in a weekend (十二)
5.
Peter Shirley Ray Tracing in One Weekend(上篇)
6.
Peter Shirley Ray Tracing in One Weekend(下篇)
7.
【Ray Tracing in One Weekend 超詳解】 光線追蹤1-3
8.
【Ray Tracing in One Weekend 超詳解】 光線追蹤1-6
9.
【Ray Tracing in One Weekend 超詳解】 光線追蹤1-2
10.
【Ray Tracing in One Weekend 超詳解】 光線追蹤1-4
>>更多相關文章<<