This project is an ongoing Rust implementation of The Ray Tracer Challenge book.
This project is using the left-handed system just like the book, however one major difference is that I used the +Z convention for the camera unlike the book which is using the -Z one.
Tests are written in Cucumber using cucumber-rs.
Gherkin scenarios are copied from the given scenarios in the book. I only adapted the values in some steps due to my choice of diverging from the -Z convention, all the rest is strictly identical.
You can get full support by simply installing the official Cucumber extension
- Close Zed
- Install the Cucumber Language Server globally (with Node version > 18)
npm install -g @cucumber/language-server
- Clone this repository (the published extension is outdated)
- Reopen Zed then
Extensions->Install Dev Extension-> Select the root path ofzed-extension-cucumber - Cucumber should be fully working now, giving you Gherkin syntax highliting,
Go to definition,Define in ...and other nice features
PATH contains the new bin folder location otherwise Zed won't be able to figure it out and will default to downloading its own broken version of the cucumber language server.
Not a single line of code was written by an LLM, everything has been proudly written by my own hands (except the Gherkin, of course).
