最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

A Simple Ray-Tracer

2023-03-22 13:09 作者:RanMeraklis  | 我要投稿

Many thanks to my partner Ningyu Zhu for finishing the BVH acceleration structure (which saves the day when rendering the Stanford Dragon) and successfully debugging the showing for Cornell Box!

Helios Hunter: Ray-Tracer

1. Structure

  • RayThruPixel(cam%2C%20x%2C%20y)?generates a ray originated from the camera position, through the center of the (x%2C%20y)?pixel into the world

  • Intersect(ray%2C%20scene)?searches over all all geometries in the scene and returns the closest hit

  • FindColor(hit)?shades the light color seen by the in-coming ray

    • Ambient + Lambertian-diffuse + Blinn–Phong formula

    • Add the contribution of light only when the ray connecting the hit and the light source does not have any intersection with the scene (Numerical inaccuracy may cause intersection to be below surface, causing surface to incorrectly shadow itself. To avoid self-shadowing, the secondary ray is shot off slightly above the hitting point.)

    • Do recursive ray tracing

1.1 RayThruPixel


1.2 Ray-Scene Intersection

2. Classes

? ? ?

3. Results

The rendering results and timings are shown in the following images.

3.1 Scene 4 Table with Spheres

3.1.1 Ambient

3.1.2 Diffuse

3.1.3 Emission

3.1.4 Specular

3.2 Scene 5 Thousand Spheres

3.3 Scene 6 Cornell Box

3.4 Scene 7 Stanford Dragon

Specific explanation and implementation details may be covered in future blogs :D

(since currently I'm still struggling with the finals o(╥﹏╥)o


A Simple Ray-Tracer的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國家法律
宁波市| 仁怀市| 连城县| 大洼县| 玉树县| 仁寿县| 莎车县| 黔东| 前郭尔| 阿坝| 阿勒泰市| 高淳县| 扶余县| 泰来县| 辽宁省| 和平区| 萨迦县| 醴陵市| 新干县| 浮山县| 德令哈市| 长宁区| 印江| 连云港市| 云林县| 堆龙德庆县| 溧水县| 万山特区| 汕头市| 达拉特旗| 礼泉县| 南丰县| 天水市| 安阳县| 乌兰察布市| 日土县| 徐州市| 垫江县| 崇礼县| 郯城县| 大荔县|