+
Skip to content

clairekth/Snowman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snowman

Master 1 Computer Science project aimed at creating a snowman in c++ starting from scratch using raymarching.

The constraints are:

  • The snowman must be created using only the standard library
  • The rendering time must be less than 1 hour

The snowballs making up the structure of the snowman use Brownian motion to create a more natural look.

We also used the smooth-union function to create a smooth transition between the snowballs and other shapes.

Authors

Credits

  • Inigo Quilez for the smooth-union function and the distance functions
  • Daniel Shiffman for the Brownian motion algorithm
  • Dmitry Sokolov for the bootstrap code

Getting Started

Prerequisites

  • C++ compiler
  • CMake
  • Make

Installing and running

git clone --recurse-submodules https://github.com/clairekth/Snowman.git
cd Snowman
mkdir build && cd build
cmake ..
make && ./snowman

Result

Snowman

1280x720 resolution rendered in 48.5 seconds on a 3.6GHz Intel Core i7-9700K CPU

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载