3D Bouncing Balls using OpenGL


I have a small project need to be done in C++, using OpenGL library

I have done the project in 2D, and I need someone to convert it to 3D, with some little additions.

The project description is as follows:


Bouncing balls: Define a viewing cube, with a camera and perspective projection …

Step 1.

Generate a static sphere.

Step 2.

Generate a moving sphere in a random direction. The sphere should bounce on the viewing cube edges.

Step 3.

Generate 10 spheres with different colors moving in random directions and bouncing on the cube edges.

Step 4.

Detect the collision between the spheres and make them change direction after a collision.

Step 5.

Give different random speeds to the balls

Step 6.

When the users types a key on the keyboard, a random sphere inverses its moving direction.

Step 7.

If the user clicks on a ball it disappears.


I have implemented steps 1, 2, 3, 6 and 7 in 2D.

So I need someone to re-do it in 3D, so the balls are moving in a cube instead of a plane

In addition to doing steps 4 and 5

Important notes:

- I've attached the source code of my work for reference, you can continue from there or begin from scratch

- My work is done using Xcode 4.5.2, but you can use Eclipse or whatever. However, it should work on Xcode (IDE-independent)

- The project MUST be OS-independent, so I can build the same code either on Mac or Windows

- The code MUST be simple, easy-to-read, easy-to-understand and commented

- The expected time for doing the project is a week

- My way of doing steps 2, 6 and 7 contains some mistakes, it should be implemented in a better way.

Habilidades: Programação C++ , Gráficos de Computador, OpenGL, Arquitetura de software

Veja mais: xcode programming, xcode c programming, using re, programming with scratch, programming scratch, programming ide, os independent, opengl programming, opengl *, mac or windows for programming, ide programming, ide for programming, ide for c programming, eclipse programming, eclipse c programming, eclipse architecture, c programming ide, c 3d library, architecture define, 3d with 2d, 3d library, 3d architecture work, xcode ide, define mac os, xcode attached

Acerca do Empregador:
( 1 comentário ) hyattsville, United States

ID do Projeto: #6794609

Concedido a:


Hello, thanks for inviting me to bid on your project. I can implement a 3D bouncing balls for you as per your requirements. Thanks for considering me, Paul

$220 USD em 3 dias
(109 Comentários)

2 freelancers estão ofertando em média $221 para esse trabalho


A proposal has not yet been provided

$222 USD in 3 dias
(5 Comentários)