通过使用开放gl的形状 [英] drwing shape by using open gl

查看:63
本文介绍了通过使用开放gl的形状的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用c ++通过open gl绘制体育场并添加球队和球并改变背景颜色谢谢...........☻

解决方案

<通常,像体育场这样的复杂模型不是通过代码手动绘制的.使用3D软件(例如 Blender [ Autodesk 3ds Max [ 3ds [ OBJ [ COLLADA [ ](xml)等.


how to draw stadium and add team and balls and vhange the backgrround color using open gl by c++ thanks...........☻

解决方案

Usually, complex models like stadium are not drawn by code manually. Complex models are modelled and save to a file, using a 3D software like Blender[] or Autodesk 3ds Max[^]. And programmer will use a file parser to parse that file, in order to load the model into OpenGL. Common 3D file formats are 3ds[](binary), OBJ[](text), COLLADA[](xml) and etc.


这篇关于通过使用开放gl的形状的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆