Skip to content
ํ”„๋กœ์ ํŠธ

์†Œ๊ฐœ

๐Ÿ•น kajiya, physx-rs, dolly๋ฅผ ์‚ฌ์šฉํ•ด ๋น ๋ฅด๊ฒŒ ๋งŒ๋“  ๊ฒŒ์ž„ ์ƒ˜ํ”Œ

๊ฒŒ์ž„ ๋ฐ ์—๋ฎฌ๋ ˆ์ด์…˜

์ด ์ˆ˜์น˜๋ฅผ ์ธก์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•

์ธก์ •๋œ ์Šคํƒ€ ์ฆ๊ฐ€

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
๊ธฐ๋ก ์ˆ˜์ง‘ ์ค‘

์„œ๋กœ ๊ฒน์น˜๋Š” ๊ธฐ๊ฐ„์˜ ์ˆœ์ฆ๊ฐ€๋Ÿ‰์ด๋ฉฐ ์ผ๋ณ„ ํ•ฉ๊ณ„๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. ์ธก์ •๊ฐ’์ด ์—†์œผ๋ฉด ๋น„์›Œ ๋‘ก๋‹ˆ๋‹ค. ์Šคํƒ€๋Š” ๊ด€์‹ฌ๋„๋ฅผ ๋‚˜ํƒ€๋‚ด๋ฉฐ ํ’ˆ์งˆ์„ ๋ณด์žฅํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

README.md

Original

๐Ÿ•น๏ธ 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.

๊ด€๋ จ ํ”„๋กœ์ ํŠธ ์‚ดํŽด๋ณด๊ธฐ

๋ถˆ๋Ÿฌ์˜ค๋Š” ์ค‘โ€ฆ