OpenGL程序绘制风车和一些山丘 [英] OpenGL program to draw a windmill and some hills
本文介绍了OpenGL程序绘制风车和一些山丘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想要一个OpenGL程序来绘制风车和一些丘陵.
I want a OpenGL program to draw a windmill and some hills.
Can any body help me with this?
推荐答案
首先可以从这里购买其3dmax模型:
http://www.turbosquid.com/Search/Index.cfm? keyword = windmill& x = 0& y = 0 [ ^ ]
或自己制作一个简单的库,然后搜索一个(免费的)库以加载3Dmax模型;还有其他3D格式和加载程序. C ++和Delphi中已经有一些3DMax加载器.
然后要创建一些山丘,您需要NURBS.
http://fly.cc.fer.hr/~unreal/theredbook/chapter11.html [^ ]
提供所有这些内容后,请尝试将它们放在一起.
希望对您有所帮助.
Firstly buy its 3dmax model from here :
http://www.turbosquid.com/Search/Index.cfm?keyword=windmill&x=0&y=0[^]
or make a simple one yourself then search for a (free) library to load the 3Dmax model; There are also other 3D formats and loaders. There are already some 3DMax loaders in C++ and Delphi.
Then for creating some hills you need NURBS.
http://fly.cc.fer.hr/~unreal/theredbook/chapter11.html[^]
After providing all of those try put them together.
Hope it helps.
这篇关于OpenGL程序绘制风车和一些山丘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文