日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 人文社科 > 生活经验 >内容正文

生活经验

Path Tracing

發布時間:2023/11/27 生活经验 49 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Path Tracing 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Path Tracing

懶得翻譯了,相信搞圖形學的人都能看得懂,2333

Path Tracing is a rendering algorithm similar to?ray tracing?in which rays are cast from a virtual camera and traced through a simulated scene. Path tracing uses random sampling to incrementally compute a final image. The random sampling process makes it possible to render some complex phenomena which are not handled in regular ray tracing, but it generally takes longer time to produce a high quality path traced image.

The random sampling in path tracing causes noise to appear in the rendered image. The noise is removed by letting the algorithm generate more samples, i.e. color values resulting from a single ray. A more in-depth explanation of the path tracing algorithm is given below.

Random Sampling

In path tracing rays are distributed randomly within each pixel in camera space and at each intersection with an object in the scene a new reflection ray, pointing in a random direction, is generated. After some number of bounces each ray eventually exits the scene or is absorbed. When a ray has finished boucing about in the scene a?sample?value is calculated based on the objects the ray bounced against. The sample value is added to the average for the source pixel.

The samples in a path-traced image are distributed evenly over all pixels. The color of each pixel is the average of all the sample values computed for that pixel.

The random components in path tracing cause the rendered image to appear noisy. The noise decreases over time as more and more samples are calculated.

Samples Per Pixel (SPP)

The defining factor for render quality is the number of samples per pixel (SPP).

The higher SPP you have in a rendered image the less noise will be noticeable. However the added quality per sample decreases the more samples you have already (since each sample is just contributing to an average over all samples). The difference in image quality between, for example, 20,000 SSP and 21,000 SSP will not be as noticeable as between 1,000 SSP and 2,000 SSP.

Sunlight does not require high SSP to give a nice image. Outdoor scenes can be rendered with relatively low SPP if sunlight is enabled. Emitters (torches, lava, glowstone, pumpkins, etc.) require a lot of SSP to reduce the noise, so indoor scenes and similar scenes in low-light environments take a much higher SPP number to look good.

Render Time

There is no definite answer to how long it will take to render a scene. The general guideline is that the longer you render an image, the better it will become. Take into account the diminishing returns explained above.

The time required to render a nice looking image depends on how well-lit the scene is, how many samples per second the renderer can produce (depending on how fast your CPU is), and how many pixels the canvas has.

Scaling the canvas has an effect on render time proportional to the pixel area of the canvas. An image of 800 by 800 pixels will take four times as long time to achieve the same quality as an image of 400 by 400 pixels since the total number of pixels has quadrupled. If your renders are taking too long, you can reduce the canvas size for quicker results.

More About Noise

Small but bright light sources, such as torches, add a lot of noise to a scene. It takes especially long time to render a scene lit mostly by a few torches. This is an unfortunate and unavoidable disadvantage of the Path Tracing rendering method.

The reason for this effect is based on the low probability for each sampled light path to include the torches, versus the high luminance of the object. The final render takes the average of all sampled values, but the average can be "too high" for a long time because of the high luminance. The average will decrease over time, but for a while there may be one pixel that has been lit by a particular light source in a neighborhood of several pixels that will stand out sharply against the others that have not yet been lit by the same source, hence the bright dots seen above at low sample counts.

SPP Comparisons

An indoor scene rendered with increasing SPP. The white numbers show SPP:

https://chunky.llbit.se/path_tracing.html

總結

以上是生活随笔為你收集整理的Path Tracing的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 久久密av | 精品中文字幕在线观看 | 日本黄色一级网站 | 中国老妇性视频 | 国产又爽又黄又嫩又猛又粗 | 男人的亚洲天堂 | 日韩不卡一二三区 | av网站在线看 | 男女男精品视频网站 | 精品人妻人伦一区二区有限公司 | 成人天堂噜噜噜 | 在线人成 | 亚洲精品二区 | 日批大全| 久久久久成人精品免费播放动漫 | 国内精品久久久久久久 | 久久在线观看 | 免费网站在线高清观看 | 日韩中文字幕二区 | 午夜精品福利影院 | 在线观看成年人网站 | 老汉av | 欧美日韩免费在线观看 | 国产美女精品视频 | 日韩精品毛片 | 伦伦影院午夜理伦片 | 久久爱99| 亚洲综合色在线 | 国产伦精品一区二区三区在线观看 | 99999av| 免费在线激情视频 | 玖玖色资源 | 欧美在线网站 | www国产无套内射com | 成人精品一区二区三区 | 国产欧美在线精品日韩 | 国产高潮在线 | 国产成人精品一区在线播放 | 欧美日韩v| 美景之屋电影免费高清完整韩剧 | 国产一区二区三区免费 | 狠狠躁夜夜躁av无码中文幕 | 女18毛片 | 欧美日韩亚洲综合 | 老牛av一区二区 | 欧美怡红院视频一区二区三区 | 中国吞精videos露脸 | 中字幕一区二区三区乱码 | 亚洲一区二区三区四区视频 | 骚黄网站 | 中文字幕av亚洲精品一部二部 | 国产精品久久一区二区三区 | 亚洲不卡电影 | 边吃奶边添下面好爽 | 九热这里只有精品 | 自拍av在线 | 少妇精品久久久久www | 久久青青视频 | 青青草久久爱 | 91肉色超薄丝袜脚交一区二区 | 国产视频精品免费 | 免费高清视频在线观看 | 西西444www大胆无视频 | 伊人伊人伊人伊人 | 黄色第一网站 | 亚洲国产精品视频在线观看 | 亚洲狼人天堂 | 欧美三级视频在线 | 国产二三区 | 91综合久久 | 性色av一区二区三区免费 | 国产精品久久久久毛片软件 | 97久久久久久久 | 永久免费国产 | 欧美性大战久久久久久 | 久久精品一区二区三 | 蜜臀av性久久久久蜜臀aⅴ涩爱 | 中文字幕亚洲综合 | 久久99久久99精品免观看软件 | 五月婷婷中文字幕 | 99热免费在线| 你懂的网址在线观看 | 免费看日韩毛片 | 欧美一区二区性久久久 | 东京热加勒比无码少妇 | 色综合天天综合 | 一区二区精品国产 | 国产欧美精品一区二区色综合朱莉 | 少妇又白又嫩又色又粗 | 爱爱亚洲 | 天天干视频在线 | 国产综合影院 | 少妇第一次交换又紧又爽 | 免费看日韩av| 国产中文字幕三区 | 欧美人成在线视频 | 狼人综合网 | 日韩一级理论片 | 免费在线成人网 |