#include #include #include voidsolidCylinder(GLdoubleradius-opengl切削仿真-图形图像 - IMDN开发者社群-imdn.cn" /> #include#include#includevoidsolidCylinder(GLdoubleradius,GLdoubleheight,GLintslices,GLintstacks)//»­Ò»¸öÔ²ÖùÌ壬ÓÃDiskÀ´¸ÇסÉÏϵ×Ãæ{   GLUquadricObj*qobj=gluNewQuadric();  gluCylinder(qobj,radius,radius,height,slices,stacks);  //slicesÀàËÆÓÚ¾­¶È£¬stacksÀàËÆÓÚγ¶È  glScalef(-1.0,1.0,-1.0);-IMDN开发者社群-imdn.cn"> #include#include#includevoidsolidCylinder(GLdoubleradius,GLdoubleheight,GLintslices,GLintstacks)//»­Ò»¸öÔ²ÖùÌ壬ÓÃDiskÀ´¸ÇסÉÏϵ×Ãæ{   GLUquadricObj*qobj=gluNewQuadric();  gluCylinder(qobj,radius,radius,height,slices,stacks);  //slicesÀàËÆÓÚ¾­¶È£¬stacksÀàËÆÓÚγ¶È  glScalef(-1.0,1.0,-1.0); - IMDN开发者社群-imdn.cn">
登录
首页 » 图形图像 » opengl切削仿真

opengl切削仿真

于 2022-02-03 发布 文件大小:955.99 kB
0 115
下载积分: 2 下载次数: 1

代码说明:

#include "stdafx.h" #include #include #include #include void solidCylinder(GLdouble radius, GLdouble height, GLint slices, GLint stacks) //»­Ò»¸öÔ²ÖùÌ壬ÓÃDiskÀ´¸ÇסÉÏϵ×Ãæ {      GLUquadricObj* qobj = gluNewQuadric();     gluCylinder(qobj, radius, radius, height, slices, stacks);    //slicesÀàËÆÓÚ¾­¶È£¬stacksÀàËÆÓÚγ¶È     glScalef(-1.0, 1.0, -1.0);

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

发表评论


0 个回复

  • Delaunay三角是一个经典的生成算法可以用来成一个网格模型。
    Delaunay是经典的三角形生成算法,可用于形成mesh建模-Delaunay triangle is a classic generation algorithm can be used to form a mesh modeling
    2023-02-08 23:40:04下载
    积分:1
  • Peking University
    北京大学遥感所的研究生图像处理讲义高级遥感数字图像处理(硕士生课程)之第十二章 采样数据的处理-Peking University
    2022-02-03 02:32:35下载
    积分:1
  • 这次上传的代码是关于几种常用特征提取方法的对比代码。
    这次上传的代码是关于几种常用特征提取方法的对比代码。-this code is uploaded on several common feature extraction methods contrast code.
    2022-04-20 06:46:35下载
    积分:1
  • 计算机学实践教程(Visual C++版)的实例
    计算机图形学实践教程(Visual C++版)的实例-Practice of Computer Graphics Tutorial (Visual C++ Version) examples
    2022-04-07 10:36:17下载
    积分:1
  • 随意在平面上绘并有位顺着轨迹移动
    随意在平面上绘图并有位图顺着轨迹移动-at random plane graphics and bitmap along the trajectory mobile
    2022-03-19 16:36:57下载
    积分:1
  • 在Visual C++中实现的Sutherland
    在Visual C++中实现的Sutherland-Hodgman多边形裁剪算法-achieved by Sutherland-Hodgman polygon clipping algorithm
    2022-04-18 16:15:54下载
    积分:1
  • 码P0301:数字矩阵数据的显示和傅里叶变换p0302:两
    程序代码说明 P0301:数字图像矩阵数据的显示及其傅立叶变换 P0302:二维离散余弦变换的图像压缩 P0303:采用灰度变换的方法增强图像的对比度 P0304:直方图均匀化 P0305:模拟图像受高斯白噪声和椒盐噪声的影响 P0306:采用二维中值滤波函数medfilt2对受椒盐噪声干扰的图像滤波 P0307:采用MATLAB中的函数filter2对受噪声干扰的图像进行均值滤波 P0308:图像的自适应魏纳滤波 P0309:运用5种不同的梯度增强法进行图像锐化 P0310:图像的高通滤波和掩模处理 P0311:利用巴特沃斯(Butterworth)低通滤波器对受噪声干扰的图像进行平滑处理 P0312:利用巴特沃斯(Butterworth)高通滤波器对图像进行锐化处理 -code P0301 : digital image data matrix display and Fourier Transform P0302 : two-dimensional discrete cosine transform image compression P0303 : using gray transform method to enhance the contrast of the image P0304 : histogram equalization P0305 : simulation images by Gaussian white noise and pepper noise impact P0306 : using 2D median filtering function medfilt2 right by the Salt and Pepper noise filtering images P0307 : MATLAB functions filter2 of noise interference filter images mean P0308 : Image Adaptive Filter WEI Na-P0309 : using five different gradient Enhancement Act for image sha
    2022-02-12 13:34:57下载
    积分:1
  • 这是一个在VC的环境下编写的小应用程序,随便选择一个汉字,然后输入背景字符,和前景字符,然后可以用这两个字符显示出这两个汉字...
    这是一个在VC的环境下编写的小应用程序,随便选择一个汉字,然后输入背景字符,和前景字符,然后可以用这两个字符显示出这两个汉字-This is a VC in the preparation of the environment of small applications, choose any one Chinese characters, then the background characters, characters and prospects, could then make use of these two characters from these two Chinese characters
    2023-09-06 01:35:03下载
    积分:1
  • logo Guide produced examples
    logo制作教程实例-闪电、下雨郊果的logo 欢迎下载使用-logo Guide produced examples- lightning, rain rural fruit welcome to download the logo use
    2023-04-29 17:00:03下载
    积分:1
  • Eigenface Face Recognition System All functions are easy to use, as they are h...
    Eigenface Face Recognition System All functions are easy to use, as they are heavy commented. Furthermore, a sample script is included to show their usage. -Eigenface Face Recognition SystemAll functions are easy to use, as they are heavy commented. Furthermore, a sample script is included to show their usage.
    2023-01-12 05:15:03下载
    积分:1
  • 696518资源总数
  • 105300会员总数
  • 3今日下载