Skip to content

komugi1211s/RendererForFun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Renderer for fun (Tiny Renderer Implementation)

ソフトウェアレンダラーの仕組みの学習、兼遊びの一環として最小限のライブラリを用いて書かれたレンダラー。
このレンダラはGithubで公開されているコースのTinyRenderer - software rendering in 500 lines of code を元に作られています。
基本的にコードはこのコースに倣って書かれています。

現状の外部依存:

  • stb_truetype.h: 文字のレンダリングに使用しています。
  • stb_image.h: テクスチャのロードに使用しています。

Build

Linuxの場合 コンパイラは必要に応じてbuild.sh内を書き換えて下さい。

git clone https://github.com/komugi1211s/RendererForFun.git
cd RendererForFun
./build.sh

Windowsの場合 MSVCを使います。Visual Studioの開発者用コマンドプロンプトで実行して下さい。

git clone https://github.com/komugi1211s/RendererForFun.git
cd RendererForFun
./build.bat

どちらも/dist内にコンパイルされたファイルを作ります。

About

Renderer For Fun

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages