Presented as the final project of the Computer Graphics course, Virtual City is a simple game in which the player can create a city, constructing streets, buildings, houses, parks and sculptures.
There are three viewing options in the game:
In Orthographic Camera, the player can draw the city plan, adding objects, tracing the streets and defining the texture, width, depth and height of houses and buildings. Some objects (like light poles and trees) are imported from 3D object files, and other simpler objects (such as houses and buildings) are created dynamically. In this mode you can also click and drag objects or remove them.
The Perspective Camera allows the player to view their city in three dimensions, rotating the camera and zooming using keyboard and/or mouse shortcuts.
In the Explorer mode the user can navigate the streets of his city through a camera in the first person, rotating the camera with the mouse and moving with the keyboard.
The game was developed in C++, using the OpenGL API, and can run on Linux, OS X and Windows computers.