登录
首页 » OpenGL图像 » 绘制加光照的彩色四棱锥

绘制加光照的彩色四棱锥

于 2022-06-12 发布 文件大小:12.75 kB
0 170
下载积分: 2 下载次数: 1

代码说明:

 绘制一个彩色的四棱锥并添加光照效果:四棱锥边长为2;四棱锥各个顶点颜色不同;四棱锥的中心为(1,2,3);要求使用多种光,包括环境光、镜面光和散射光等,可以通过控制物体对光的反射材质因子和不同光的因子达到不同的光照效果。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • use opengl and vc achieve planetary position of the display, the display opengl...
    用opengl和vc++实现的行星位置的演示,主要演示opengl中的拣选功能-use opengl and vc achieve planetary position of the display, the display opengl selected functional
    2023-05-10 08:30:04下载
    积分:1
  • cubgs-src函示庫
    资源描述simplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimplesimple
    2022-10-15 00:00:04下载
    积分:1
  • opengl和mMFC创建三维动画
    用opengl和mMFC创建三维动画-use opengl and create 3D animation mMFC
    2022-08-16 20:45:38下载
    积分:1
  • 华容道小游戏在VC++6.0下使用OpenGL实现,功能都实现了,就是看上去有点简陋。...
    华容道小游戏在VC++6.0下使用OpenGL实现,功能都实现了,就是看上去有点简陋。-Huarong game at VC++6.0 to use OpenGL implementation, implementation functions, that is, looks a bit simple.
    2022-08-03 22:01:15下载
    积分:1
  • Create with opengl a sphere and rotat
    Create with opengl a sphere and rotat
    2022-12-25 23:15:03下载
    积分:1
  • 视频捕获
    进口跃升进口System.Windows.InkImports文件Microsoft.Expression.Encoder编码.DevicesImports网络摄像机控制导入System.Drawing.Imaginage端口系统.IOClass主窗口专用声明函数SetCursorPos Lib";user32";(x为整数,y为整数)为布尔型专用声明函数apimouseu event Lib";user32";Alias";mouseu event";(ByVal dwFlags As Int32,ByVal dx As Int32,ByVal dy As Int32,ByVal cButtons As Int32,ByVal dwExtraInfo As Int32)作为布尔值Private Const MOUSEEVENTFu LEFTDOWN=&H2;Private Const MOUSEEVENTFu LEFTUP=&H4;Private leap As New Controller ;PrivatetouchIndicator As New drawing属性私有接触点As StylusPoint私有xmldoc As XElement私有图像列表As New List
    2022-02-02 01:58:58下载
    积分:1
  • 3个齿轮相互咬合运动的程序
    3个齿轮相互咬合运动的程序-3 gear mutual occlusal movement procedures
    2022-01-26 02:46:33下载
    积分:1
  • 这个工程可实现opengl下三维动画的仿真
    这个工程可实现opengl下三维动画的仿真-This project can be achieved under the three-dimensional animation opengl Simulation
    2023-01-05 23:55:04下载
    积分:1
  • opengl实现鼠标旋转、移动物体
    //#include"Qua.h"; #include #include using std::cout; using std::endl; void DrawCube( int * a, int * b, int * level ) { glPolygonMode( GL_FRONT_AND_BACK, GL_LINE ); glLineWidth(1.0f); glEnable( GL_LINE_STIPPLE ); glLineStipple(1, 0x0F0F);
    2022-05-19 01:44:26下载
    积分:1
  • 用OpenGL,在VC++环境下,制作彩色三角形
    用OpenGL,在VC++环境下,制作彩色三角形-use OpenGL, the VC environment, the production of color triangle
    2022-01-26 01:00:32下载
    积分:1
  • 696516资源总数
  • 106446会员总数
  • 9今日下载