CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 图形图象 OpenGL

文件名称:NeHeOpenGL

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-16
  • 文件大小:
    11.37mb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

NEHE教程所有源码,对学习OpenGL的初学者有很大的帮助。-#include <windows.h>    // Header File For Windows

#include <gl\gl.h>      // Header File For The OpenGL32 Library

#include <gl\glu.h>      // Header File For The GLu32 Library

#include <gl\glaux.h>    // Header File For The Glaux Library



HDC      hDC=NULL     // Private GDI Device Context

HGLRC    hRC=NULL     // Permanent Rendering Context

HWND    hWnd=NULL     // Holds Our Window Handle

HINSTANCE  hInstance     // Holds The Instance Of The Application



bool  keys[256]       // Array Used For The Keyboard Routine

bool  active=TRUE     // Window Active Flag Set To TRUE By Default

bool  fullscreen=TRUE   // Fullscreen Flag Set To Fullscreen Mode By Default



LRESULT  CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM)   // Declaration For WndProc



GLvoid ReSizeGLScene(GLsizei width, GLsizei height)    // Resize And Initialize The GL Window

{

  if (height==0)                    // Prevent A Divide By Zero By

  {

    height=1                     // Making Height Equal One

  }



  glViewport(0,0,width,height)         
相关搜索: glu.h

(系统自动生成,下载前可以参看下载内容)

下载文件列表

Lesson06/Data/NeHe.bmp
Lesson06/Lesson6.cpp
Lesson06/Lesson6.dsp
Lesson06/Lesson6.dsw
Lesson06/Lesson6.exe
Lesson06/NeHe's Readme.txt
Lesson07/Data/Crate.bmp
Lesson07/Lesson7.cpp
Lesson07/Lesson7.dsp
Lesson07/Lesson7.dsw
Lesson07/Lesson7.exe
Lesson07/NeHe's Readme.txt
Lesson08/Data/Glass.bmp
Lesson08/Lesson8.cpp
Lesson08/Lesson8.dsp
Lesson08/Lesson8.dsw
Lesson08/Lesson8.exe
Lesson08/NeHe's Readme.txt
Lesson09/Data/Star.bmp
Lesson09/Lesson9.cpp
Lesson09/Lesson9.dsp
Lesson09/Lesson9.dsw
Lesson09/Lesson9.exe
Lesson09/NeHe's Readme.txt
Lesson10/Data/Mud.bmp
Lesson10/Data/World.txt
Lesson10/Lesson10.cpp
Lesson10/Lesson10.dsp
Lesson10/Lesson10.dsw
Lesson10/Lesson10.exe
Lesson10/NeHe's Readme.txt
Lesson11/Data/Tim.bmp
Lesson11/Lesson11.cpp
Lesson11/Lesson11.dsp
Lesson11/Lesson11.dsw
Lesson11/Lesson11.exe
Lesson11/NeHe's Readme.txt
Lesson12/Data/Cube.bmp
Lesson12/Lesson12.cpp
Lesson12/Lesson12.dsp
Lesson12/Lesson12.dsw
Lesson12/Lesson12.exe
Lesson12/NeHe's Readme.txt
Lesson13/Lesson13.cpp
Lesson13/Lesson13.dsp
Lesson13/Lesson13.dsw
Lesson13/Lesson13.exe
Lesson13/NeHe's Readme.txt
Lesson14/Lesson14.cpp
Lesson14/Lesson14.dsp
Lesson14/Lesson14.dsw
Lesson14/Lesson14.exe
Lesson14/NeHe's Readme.txt
Lesson15/Data/Lights.bmp
Lesson15/Lesson15.cpp
Lesson15/Lesson15.dsp
Lesson15/Lesson15.dsw
Lesson15/Lesson15.exe
Lesson15/NeHe's Readme.txt
Lesson16/Data/Crate.bmp
Lesson16/Lesson16.cpp
Lesson16/Lesson16.dsp
Lesson16/Lesson16.dsw
Lesson16/Lesson16.exe
Lesson16/NeHe's Readme.txt
Lesson17/Data/Bumps.bmp
Lesson17/Data/Font.bmp
Lesson17/Lesson17.cpp
Lesson17/Lesson17.dsp
Lesson17/Lesson17.dsw
Lesson17/Lesson17.exe
Lesson17/NeHe's Readme.txt
Lesson18/Data/Wall.bmp
Lesson18/Lesson18.cpp
Lesson18/Lesson18.dsp
Lesson18/Lesson18.dsw
Lesson18/Lesson18.exe
Lesson18/NeHe's Readme.txt
Lesson19/Data/Particle.bmp
Lesson19/Lesson19.cpp
Lesson19/Lesson19.dsp
Lesson19/Lesson19.dsw
Lesson19/Lesson19.exe
Lesson19/NeHe's Readme.txt
Lesson20/Data/Image1.bmp
Lesson20/Data/Image2.bmp
Lesson20/Data/Logo.bmp
Lesson20/Data/Mask1.bmp
Lesson20/Data/Mask2.bmp
Lesson20/Lesson20.cpp
Lesson20/Lesson20.dsp
Lesson20/Lesson20.dsw
Lesson20/Lesson20.exe
Lesson20/NeHe's Readme.txt
Lesson21/Data/Complete.wav
Lesson21/Data/Die.wav
Lesson21/Data/Font.bmp
Lesson21/Data/Freeze.wav
Lesson21/Data/Hourglass.wav
Lesson21/Data/Image.bmp
Lesson21/Lesson21.cpp
Lesson21/Lesson21.dsp
Lesson21/Lesson21.dsw
Lesson21/Lesson21.exe
Lesson21/NeHe's Readme.txt
Lesson22/Data/Base.bmp
Lesson22/Data/Bump.bmp
Lesson22/Data/Multi_On.bmp
Lesson22/Data/Multi_On_Alpha.bmp
Lesson22/Data/OpenGL.bmp
Lesson22/Data/OpenGL_Alpha.bmp
Lesson22/GLext.h
Lesson22/Lesson22.cpp
Lesson22/Lesson22.dsp
Lesson22/Lesson22.dsw
Lesson22/Lesson22.exe
Lesson22/NeHe's Readme.txt
Lesson23/Data/BG.bmp
Lesson23/Data/Reflect.bmp
Lesson23/Lesson23.cpp
Lesson23/Lesson23.dsp
Lesson23/Lesson23.dsw
Lesson23/Lesson23.exe
Lesson23/NeHe's Readme.txt
Lesson24/Data/Font.tga
Lesson24/Lesson24.cpp
Lesson24/Lesson24.dsp
Lesson24/Lesson24.dsw
Lesson24/Lesson24.exe
Lesson24/NeHe's Readme.txt
Lesson25/Data/Sphere.txt
Lesson25/Data/Torus.txt
Lesson25/Data/Tube.txt
Lesson25/Lesson25.cpp
Lesson25/Lesson25.dsp
Lesson25/Lesson25.dsw
Lesson25/Lesson25.exe
Lesson25/NeHe's Readme.txt
Lesson26/Data/Ball.bmp
Lesson26/Data/Envroll.bmp
Lesson26/Data/Envwall.bmp
Lesson26/Lesson26.cpp
Lesson26/Lesson26.dsp
Lesson26/Lesson26.dsw
Lesson26/Lesson26.exe
Lesson26/NeHe's Readme.txt
Lesson27/3Dobject.h
Lesson27/Data/Object.txt
Lesson27/Data/Object1.txt
Lesson27/Data/Object2.txt
Lesson27/Data/SimpleObject.txt
Lesson27/Lesson27.cpp
Lesson27/Lesson27.dsp
Lesson27/Lesson27.dsw
Lesson27/Lesson27.exe
Lesson27/NeHe's Readme.txt
Lesson28/Data/NeHe.bmp
Lesson28/Lesson28.cpp
Lesson28/Lesson28.dsp
Lesson28/Lesson28.dsw
Lesson28/Lesson28.exe
Lesson28/NeHe's Readme.txt
Lesson29/Data/GL.raw
Lesson29/Data/Monitor.raw
Lesson29/Lesson29.cpp
Lesson29/Lesson29.dsp
Lesson29/Lesson29.dsw
Lesson29/Lesson29.exe
Lesson29/NeHe's Readme.txt
Lesson30/Data/Boden.bmp
Lesson30/Data/Explode.wav
Lesson30/Data/Marble.bmp
Lesson30/Data/Spark.bmp
Lesson30/Data/Wand.bmp
Lesson30/Image.cpp
Lesson30/Image.h
Lesson30/Lesson30.cpp
Lesson30/Lesson30.dsp
Lesson30/Lesson30.dsw
Lesson30/Lesson30.exe
Lesson30/Mathex.h
Lesson30/NeHe's Readme.txt
Lesson30/Readme.txt
Lesson30/Tmatrix.cpp
Lesson30/Tmatrix.h
Lesson30/Tray.cpp
Lesson30/Tray.h
Lesson30/Tvector.cpp
Lesson30/Tvector.h
Lesson31/Data/Model.ms3d
Lesson31/Data/Wood.bmp
Lesson31/Lesson31.cpp
Lesson31/Lesson31.dsp
Lesson31/Lesson31.dsw
Lesson31/Lesson31.exe
Lesson31/Lesson31.h
Lesson31/MilkshapeModel.cpp
Lesson31/MilkshapeModel.h
Lesson31/Model.cpp
Lesson31/Model.h
Lesson31/NeHe's Readme.txt
Lesson32/Data/BlueFace.tga
Lesson32/Data/Bucket.tga
Lesson32/Data/Coke.tga
Lesson32/Data/Crosshair.tga
Lesson32/Data/Explode.tga
Lesson32/Data/Font.tga
Lesson32/Data/Ground.tga
Lesson32/Data/Shot.wav
Lesson32/Data/Sky.tga
Lesson32/Data/Target.tga
Lesson32/Data/Vase.tga
Lesson32/Lesson32.cpp
Lesson32/Lesson32.dsp
Lesson32/Lesson32.dsw
Lesson32/Lesson32.exe
Lesson32/NeHe's Readme.txt
Lesson32/NeHeGL.cpp
Lesson32/NeHeGL.h
Lesson33/Data/Compressed.tga
Lesson33/Data/Uncompressed.tga

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com