3D Room implemented with C++ and OpenGL (easy demo).
This programming job is written in C++programming language and OpenGL graphics library. In this programming job, with the help of some basic computer graphics knowledge, the 3D Room is built, and the model can complete some simple interactions.
Key 1: Turn on/off the room light.
Key 2: Turn the ceiling light on/off.
Key 3: Turn on/off the Christmas tree lights
Key 4: control the rotation of the Christmas tree.
Press key 5: when 1-3 lights are off, mice can be led out.
Key 6: Turn the computer screen on/off.
Press ESC to exit the program