登录
首页 » OpenGL图像 » 将一个3ds房屋模型导入到opengl中,不能视角移动,但是对于导入文件的编写很有借鉴意义

将一个3ds房屋模型导入到opengl中,不能视角移动,但是对于导入文件的编写很有借鉴意义

于 2023-05-19 发布 文件大小:48.43 MB
0 136
下载积分: 2 下载次数: 1

代码说明:

将3ds房屋模型导入vs2010中,代码完整可用。代码中有一个头文件和一个CPP文件CLoad3DS.cpp、CLoad3DS.h,不需要管这个两个文件里面具体复杂的操作是啥,直接当成库就可以了,然后写上头文件和3d模型的定义并进行初始化,最后在绘制函数里面用changeObject 导入之前设置好的参数,再用drawModel函数(在CLoad3DS定义好了的全局函数) 绘制。

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

发表评论

0 个回复

  • vc环境下开发的opengl performer应用程序,脱离performer环境运行时,所需要的系统文件。只要将这些文件复制到自己performer 执行程...
    vc环境下开发的opengl performer应用程序,脱离performer环境运行时,所需要的系统文件。只要将这些文件复制到自己performer 执行程序目录下即可。注意:这些文件一定要同你所用performer的版本一致。这里是3.2.1版-vc environment developed opengl performer applications, run-time environment from the performer, the required system files. Simply copy these files to their own enforcement procedures performer directory can be. Note: These documents must be used with your version of consistent performer. Here is version 3.2.1
    2023-01-10 10:45:04下载
    积分:1
  • csc108 Assignment
    Raytracing example implement a basic ray-tracer and render a simple scene using ray casting and local shading. The starter code sets up a scene comprising of an ellipsoid and a plane, being illuminated by a point light source. Your job is to render the scene by implementing code fragments required for object intersections and Phong shading.
    2022-07-17 14:08:05下载
    积分:1
  • 一个在vc环境下编写OPENGL程序的模板,只需要修改RenderScene函数即可...
    一个在vc环境下编写OPENGL程序的模板,只需要修改RenderScene函数即可-A vc environment OPENGL procedures to prepare templates, only need to modify RenderScene function can be
    2022-06-02 02:35:13下载
    积分:1
  • 这是利用OpenGL开发三维游戏书中的代码,非常经典,有喜欢的朋友一起分享!...
    这是利用OpenGL开发三维游戏书中的代码,非常经典,有喜欢的朋友一起分享!-This is the use of OpenGL to develop three-dimensional game code book, very classic favorite has to share with friends!
    2023-07-16 20:20:03下载
    积分:1
  • MFC Opengl三维控件
    应用背景 1当二维自定义控件的绘制效果无法满足图形需求时,需要考虑三维控件的可行性; 2在三维控件中,可绘制立体的效果; 3 可在二维图形程序中,绘制三维的图表,如饼图。曼哈顿图等; 关键技术 1 mfc自绘制控件的技术实现; 2 opengl基本绘制图形 3 opengl图形框架,包括编辑,旋转,视图缩放等 4 提供了三维投影,拾取基础类的代码;  5 自定义控件派生自static控件; void COpenglWnd::Paint() { InitOpengl(); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); ////////////////////////////////////////////////////////////////////////// glPushMatrix(); glTranslated(0,0, -m_OpenglSize.GetEyeDistance() ); RenderOpengl(); glPopMatrix(); HDC m_hgldc = ::GetDC(m_hWnd); ::SwapBuffers(m_hgldc); }
    2023-04-10 06:30:03下载
    积分:1
  • 关于形学大作业的字符(FONT)
    关于图形学大作业的字符(FONT)-big on graphics operations of the characters (font)
    2022-02-25 05:09:26下载
    积分:1
  • 运用Opengl和C实现一个人体面部的三维显示
    运用Opengl和C实现一个人体面部的三维显示-Opengl and C use a human face to achieve the 3-D display
    2022-11-20 13:05:03下载
    积分:1
  • 这个例子充分展示了Delphi强大的功能,只有一个文件,但效果惊人!我在D6下试过了...
    这个例子充分展示了Delphi强大的功能,只有一个文件,但效果惊人!我在D6下试过了-This example demonstrates Delphi powerful features, only one paper, but the results amazing! I tried under D6
    2022-07-04 22:22:08下载
    积分:1
  • 实现了一个opengl的可视化形模板,利用了splitWindow ,在MFC多文档模式下,可以对openGL形做交互操作比如平移旋转缩放等...
    实现了一个opengl的可视化图形模板,利用了splitWindow ,在MFC多文档模式下,可以对openGL图形做交互操作比如平移旋转缩放等-Realize a visualization opengl graphics templates, use of splitWindow, in MFC multi-document mode, can make interactive graphics openGL operation such as rotation scaling translation
    2022-01-25 17:15:10下载
    积分:1
  • OGL绘制的旋转地球
    这是一个Opengl绘制贴了图的旋转的地球,还添加了光照,非常适合初学者学习。这里代码简洁明了,已经注解,画面效果十分逼真,地球在自动旋转,也可以贴上其他图片,变成其他漂亮的星体。
    2022-04-11 17:19:03下载
    积分:1
  • 696516资源总数
  • 106446会员总数
  • 9今日下载