当前位置:网站首页>Project training of Software College of Shandong University rendering engine system basic renderer (III)
Project training of Software College of Shandong University rendering engine system basic renderer (III)
2022-06-12 15:51:00 【chenxiang_ two hundred thousand one hundred and eight】
< Project training of Software College of Shandong University > Rendering engine system —— Base renderer ( 3、 ... and )
Preface
This project hopes to implement a basic renderer , At the same time, it can support the use of precomputing . This article focuses on VBuffer Specific code .
Project address
One 、 Basic logic
We first emit the primary light , Small hole camera is used , Start with the camera , Prepare to emit light to each pixel within the screen , That is, the starting position of a given light 、 Direction 、 Minimum distance and maximum distance , Track to get the specific information of the first hit point , The formal path tracking will be done later PathTracer In the middle of .
Two 、 Main function code
1、 Define resources in the header file

2、 At present Pass Proprietary resources

3、 At present Pass Add output

4、Pass Construction

5、 Related resource binding and execution

7、GPU Resource binding

8、 Generate rays

9、 Save the light source hit point resource

summary
It mainly shows VBuffer The main code of function realization .
边栏推荐
- mysql Blob和Text类型
- Some useful websites
- Broadcast and multicast (tcp/ip details volume 1/2)
- Interface.
- 小飞页升级变智能修复Bug更快速了
- Acwing summer daily question (sexy prime number on June 10)
- Dongmingzhu talks about batteries: the most essential thing is safety
- Escape analysis of golang compiler
- 写代码也有本手俗手之分,而我们要善于发现妙手!
- Use of multithreading
猜你喜欢

Broadcast and multicast (tcp/ip details volume 1/2)

jupyter notebook新環境快捷方式

【光源实用案例】 UV-LED固化创新,让产线变得更丝滑

Saga体系结构模式:微服务架构下跨服务事务的实现

Increase the maximum number of MySQL connections

< 山东大学软件学院项目实训 > 渲染引擎系统——基础渲染器(三)

IGMP报文(TCP/IP详解卷1/卷2)

< 山东大学软件学院项目实训 > 渲染引擎系统——基础渲染器(七)

Raccourci vers le nouvel environnement du carnet de notes Jupiter

Use of multithreading
随机推荐
FPGA (III) trigger and latch
Why doesn't Alibaba recommend MySQL use the text type?
Getting started with JMeter
< 山东大学软件学院项目实训 > 渲染引擎系统——基础渲染器(六)
Saga architecture pattern: implementation of cross service transactions under microservice architecture
TS 22.011
tinyint和int区别
2021-06-27
Acwing暑期每日一题(6月10日性感素数)
Escape rules and examples of go
Apache Kylin 历险记
UDP summary (tcp/ip details volume 1/2)
Two implementation methods of generic interface
Apache kylin Adventure
Points chocolate (two points answer) Blue Bridge Cup provincial competition
TS 22.011
华为设备配置CE双归属
Solution of user and root forgetting password in virtual machine
写代码也有本手俗手之分,而我们要善于发现妙手!
Classification of annotations