-
光线跟踪GPU实现
首先确定眼睛的位置和视线方向。然后确定从眼睛出发通过每个象素中心的光线方程。通过该光线求光线与场景中物体的最近交点。 若有交点,首先产生阴影测试光线,它是连接交点与光源的光线,然后计算该交点与光源间是否有阻挡物,如果没有则计算该点的Phong模型分量,若有阻挡物则不计算。若交点处的场景为反射表面,则产生反射光线,将此光线继续与场景求交。若交点处的场景具有透明性,则产生透射光线,将此光线继续与场景求交。 若无交点,则返回默认值。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-01-25 23:53:04下载
- 积分:1
-
这个也是单纯性算法程序,可以与NM算法比较优劣。
这个也是单纯性算法程序,可以与NM算法比较优劣。-This is a simple algorithm procedures, NM algorithm can be compared with the pros.
- 2022-02-09 14:33:44下载
- 积分:1
-
Sayı Toplama
- 2022-02-05 13:44:02下载
- 积分:1
-
Numerical Anaysis 8th Edition Burden and Faires (Maple Source)
Numerical Anaysis 8th Edition Burden and Faires (Maple Source)
- 2022-02-02 03:12:08下载
- 积分:1
-
a good virtual oscilloscope! Be a direct run! Through his serial signal acquisit...
一个很好的虚拟示波器!可一直接运行!他通过串口采集信号与系统单片机上的数据,把其波形显示在视图中~完全类似于数字示波器的操作-a good virtual oscilloscope! Be a direct run! Through his serial signal acquisition system with microcontroller on the data, its waveform displayed on the View were similar to the fully-digital oscilloscope operation! !
- 2023-08-16 21:40:03下载
- 积分:1
-
矩阵计算C语言源代码
采用C语言,编写了矩阵计算常用的一些函数,比如矩阵转置,矩阵求逆,矩阵的加减乘除等
- 2023-01-16 05:25:03下载
- 积分:1
-
该功能将被指定为相应的一年的统治法国因此吨。
The functionality is to be designated the corresponding year reign France Thus the year, which was the year of the zodiac. But can be designated a specific date date of the lunar calendar. Author Note : I used to do this as a commercial product development PDA calendar procedures in recent transplant PC, ... software categories : algorithm related paper from the shrimp off FO
- 2022-03-04 19:17:42下载
- 积分:1
-
JAVA足球游戏
JAVA制作的fifa2004,可在手机上运行,模拟比赛双方的完整算法,真实还原比赛过程。
- 2022-03-22 23:49:04下载
- 积分:1
-
透视 瞬移 人物上色 非常实用的一款工具
透视 瞬移 人物上色 非常实用的一款工具-Focus Teleport a character painted a very useful tool for
- 2023-03-06 13:15:03下载
- 积分:1
-
迷你撞球游戏
资源描述迷你撞球游戏,用C语言编写的,建议在TC环境下编译
- 2022-05-21 17:28:00下载
- 积分:1