-
光线追踪源代码
基于HTML5 canvas,使用光线追踪方法渲染场景。
可定义球体,平面,立方体,圆柱体等物体。
可定义物体的材质,漫反射系数,镜面反射系数,反射率。
可定义光源的颜色,方向。
可定义多个光源。
可定义观察位置,观察方向,视角大小。
可定义追踪光线的深度。
效果
实现了反射,阴影等效果,可以得到较有真实感图像。
实现
源代码:raytracer, render。
函数init()进行在场景内放置物体,设置物体参数位置材质,光源与相机参数。
暂时只用了平行光,还没有加入点光源。
没有实现透明物体,折射效果。
- 2022-12-03 02:25:03下载
- 积分:1
-
这是opengl super bible第三版的cd我把一些工具删掉了,还有macos的部分删掉了,不然内容太多了,不能上传。...
这是opengl super bible第三版的cd我把一些工具删掉了,还有macos的部分删掉了,不然内容太多了,不能上传。-opengl super This is the third edition of the bible cd I have deleted some of the tools, macos have deleted the part, not too much, not uploads.
- 2022-07-22 10:32:10下载
- 积分:1
-
OpenGl some of the relevant information, including two straight generation algor...
一些OpenGl的相关资料,包括两个直线生成算法的ppt文件,一份openGL参考书籍的资料,和一个小程序-OpenGl some of the relevant information, including two straight generation algorithm ppt documents, a openGL reference books, and a small program
- 2022-08-10 10:04:22下载
- 积分:1
-
Several on the 3DS file to read and opengl examples show, many explained that no...
好几个有关于3DS文件的读取和opengl显示的例子,很多解释,不下会后悔的-Several on the 3DS file to read and opengl examples show, many explained that no less than will be sorry
- 2022-02-01 12:39:25下载
- 积分:1
-
关于OpenGL
关于OpenGL的相关知识,主要针对初学者。-About OpenGL-related knowledge, mainly aimed at beginners.
- 2023-02-04 21:45:03下载
- 积分:1
-
OPGL源代码,演示了OPGL的面与目标组成…
OPGL源代码,演示了OPGL的面与物体的构成,以及3维物体的旋转,移动,放大等操作。并提供了背景设置,光影等效果的控制。适合于OPGL入门.-OPGL source code, OPGL demonstration of the surface and the composition of objects, as well as three-dimensional object rotation, Mobile, zooming etc. And provided background setup, lighting and other effects of control. OPGL suitable for induction.
- 2022-05-31 12:25:05下载
- 积分:1
-
一个简单的用opengl写的函数,是为最初的程序设计者设计的
一个简单的用opengl写的函数,是为最初的程序设计者设计的-A simple to use opengl to write a function for the initial design process designers
- 2023-04-22 00:20:03下载
- 积分:1
-
类似VC MDI界面的Opengl程序,使得可在同一界面下显示多种视图。用dev...
类似VC MDI界面的Opengl程序,使得可在同一界面下显示多种视图。用dev-C++编译-similar VC Opengl MDI interface that allows the same interface can be shown under a variety of views. With dev- C compiler
- 2022-07-26 04:26:15下载
- 积分:1
-
opengl 10bit 检测显卡是否支持10bit
应用背景
想直接回显10bit数据,在nv网站上下载的,编译运行通过,有一定的参考意义。
README for Check30bit
- To Run, type
Check30bit
This will print out a listing of all attached displays and open a window on each display showing a teapot.
If a display is 30-bit capable, then the window opened on that display will use a 30-bit pixel format.
When moving or resizing the window between the displays the event handler determines if the window is spanning a 30-bit color compatible display and reports it.
关键技术Check30bit opengl nvidia 并检测显卡是否支持10bit,不支持的话就用24bit。
- 2023-02-11 16:25:03下载
- 积分:1
-
C#封装的OpenGL 3D游戏引擎
C#封装的OpenGL 3D游戏引擎-C# Package of OpenGL 3D game engine
- 2022-06-02 10:35:02下载
- 积分:1