Register  |  Login




Advertisement

Start Your Own Q&A Site

Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.

Question

Status: Open Points: 250 Time: 08:00 - Jul 24, 2007  

dumbgeek911

c++ opengl question

Hi! I need to write an opengl program that shows a view of the earth as seen from the moon.In particular : 1) the earth must be displayed as a sphere. 2)An image(i have a bmp file) of the earth must be mapped to the surface of the sphere. 3) Eerth must rotate on its axis(between north and south poles). 4) The light of the sun must fall on the surface of the earth.The other side of the earth must be dark. 5)Since the moon revolves around the earth every 30 days, the light cast by the sun on the earth(and the shadow where it is night) as seen from the moon must change. As far as the moon is concerned, the sun appears to "move around the earth" once every 30 days.
To fulfil these requirements i need to do the following.1)Adapt a piece of code.(will provide u with). 2)the bmp file i give u will need to be used. 3) use an appropriate rotation transformation to rotate the earth.Include a keyboard callback so the user can speed up or slow down the rotation of the earth. 4) u need to specify a distant light and adjust various parametres of the light to get a good effect. 5)apart from the rotation of the earth, the position of the sun should be moved to make the light and shadow on the surface of the earth change. I also need a report explaining the code. in particular explainning parts of the program dealing with yexyure mapping, the choice made about lighting.report needs to be about 1-2 pages typed length.

Categories

Answer Discussion
Tutorials

 

admin

Date:: Aug 22, 2007

Time:: 13:25

dumbgeek911, did you get your question solved?

If you did then please close this question and distribute the points. If you found the solution on your own, we would be very happy if you could explain it here for the sake other users having the same problem.

If you didn't get a solution to your problem, please leave a comment here to let the experts know that you're still looking for an answer.

Thanks,
The Quomon Admin Team

admin

Date:: Mar 04, 2009

Time:: 11:44

The question looks to be abandoned by the user who asked it. If no action is taken within 2 days, a Quomon Moderator will consider closing the question and distributing the points.

The Quomon Team

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Tutorials cannot be submitted until the Answer Discussion is complete.

Submit answers in the Answer Discussion area

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top Experts

View More

Rank

Expert

Points

1.

nidhi

10354

2.

oracleofDelphi

6493

3.

rcastagna

5596

4.

LAGM

4848

5.

PeterNZ

3487

6.

gonzalo

2840

7.

Mason

2770

8.

jgivoni

2303

9.

xarcus

1820

10.

Anpanman

917

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es