敦促寻求有关MSVC ++ 2008和OpenGL的帮助请求 [英] Urge for request of help with MSVC++ 2008 and OpenGL

查看:101
本文介绍了敦促寻求有关MSVC ++ 2008和OpenGL的帮助请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

急请MSVC ++ 2008和OpenGL提供帮助

大家好,
首先请允许我感谢您允许我在此论坛上注册,我的一个朋友向我推荐了它,因为我急需知道Microsoft Visual C ++ 2008和OpenGL概念的人的帮助.
一切始于几年前,当时我只学习了12门C ++和OpenGL基本级别的编程-那时我们使用MSVC ++ 2005和OpenGL函数等等做了一个简单的静态2players Tic-Tac-Toe.
从那以后,直到上周早些时候,我从未用过东西.学位,要做一个小项目,可悲的是(对我而言)成为通过他的课程的必须";
从那时起,我没有做过C ++或任何相关的工作,当我完成了有关该主题的最后一次实习时,请...我恳求像您一样的专家提供一些帮助-我也愿意学习,但是自从对我来说时间很短(在短短7天内,我必须将此事告知我的主管),我要求专业人士.帮助.

我将开始解释他对我和项目本身的需求;
我们拥有此MSVC ++ 2008 Express Edition(供学生免费使用;遗憾的是,我们无法使用企业版等),并且必须使用OpenGL库,因此,我们自己构建了一个四轮(四轮)底盘,可以实际移动3D环境;
{例如,如果我们按下前进键-所有4个轮子都应向前移动等等,以此类推.和W代表有线"(查看)}

我已经设法在另一个课程网站的帮助下只做一个单轮游戏,我首先发现,可悲的是没有任何论坛可以提出问题(nehe),这就是我在两天内设法完成的工作(试图记住所有事物的工作方式确实付出了很多努力,依此类推.).

链接:

Urge for request of help with MSVC++ 2008 and OpenGL

Hello everybody,
Please allow me first to thank you for letting me register on this forum , a friend of mine recommend it to me since I am in urgent need of help from somebody that knows Microsoft Visual C++ 2008 and OpenGL notions.
It all started few years back when I did just 12 courses of C++ and OpenGL basic level programming - and at that time we did a simple static 2players Tic-Tac-Toe using MSVC++ 2005 and OpenGL functions and so.
Since then I have never used there things untill earlier last week when a ''mean a$$'' proffesor told from m. degree to do a little project that will sadly (for me) be a ''must'' to pass his class ;
I haven''t done C++ or anything related since then , when I have done my last internship regarding this subject , and please ... I beg for some little help from experts like you are - I am also willing to learn but since the time for me is very short (in just 7 days I have to prezent this for my supervisor) I am requesting pro. help.

I will start to explain what he wanted from me and the project itself;
We have this MSVC++2008 Express Edition (for students-free to use; sadly we cannot use pro. enterprise etc versions) and we must use OpenGL libraries and so to build ourselves a 4 (four) wheel chassis that will actually move in a 3D environment ;
{ for example if we press Forward Key - all 4 wheels should moove forward and so on for Back Left and Right ; and W for wired''(view) }

I have managed myself to do just one single wheel with the help of another lessons website which I have found first that sadly does not have any forum to ask questions (nehe) and here it is what I have managed to do in 2 days (with really a lot of effort trying to remember all things how they worked and so on) .

Link:

https://www.rapidshare.com/files/1252899458/wheel_on_road.rar 


(大小1.7MB)

我还用作文档,只是为了通过以下链接查找有关该主题的一些信息:


(Size 1.7MB)

Also I have used as documentation just to find out some infos regarding the subject these following links :

http://ideone.com/KfikV



上面的线条说明了四个轮子必须如何同步移动和观察.
第二个也是最后一个部分实际上是一个应用程序,使用户可以使用诸如以下命令之类的移动命令来加载.txt文件:
move.txt
---------
7
W W W-表示前进,前进,前进
L-剩下一个
R-一右
*(P.S.只是一个例子...我不知道这是否正确解释).

请,愿意提供帮助的任何人,我真的需要一些支持,因为我的同事都没有得到这份任务,因此,除了像这里这样的专家之外,我没有人要问.

非常感谢您抽出时间阅读本文章,祝您假期愉快,也期待收到愿意帮助的每个人的答复.请

您的
H.Davidson



The upper lines explained how the 4 wheels must synchronously move and look .
The second and final part of this is actually the application to let the user to load a .txt file with moovement commands like :

move.txt
---------
7
W W W - means forward forward forward
L - one left
R - one right
*(P.S. it is just an example ...I have no idea if this is correctly explained) .

Please , anybody who is willing to help , I really need some support since none of my colleagues got this assignment therefore I have nobody to ask , except persons that are experts like here .

Thank you very much for your time regarding reading this , and I wish you a good holiday and also I am looking forward into hearing a reply from everybody who is willing to help . Please

Yours,
H.Davidson

推荐答案

''教授从m告诉.学位,要做一个小项目,可悲的是(对我而言)成为通过他的课程的必须";
从那时起,我没有做过C ++或任何相关的工作,当我完成了有关该主题的最后一次实习时,请...我恳求像您一样的专家提供一些帮助-我也愿意学习,但是自从对我来说时间很短(在短短7天内,我必须将此事告知我的主管),我要求专业人士.帮助.

我将开始解释他对我和项目本身的需求;
我们拥有此MSVC ++ 2008 Express Edition(供学生免费使用;遗憾的是,我们无法使用企业版等),并且必须使用OpenGL库,因此,我们自己构建了一个四轮(四轮)底盘,可以实际移动3D环境;
{例如,如果我们按下前进键-所有4个轮子都应向前移动等等,以此类推.和W代表有线"(查看)}

我已经设法在另一个课程网站的帮助下只做一个单轮游戏,我首先发现,可悲的是没有任何论坛可以提出问题(nehe),这就是我在两天内设法完成的工作(试图记住所有事物的工作方式确实付出了很多努力,依此类推.).

链接:
'' proffesor told from m. degree to do a little project that will sadly (for me) be a ''must'' to pass his class ;
I haven''t done C++ or anything related since then , when I have done my last internship regarding this subject , and please ... I beg for some little help from experts like you are - I am also willing to learn but since the time for me is very short (in just 7 days I have to prezent this for my supervisor) I am requesting pro. help.

I will start to explain what he wanted from me and the project itself;
We have this MSVC++2008 Express Edition (for students-free to use; sadly we cannot use pro. enterprise etc versions) and we must use OpenGL libraries and so to build ourselves a 4 (four) wheel chassis that will actually move in a 3D environment ;
{ for example if we press Forward Key - all 4 wheels should moove forward and so on for Back Left and Right ; and W for wired''(view) }

I have managed myself to do just one single wheel with the help of another lessons website which I have found first that sadly does not have any forum to ask questions (nehe) and here it is what I have managed to do in 2 days (with really a lot of effort trying to remember all things how they worked and so on) .

Link:
https://www.rapidshare.com/files/1252899458/wheel_on_road.rar 


(大小1.7MB)

我还用作文档,只是为了通过以下链接查找有关该主题的一些信息:


(Size 1.7MB)

Also I have used as documentation just to find out some infos regarding the subject these following links :

http://ideone.com/KfikV



上面的线条说明了四个轮子必须如何同步移动和观察.
第二个也是最后一个部分实际上是一个应用程序,使用户可以使用诸如以下命令之类的移动命令来加载.txt文件:
move.txt
---------
7
W W W-表示前进,前进,前进
L-剩下一个
R-一右
*(P.S.只是一个例子...我不知道这是否正确解释).

请,愿意提供帮助的任何人,我真的需要一些支持,因为我的同事都没有得到这份任务,因此,除了像这里这样的专家之外,我没有人要问.

非常感谢您抽出时间阅读本文章,祝您假期愉快,也期待收到愿意帮助的每个人的答复.请

您的
H.Davidson



The upper lines explained how the 4 wheels must synchronously move and look .
The second and final part of this is actually the application to let the user to load a .txt file with moovement commands like :

move.txt
---------
7
W W W - means forward forward forward
L - one left
R - one right
*(P.S. it is just an example ...I have no idea if this is correctly explained) .

Please , anybody who is willing to help , I really need some support since none of my colleagues got this assignment therefore I have nobody to ask , except persons that are experts like here .

Thank you very much for your time regarding reading this , and I wish you a good holiday and also I am looking forward into hearing a reply from everybody who is willing to help . Please

Yours,
H.Davidson


我没有看过您的源代码.下面是我的想法.
您的地形如何?它是简单的矩形平面吗?
如果它是简单的矩形平面,则可以创建一个具有4个圆柱体(轮胎)的盒子.这将代表正在行驶的车辆..那么您可以将其正确行驶吗?使用简单的glTranslate和glRotatef函数?
i havn''t looked your source code.. below is my thoughts.
how is your terrain ? is it simple rectangle plane ?
if it simple rectangle plane , you can create a box with 4 cylinders(tyre). this will represent the moving vehicle.. then you can move it right ? with simple glTranslate and glRotatef functions ?


关于轮子的同步;您应该查看OpenGL矩阵堆栈 http://content.gpwiki.org/index.php/OpenGL:Tutorials:Theory [ ^ ].这将使您可以将车轮分组在一起,以便仅执行一次平移和旋转即可同时移动和旋转所有车轮.

如果您仔细地考虑一下堆栈,则可以使用它,以便在将LEFT或RIGHT命令馈送到您的应用程序时,只有前轮偏航.

我从您的消息来源中看到基本代码来自无价的NeHe网站,但是您没有在参考文献中列出它.如果您错过了它,请查看 http://nehe.gamedev.net [
Regarding the syncing of your wheels; you should have a look at the OpenGL Matrix Stack http://content.gpwiki.org/index.php/OpenGL:Tutorials:Theory[^]. This will allow you to group your wheels together so that you only perform one translation and rotation to move and spin all wheels simultaneously.

If you think your stack through carefully, you can have it so that the only the front wheels yaw when LEFT or RIGHT commands are fed to your application.

I see from your source that the basecode is from the priceless NeHe site, but you do not list it among your references. In case you missed it, have a look at http://nehe.gamedev.net[^] tutorials; they saved mine and all my classmates asses in university when we had similar projects!

All the best with your project.

/Dave


这篇关于敦促寻求有关MSVC ++ 2008和OpenGL的帮助请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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