-
Chapter 6 B
Chapter 6 B-spline Surfaces
basis.c tbasis.c Calculates the B-spline basis functions.
bsplsurf.c tbsurf.c Calculates a B-spline surface.
bspsurfu.c tbsurfu.c Calculates a periodic B-spline surface.
dbasis.c tdbasis.c Calculates the B-spline basis functions and derivatives.
dbsurf.c tdbsurf.c Calculates a B-spline surface and derivatives.
knot.c tknot.c Calculates an open knot vector.
knotu.c tknotu.c Calculates a periodic knot vector.
rdpnp.c Support routine - inputs PNP (polygon net point) file.
chap6all.zip ZIP file for all of Chapter 6.
chap6all.tar.gz UNIX tar file for all of Chapter 6.
-Chapter 6 B-spline Surfaces
basis.c tbasis.c Calculates the B-spline basis functions.
bsplsurf.c tbsurf.c Calculates a B-spline surface.
bspsurfu.c tbsurfu.c Calculates a periodic B-spline surface.
dbasis.c tdbasis.c Calculates the B-spline basis functions and derivatives.
dbsurf.c tdbsurf.c Calculates a B-spline surface and derivatives.
kn
- 2022-01-22 14:02:02下载
- 积分:1
-
人脸识别的源程序,尝试一下如何上传,下次再传好的
人脸识别的源程序,尝试一下如何上传,下次再传好的-Face recognition source code, try how to upload, send the next best
- 2022-03-23 07:43:49下载
- 积分:1
-
光线跟踪
首先确定眼睛的位置和视线方向。然后确定从眼睛出发通过每个象素中心的光线方程。通过该光线求光线与场景中物体的最近交点。 若有交点,首先产生阴影测试光线,它是连接交点与光源的光线,然后计算该交点与光源间是否有阻挡物,如果没有则计算该点的Phong模型分量,若有阻挡物则不计算。若交点处的场景为反射表面,则产生反射光线,将此光线继续与场景求交。若交点处的场景具有透明性,则产生透射光线,将此光线继续与场景求交。 若无交点,则返回默认值。 最后将颜色填入相应象素中。 递归结束条件: 1.递归深度:预先设定一个递归深度值 2.光亮度值:如果反射或折射光线的光亮度贡献太小,可以忽略不计,则停止递归 本系统选择VS2008平台开发,采用MFC单文档结构作为系统的整体架构。其中,Object类为场景中物体的基类,从中派生出两个子类:Plane类和Sphere类,分别表示平面类和球面类。 Colour结构表示颜色,包含r,g,b三个颜色分量。 Material结构表示场景中物体的材质属性,包含,,三个分量,分别表示物体的漫反射系数、镜面反射系数和折射系数。 Vect结构表示场景中的点坐标。 Ray类表示光线或光源,当它表示光线时,它包含原点origin和单位方向向量dir;当它表示光源时,它还包含了光源颜色colour。 Hit类表示交点类,它包含交点处的法向量normal,交点所处的物体表面surface,交点系数t。 Scene类表示场景类,它包含物体指针数组objects,光源指针数组lights,场景物体个数nObjectCount,场景光源个数nLightCount。 CSceneLightDlg类为场景光源配置对话框,它里面显示了当前场景中的所有光源,用户可以在对话框中继续添加光源。 CSceneObjectDlg类为场景物体配置对话框,它里面显示了当前场景中的所有物体,用户可以在该对话框中继续添加物体。 CScenePictureDlg类为照片配置对话框,它里面显示当前人眼的位置、照片的大小、位置和分辨率。用户可以对该设置进行修改。 CRayTraceView类为框架的视图类,负责图片的显示。我在其中包含了一个Scene对象,光线跟踪的具体实
- 2022-03-19 03:38:04下载
- 积分:1
-
计算机图形学作业,主要是利用栈的扫描线算法
计算机图形学作业,主要是利用栈的扫描线算法-Computer graphics work, mainly using stack scan line algorithm
- 2022-07-25 15:57:52下载
- 积分:1
-
灵感编程等程序码
灵感编程等程序码-inspiration programming code such as
- 2022-02-07 04:47:47下载
- 积分:1
-
C编写的非常简单图片浏览器,可给有需要的人学习,交流
C编写的非常简单图片浏览器,可给有需要的人学习,交流-C prepared by a very simple picture browser, can be given to those in need to learn, exchange
- 2022-03-10 21:01:33下载
- 积分:1
-
VC++下的三维重建的开发框架
主要是基于多图像输入下对物体进行重建过程而使用体素着色法...
VC++下的三维重建的开发框架
主要是基于多图像输入下对物体进行重建过程而使用体素着色法-VC++ under the three-dimensional reconstruction of the development framework is based mainly on the multi-image input to the reconstruction process of the object using voxel coloring
- 2022-02-13 19:44:45下载
- 积分:1
-
Synthesis System Alphat transparent transparent Alphat source code synthesis sys...
Alphat透明合成系统源代码
Alphat透明合成系统
> 系统包括sort/nosort两部分
-Synthesis System Alphat transparent transparent Alphat source code synthesis system
- 2022-08-23 14:38:18下载
- 积分:1
-
State of art point matching algorithm, implemented by C++, together with a full...
State of art point matching algorithm, implemented by C++, together with a full report and demo.
- 2023-06-07 01:50:04下载
- 积分:1
-
L系统理论下,用计算机实现得分形算法,可以直观地看到图形...
L系统理论下,用计算机实现得分形算法,可以直观地看到图形-L system theory, with computer scoring algorithm can intuitively see graphic
- 2022-03-02 22:41:05下载
- 积分:1