#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 112
下载积分: 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 个回复

  • Xilinx Virtex-4 ML410开发板原理
    Xilinx Virtex-4 ML410开发板原理图(含DDR DDR2)文档约80页,20层PCB,设计FPGA的参考电路图
    2022-02-01 06:23:21下载
    积分:1
  • 实现最陡下降法,研究步长因子和特征扩散度对收敛速度的影响...
    实现最陡下降法,研究步长因子和特征扩散度对收敛速度的影响-Achieve the steepest descent method to study the characteristics of step length factor and the proliferation of degree of influence on the convergence rate
    2022-07-19 06:30:05下载
    积分:1
  • 提出了一种新的皮肤分割和人脸特征提取方法…
    提出一种新的非线性变换的彩色空间 ″″, 利用次高斯概率分布函数拟合皮肤色度信息, 得到候选区 YC C r b 域。为了排除候选区域中的非人脸, 首先根据均值和方差信息分割出候选区域中的纹理特征信息, 再通过多尺度 ) ( 信息定位眼睛, 然后根据人脸特征的几 形态边缘检测算子检测候选区域的边缘, 利用 边缘方向 PCA PCAED ( ) 何形状信息定位其他特征 鼻、嘴 , 通过这些几何特征信息对肤色分割得到的候选区域进行验证, 最终得到正确 的人脸区域。利用3 个实验数据集测试该算法, 并与其它相应的算法相比较, 提出的非线性彩色空间对于肤色分 割具有很好的效果, 且对光照和姿态具有良好的不变性。另外, 利用 信息和几何特征信息检测人脸特征 PCAED 具有很高的定位精度, 定位检测率优于其他方法。实验结果表明, 该算法具有定位准确率高, 漏检率和误检率低 等特点。- A novel approach for skin segmentation and facial feature extraction is proposed The proposed skin segmentation is a method for integrating the chrominance components of ″″ . ″″ r b r b nonlinear YC C color model The chrominance components of nonlinear YC C color space , are modeled using a subgaussian probability density function and then the face skin is seg . , mented based on this function In order to authenticate the face candidate regions firstly tex ture information in face candidate regions is segmented using mean and variance of luminance ,
    2023-07-24 06:40:03下载
    积分:1
  • 算术
    Arith-N压缩算法-Arith-N Compression Algorithm
    2022-05-07 18:56:03下载
    积分:1
  • 五种边缘检测算子的实现,函数具有很好的通用性,凡是能够得到只想素区指针的情况都可以使用。 配合我上传的那个opentrim使用更好,这是一个bmp全色...
    五种边缘检测算子的实现,函数具有很好的通用性,凡是能够得到只想图像像素区指针的情况都可以使用。 配合我上传的那个opentrim使用更好,这是一个bmp全色深操作类,里边还集成了一些其他的机器视觉算法。 对图像进行高斯――拉普拉斯算子的边缘检测 对图像进行拉普拉斯算子的边缘检测 对图像进行罗伯特交叉算子的边缘检测 对图像进行蒲瑞维特算子的边缘检测 对图像进行索贝尔算子的边缘检测-5 kinds of edge detection operator to achieve an excellent general-purpose function, and those who just want to image pixels can be indicators of the situation in the district can be used. I upload that with the use of better opentrim, this is a bmp type operation panchromatic deep inside also integrates a number of other machine vision algorithms. Gaussian images- Laplacian edge detection of image Laplacian edge detection of images of Robert crossover operator on the image edge detection operator Po Ray White of the edge detection of image Sobel operator for edge detection
    2022-08-13 01:07:22下载
    积分:1
  • 一个基于pca2D的人脸识别分类程序, 并包含完整的FACE
    一个基于pca2D的人脸识别分类程序, 并包含完整的FACE-ORL人脸库,很具有研究和学习价值-Pca2D based on face recognition classification procedures, and includes the complete FACE-ORL face database, it is with research and learning the value of
    2023-06-21 13:50:05下载
    积分:1
  • 二代提升法实现的haar小波变换程序 及整数小波变换。haar小波实现...
    二代提升法实现的haar小波变换程序 及整数小波变换。haar小波实现-Method II upgrade the haar wavelet transform procedures and integral wavelet transform. Haar Wavelets
    2022-02-03 11:23:22下载
    积分:1
  • 这是用DirectX9写的一个多纹理的动画,呈现了一个真实的水的效果。
    这是用DirectX9写的一个多纹理的动画,呈现了一个真实的水的效果。-It is written in a multi-texture DirectX9 animated, showing a real effect of the water.
    2022-08-17 16:38:11下载
    积分:1
  • err
    《VC数字图像模式识别及工程实践》该书的源代码,希望对大家有用-err
    2022-05-14 09:37:16下载
    积分:1
  • dct实现数字水印的源代码 内附说明 matlab实现
    dct实现数字水印的源代码 内附说明 matlab实现-DCT digital watermark containing a description of the source code matlab realize
    2022-02-05 14:34:11下载
    积分:1
  • 696518资源总数
  • 105117会员总数
  • 11今日下载