登录
首页 » OpenGL图像 » opengl旋转矩形 绕某一点旋转

opengl旋转矩形 绕某一点旋转

于 2022-11-24 发布 文件大小:3.23 kB
0 58
下载积分: 2 下载次数: 1

代码说明:

用opengl实现旋转矩形,共三种实现方法 ,包括 140203(1):单一变化 原地旋转(乘旋转矩阵) 140203(2):复合变化 绕某点旋转(平移 旋转 反平移) 140203(3):利用已知函数绕某点旋转 (有点问题,坐标轴也旋转,即函数是对所有图画旋转)

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

发表评论

0 个回复

  • openGL开发基础实例代码,配OpenGL开发库
    openGL开发基础实例代码,配OpenGL开发库-openGL based on examples of code development with OpenGL development library
    2022-03-01 16:10:21下载
    积分:1
  • vtk slice 三维取切片
    在三维图像中用vtkslice 取切片,通常使用一个表面剪切一个数据集,并显示剪切后的结果值,我们称这种技术为数据剪切,数据剪切需要两方面的信息:被剪切的数据集和剪切面,剪切面一般是使用隐函数定义,一般的应用使用一个平面对数据集进行切片,然后使用颜色映射或矢量可视化的方法显示剪切结果。隐函数的一个特性是可以将一个空间位置点转换成一个标量值,我们可以将这个特性与等值面算法相结合,生成剪切面,其基本思想是:对数据集的每个点或单元生成一个标量值,然后用等值面算法提取剪切范围值,生成剪切面。剪切算法的过程如下:对于组成单元的每个点,用隐函数F(x, y, z)计算其值,如果所有的点都为正值或负值,则剪切面不通过该单元,反之,剪切面通过该单元,利用隐函数F(x, y, z) = 0计算函数值为零的点所组成的面生成等值面,同时利用线性插值算法计算面的属性值。
    2022-09-18 12:05:03下载
    积分:1
  • classic source of opengl Guide, lesson01
    经典的nehe的opengl教程源码,lesson01-48。提供打包下载的真少。-classic source of opengl Guide, lesson01-48. Download package for the true small.
    2022-03-10 12:39:03下载
    积分:1
  • OpenGL,实现摄头捕捉的象由opengl输出
    OpenGL,实现摄像头捕捉的图象由opengl输出-OpenGL, achieving camera to capture the image output by opengl
    2022-03-11 05:57:59下载
    积分:1
  • A simulated aircraft fire near the ground opengl procedures, documentation in th...
    一个模拟飞机近地面射击的opengl程序,文件中有相应的模型和算法-A simulated aircraft fire near the ground opengl procedures, documentation in the corresponding model and algorithm
    2022-06-15 07:07:37下载
    积分:1
  • Font to display three
    三维字体显示-Font to display three-dimensional
    2022-06-01 06:13:33下载
    积分:1
  • 本程序是基于opengl的开发程序,其中采用了对物理的模拟,对于防真学的初学者很有帮助....
    本程序是基于opengl的开发程序,其中采用了对物理的模拟,对于防真学的初学者很有帮助.-This procedure is based on opengl development process, in which the use of a physics simulation, for the prevention really helpful for beginners to learn.
    2023-06-17 01:25:03下载
    积分:1
  • 机器人的键盘及旋转控制
    机器人的键盘及旋转控制-Keyboard and rotating robot control
    2022-01-24 14:17:36下载
    积分:1
  • 演示了在Visual C++ OpenGL下一个球体的转动.
    演示了在Visual C++ OpenGL下一个球体的转动.-demonstration of OpenGL in Visual C under a rotation of the ball.
    2023-07-13 06:45:03下载
    积分:1
  • 螺旋桨的五坐标数控加工系统,该软件能够实现不同型号螺旋桨的数控仿真...
    螺旋桨的五坐标数控加工系统,该软件能够实现不同型号螺旋桨的数控仿真-rumbling of the five-axis NC machining system, the software can achieve different models of NC simulation propeller
    2022-04-27 11:49:33下载
    积分:1
  • 696521资源总数
  • 104077会员总数
  • 0今日下载