Command Palette

Search for a command to run...

Hectal
Phase 6: Textures and Environments
3D Web · Exercise 4 of 4 Previous
Intermediate

Build a tyre with a tread

Build a torus named tyre (radius 0.33, tube 0.022) with the rubber colour map and normal map from /data/3d/textures/.

Set the colour spaces correctly, make both maps repeat, and tile them 30 times round and 2 across.

What Check tests

  1. A torus named tyre has a colour map and a normal map
  2. The colour map is sRGB, the normal map is not
  3. Both maps use RepeatWrapping
  4. Both maps repeat 30 x 2

Stuck? One hint at a time

The solution unlocks after your first Check. Try first: that is where the learning happens.

Runs in your browser. Your code is saved here.

Your page

Press Run to see the page.

Console

Nothing logged yet.