fbx-viewer icon indicating copy to clipboard operation
fbx-viewer copied to clipboard

FBX viewer. Demo (and test) of `fbxcel` and `fbxcel-dom` crates.

fbx-viewer

Build Status

DEPRECATION NOTICE

This demo application is no longer maintained, so you should be very careful if you wanted to run this.

Screenshots

Usage

Prerequisite

  • Vulkan
  • OS
    • The developer tested the viewer on Linux machine.
    • The viewer is not tested on Mac and Windows. Feel free to report if some problems happen on your platform.

Recommended resources

Run the viewer

Run the command below:

$ cargo run -- PATH_TO_FBX_FILE.fbx

For who want to debug:

$ RUST_LOG=fbx_viewer=trace RUST_BACKTRACE=1 VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_standard_validation cargo run -- PATH_TO_FBX_FILE.fbx

Move the camera

  • Move
    • 0: Reset the camera position.
    • W: Move tha camera forward.
    • A: Move tha camera left.
    • S: Move tha camera backward.
    • D: Move tha camera right.
    • Shift-W: Move tha camera upward.
    • Shift-S: Move tha camera downward.
  • Rotate
    • Ctrl-0: Reset the camera angle.
    • Ctrl-W: Rotate the camera up.
    • Ctrl-A: Rotate the camera left.
    • Ctrl-S: Rotate the camera down.
    • Ctrl-D: Rotate the camera right.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.