如何为以下作业编写opengl代码? [英] How can I write a opengl code for the following assignment?

查看:110
本文介绍了如何为以下作业编写opengl代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用C或C ++编写opengl代码,当用户打开电机时,将水从地下储罐抽到高架水箱。

一旦顶置水箱中的水达到最大值水平,水必须溢出。当电机关闭时,水不应被泵入水箱并继续溢出,直到水位降低到最高水平。



我是opengl的初学者如果有人能告诉我如何解决问题,我会很高兴。

解决方案

http://www.glprogramming.com/red/ [ ^ ]。

I want to write opengl code using C or C++ to pump water from the underground storage tank to an overhead tank when the user switches ON the motor.
Once the water in overhead tank reaches a maximum level, water has to overflow. As the motor is switched off the water should not be pumped into tank and continue to overflow untill the water level reduces to the maximum level.

I am a beginner in opengl and would be happy if someone could let me know how i can start with the problem.

解决方案

Start at http://www.glprogramming.com/red/[^].


这篇关于如何为以下作业编写opengl代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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