In Progress

Non-Axis-Aligned Reflection

create an OpenGL, C++ application that will simulate a ball bouncing of a surface that is not aligned with a major axis.

Students will be given a terrain class that has a sample surface created and methods to get the height and normal at any point.

Students will create a simulation where the user will use the arrow keys to change the ball’s velocity. The application will update the ball’s velocity and position based on user input and gravity. When the ball collides with the surface, the incident velocity will be reflected about the surface normal to produce the final or reflected velocity. The program will be written so that the ball loses a certain percentage of its velocity every time it hits the surface.

program provided and most of code done. need code in the case WM_Timer area that is marked finished being modified correctly. I had the ball moving once but wouldnt bounce right so i changed what i added and now i cant get the ball to move at all and its due tomorrow so i need help again.


instructions provided

due 10/14 6pm

Skills: C++ Programming, OpenGL

See more: reflection programming, programming reflection, programming methods, opengl programming, opengl help, velocity, incident, loses, opengl ball bouncing, ball opengl, programming students, bouncing ball opengl code, bouncing opengl, simulation based, application simulation, opengl sample code, opengl surface, bounce opengl, code opengl, opengl moving ball, bounce ball opengl, ball bounce, bouncing ball code opengl, bounce ball, opengl code bouncing ball

About the Employer:
( 5 reviews ) no where, United States

Project ID: #2563635

Awarded to:


I already have this.

$30 USD in 1 day
(0 Reviews)