-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from shawnscode/0.5.0
0.5.0
- Loading branch information
Showing
52 changed files
with
275 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,18 +25,18 @@ The asset workflow comes with the version 0.0.5. During the developent, the asse | |
|
||
Currently, we are supporting assets with: | ||
|
||
1. Transmission files like `.gltf`, `.blend`, `.fbx`, etc.. through [assimp](https://github.com/assimp/assimp). | ||
1. Transmission files like `.glTF`, `.blend`, `.fbx`, etc.. through [assimp](https://github.com/assimp/assimp). | ||
* Notes that not only `Mesh`, but also the nodes will be imported as `Prefab` for scene creation. | ||
2. Texture files like `.PSD`, `.PNG`, `.JPEG`, `.BMP`, etc.. through [PvrTexTool](https://community.imgtec.com/developers/powervr/tools/pvrtextool/) and [crunch](https://github.com/BKcore/crunch-osx). | ||
2. Texture files like `.psd`, `.png`, `.jpeg`, `.bmp`, etc.. through [PvrTexTool](https://community.imgtec.com/developers/powervr/tools/pvrtextool/) and [crunch](https://github.com/BKcore/crunch-osx). | ||
* Notes that texture files could be compressed into `PVRTC`, `ETC2` or `S3TC` formats based on platform. | ||
3. Universal shader files through [SPIRV](https://www.khronos.org/registry/spir-v/) are also in planning, and should be ready in next few releases. | ||
|
||
The assets manipulation codes are placed under [crayon-tools](), checks out the repository for further details. | ||
The assets manipulation codes are placed under [crayon-tools](https://github.com/shawnscode/crayon-tools), checks out the repository for further details. | ||
|
||
### Quick Example | ||
For the sake of brevity, you can als run a simple and quick example with commands: | ||
|
||
``` sh | ||
git clone [email protected]:shawnscode/crayon.git | ||
cargo run --example modules_3d_prefab | ||
git clone [email protected]:shawnscode/crayon.git && cd crayon-examples | ||
cargo run --bin prefab | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[package] | ||
name = "crayon-examples" | ||
version = "0.0.0" | ||
authors = [ "Jingkai Mao <[email protected]>" ] | ||
|
||
[dependencies] | ||
crayon-testbed = { path = "testbed" } | ||
|
||
[[bin]] | ||
name = "render_texture" | ||
path = "core_render_texture.rs" | ||
|
||
[[bin]] | ||
name = "texture" | ||
path = "core_texture.rs" | ||
|
||
[[bin]] | ||
name = "input" | ||
path = "core_input.rs" | ||
|
||
[[bin]] | ||
name = "imgui" | ||
path = "modules_imgui.rs" | ||
|
||
[[bin]] | ||
name = "prefab" | ||
path = "modules_prefab.rs" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
examples/video_render_texture.rs → crayon-examples/core_render_texture.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
examples/testbed/Cargo.toml → crayon-examples/testbed/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "crayon-testbed" | ||
version = "0.1.0" | ||
version = "0.0.0" | ||
authors = ["maojingkai <[email protected]>"] | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,16 +2,16 @@ | |
name = "crayon-3d" | ||
version = "0.1.0" | ||
authors = ["Jingkai Mao <[email protected]>"] | ||
description = "An embeddable 3d module of crayon." | ||
description = "Just another 3d module." | ||
repository = "https://github.com/shawnscode/crayon" | ||
license = "Apache-2.0" | ||
keywords = ["crayon", "game-dev", "scene", "3d"] | ||
categories = ["multimedia", "game-engines"] | ||
|
||
[dependencies] | ||
crayon = { path = "../../", version = "0.5.0" } | ||
serde = { version = "1.0.70", features = ["serde_derive"] } | ||
failure = "0.1.1" | ||
serde = { version = "1.0.74", features = ["serde_derive"] } | ||
failure = "0.1.2" | ||
|
||
[dev-dependencies] | ||
rand = "0.5.4" | ||
rand = "0.5.5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.