diff --git a/libs/filamentjs/docs/build.py b/libs/filamentjs/docs/build.py index 1da4783b0a..95fdc14dd5 100755 --- a/libs/filamentjs/docs/build.py +++ b/libs/filamentjs/docs/build.py @@ -34,8 +34,9 @@ PREAMBLE = """ The markdown source for this tutorial is not only used to generate this website, it's also used to generate the JavaScript for the above demo. We use a small Python script for weaving (generating HTML) and tangling -(generating JS). This ensures that the tutorial is kept up to date and -that the code is highly readable. +(generating JS). In the code samples, you'll often see +`// TODO: `. These are special markers that get replaced by +subsequent code blocks. """ # The pipenv command in the shebang needs a certain working directory. @@ -213,6 +214,6 @@ if __name__ == "__main__": copy_built_file('samples/web/public/pillars_2k/pillars_2k_skybox.ktx') copy_built_file('samples/web/public/pillars_2k/pillars_2k_ibl.ktx') copy_demo_filamat('bakedColor', 'triangle') - copy_demo_filamat('sandboxLit', 'redball') + copy_demo_filamat('sandboxLit', 'plastic') if len(sys.argv) > 1 and sys.argv[1] == 'serve': spawn_local_server() diff --git a/libs/filamentjs/docs/tutorial_redball.md b/libs/filamentjs/docs/tutorial_redball.md index 0d09c84c55..5ce2e8d38e 100644 --- a/libs/filamentjs/docs/tutorial_redball.md +++ b/libs/filamentjs/docs/tutorial_redball.md @@ -1,19 +1,20 @@ ## Create materials and textures -TODO: Describe how to use `matc` and `mipgen` to create `simple.filamat` and the two `pillars_2k` +TODO: Describe how to use `matc` and `cmgen` to create `plastic.filamat` and the two `pillars_2k` KTX files. ## Start your project -Create a text file called `redball.html` and fill it with the same HTML you used in the -[previous tutorial]() but change the last `