• Stars
    star
    703
  • Rank 64,412 (Top 2 %)
  • Language
    Rust
  • License
    Other
  • Created almost 3 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

πŸ•Ή A quick'n'dirty game sample using kajiya, physx-rs, and dolly

πŸ•ΉοΈ Cornell McRay t'Racing

A quick'n'dirty game sample using kajiya, physx-rs, and dolly.

mcray

System requirements

See the kajiya readme.

Building

Clone this repo to the same parent directory that kajiya is in:

kajiya/             <- root of the `kajiya` repository
cornell-mcray/      <- this repository

Make sure the bake bin in the kajiya folder is built:

cd kajiya
cargo build --release -p bake

Bake the meshes for cornell-mcray:

cd cornell-mcray
bake.cmd

^ replace bake.cmd with ./bake.sh on Linux.

Running

Make sure dxcompiler.dll / libdxcompiler.so is in the executable environment.

(You can grab it from kajiya and copy into cornell-mcray, or stash it somewhere in the system PATH)

Then run:

cargo run --release

Controls

  • WSAD - driving
  • Shift - nitro
  • B - spawn a box πŸ€·β€β™‚οΈ
  • Q - party mode 🎊

License

This contribution is dual licensed under EITHER OF

at your option.