KöMaL - Középiskolai Matematikai és Fizikai Lapok
Sign In
Sign Up
 Magyar
Information
Contest
Journal
Articles

 

Problem I. 372. (March 2015)

I. 372. OpenGL is a platform-independent programming interface to display 3D objects. Many C programs are written for it, but other programming languages appearing in the contest rules of this journal, e.g., Lazarus or Visual Basic, are also used. Several references, videos and sample programs can be found on the Internet to learn its programming. It is worth using GLUT or other OpenGL toolkits available in the given programming language or environment.

Create an OpenGL application to simulate the path of a point-like object bouncing slowly within a cube. Your program should display the edges of the cube, and trace the object trajectory. The object should have a random initial velocity, and all collisions with the walls should be perfectly elastic. You should use perspective projection to display the 3D objects. The user should be able to zoom in or out, and there should be an option in which the ``camera'' is always directed toward the cube center.

You should submit in a compressed file i372.zip the documentation of your program (i372.txt, i372.pdf) and the necessary source files for compiling the program. The documentation should explicitly specify which programming language and environment, and which toolkits should be used to compile and run your program.

(10 pont)

Deadline expired on 10 April 2015.


Statistics:

2 students sent a solution.
10 points:Fényes Balázs.
3 points:1 student.

Our web pages are supported by:   Ericsson   Cognex   Emberi Erőforrás Támogatáskezelő   Emberi Erőforrások Minisztériuma   Nemzeti Tehetség Program    
MTA Energiatudományi Kutatóközpont   MTA Wigner Fizikai Kutatóközpont     Nemzeti
Kulturális Alap   ELTE   Morgan Stanley