Skip to content

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

License

Notifications You must be signed in to change notification settings

h3r2tic/cornell-mcray

Repository files navigation

🕹️ 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.

About

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

Resources

License

Stars

Watchers

Forks