Skip to content

Commit

Permalink
gitpod config typo + readme polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
ssloy committed Aug 25, 2020
1 parent ce5f6c7 commit 52b9521
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ tasks:
cmake .. &&
make &&
./tinyrenderer ../obj/diablo3_pose/diablo3_pose.obj ../obj/floor.obj &&
convert framebuffer.tga > framebuffer.png &&
convert framebuffer.tga framebuffer.png &&
open framebuffer.png &&
cd ..
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tiny Renderer or how OpenGL works: software rendering in 500 lines of code

**Check [the wiki](https://github.com/ssloy/tinyrenderer/wiki) for the detailed lessons.**
<font size="6">**Check [the wiki](https://github.com/ssloy/tinyrenderer/wiki) for the detailed lessons.**</font>

## compilation
```sh
Expand All @@ -12,9 +12,11 @@ cmake .. &&
make &&
./tinyrenderer ../obj/diablo3_pose/diablo3_pose.obj ../obj/floor.obj
```
The rendered image is saved to `framebuffer.tga`.

You can open the project in Gitpod, a free online dev evironment for GitHub:
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/ssloy/tinyrenderer)

On open, the editor will compile & run the program as well as open the resulting image in the editor's preview.
Just change the code in the editor and rerun the script (use the terminal's history) to see updated images.

Expand Down

0 comments on commit 52b9521

Please sign in to comment.