/povray-bitmap-lego

Experiments with POV-Ray where everything is a Lego.

Primary LanguagePOV-Ray SDL

POV-Ray Bitmap Lego

Experiments with POV-Ray where everything is a Lego.

The following piece is a Lego is used for each 3D model.

Default Lego piece

3D models in the scene works pretty much like bitmap images, they are represented by an 2D array where each cell is an index to a colors palette.

Sprite Letter

2D array models are interpreted by a custom function that uses Lego and colors palette for rendering.

Render