3D Web · Exercise 4 of 4 Previous
Advanced
Instance the rentals
2,000 rentals are drawn as 2,000 meshes: about 2,000 draw calls (the status bar shows it).
Draw them as one InstancedMesh named "rentals", at the same positions.
What Check tests
- The rentals are one InstancedMesh with 2,000 instances
- At most 2 draw calls per frame
- Rental 0 is at (-25, 0, -20) and rental 1999 at (24, 0, 19)
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.