Skip to content

About

3D Lego editor in Qt with a hand-written software renderer and shadow mapping. BMSTU IU7, semester 5.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Lego Constructor

BMSTU IU7, semester 5 — computer graphics coursework.

A 3D Lego-style building editor in Qt with its own software renderer: no OpenGL, the whole pipeline — projection, rasterisation, shadow mapping — is written by hand.

Structure

Path Contents
lego-course-work/renderer.* Rendering pipeline
lego-course-work/shadow_map.* Shadow mapping
lego-course-work/scene3d.* Scene, camera, interaction
lego-course-work/grid_system.h Build grid with distance-based fade
lego-course-work/model.* Model and its serialisation
lego-course-work/*element.h, brick*, plate*, rooftile.h Part types
lego-course-work/selection_manager.h Selecting and moving placed parts
lego-course-work/demo* Demo recording and playback
lego-course-work/tests Tests

Parts snap to a grid; models are saved and reloaded through model_serializer, and a demo mode records a build session and replays it.

Build

cd lego-course-work
qmake lego-course-work.pro && make

Stack

C++, Qt, software rendering

About

3D Lego editor in Qt with a hand-written software renderer and shadow mapping. BMSTU IU7, semester 5.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages