<!-- Allow this file to not have a first line heading -->
<!-- markdownlint-disable-file MD041 -->
<!-- inline html -->
<!-- markdownlint-disable-file MD033 -->
<div align="center">
# ð¹ï¸ Cornell McRay t'Racing
A quick'n'dirty game sample using [`kajiya`](https://github.com/EmbarkStudios/kajiya), [`physx-rs`](https://github.com/EmbarkStudios/physx-rs), and [`dolly`](https://github.com/h3r2tic/dolly).
![mcray](https://user-images.githubusercontent.com/16522064/146706174-dabbe36a-d846-4550-a6d6-35aa9047c4f6.gif)
</div>
## System requirements
See [the `kajiya` readme](https://github.com/EmbarkStudios/kajiya/#platforms).
## 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
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or <http://www.apache.org/licenses/LICENSE-2.0>)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>)
at your option.
快撑死的鱼
- 粉丝: 1w+
- 资源: 9149
最新资源
- asp.net 原生js代码及HTML实现多文件分片上传功能(自定义上传文件大小、文件上传类型)
- whl@pip install pyaudio ERROR: Failed building wheel for pyaudio
- Constantsfd密钥和权限集合.kt
- 基于Java的财务报销管理系统后端开发源码
- 基于Python核心技术的cola项目设计源码介绍
- 基于Python及多语言集成的TSDT软件过程改进设计源码
- 基于Java语言的歌唱比赛评分系统设计源码
- 基于JavaEE技术的课程项目答辩源码设计——杨晔萌、李知林、岳圣杰、张俊范小组作品
- 基于Java原生安卓开发的蔚蓝档案娱乐应用设计源码
- 基于Java、Vue、JavaScript、CSS、HTML的毕设设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈