GitXplorerGitXplorer
n

ray-tracing-iow-rust

public
82 stars
6 forks
6 issues

Commits

List of commits on branch develop.
Verified
a936d7f15a0adfbcb334a084333be5988f6f0185

update author email

nnwtgck committed 3 years ago
Verified
e3d8cc5eb6bec1d43d81e12297e4d625ab6e2457

Bump structopt from 0.3.7 to 0.3.23 (#31)

ddependabot[bot] committed 3 years ago
Verified
97dcc5424689510368b2385b723d0ceb1a32df69

Upgrade to GitHub-native Dependabot (#27)

ddependabot-preview[bot] committed 3 years ago
Verified
cd3c2c4cb931ca3da3da6784b2cc6786b69999d5

Bump rayon from 1.4.1 to 1.5.0 (#20)

ddependabot-preview[bot] committed 4 years ago
Verified
65426701b44239b7bccc0967276a1e477e0eb348

Bump rayon from 1.4.0 to 1.4.1 (#19)

ddependabot-preview[bot] committed 4 years ago
Verified
6bc37b70d55be7c23982befb1f3d5d262babbb01

Bump rayon from 1.3.1 to 1.4.0 (#18)

ddependabot-preview[bot] committed 4 years ago

README

The README file for this repository.

ray-tracing-iow

CircleCI

Ray Tracing in One Weekend written in Rust

Ray Tracing Animation

Features

  • Written in Rust
  • Parallel processing by Rayon
  • Animation
  • Reproducible random generation

Usage

One image generation

Create one image.

cargo run --release -- image.ppm

Animation generation

Here is very small video generation.

# Generate .ppm files
cargo run --release -- --width=60 --height=40 --anime-out-dir-path=my_anime
# Create anime.mp4
cd my_anime
ffmpeg -i anime%08d.ppm -c:v libx264 -vf fps=25 -pix_fmt yuv420p anime.mp4

Other options

ray-tracing-iow 0.1.0
Ryo Ota <nwtgck@gmail.com>
Ray Tracing in One Weekend in Rust

USAGE:
    ray-tracing-iow [OPTIONS] [file]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --anime-dt <anime-dt>                        Animation dt [default: 0.03]
        --anime-max-t <anime-max-t>                  Animation max time [default: 6.0]
        --anime-min-t <anime-min-t>                  Animation minimum time [default: 0.0]
        --anime-out-dir-path <anime-out-dir-path>    Animation output directory
        --height <height>                            Image height [default: 400]
        --min-float <min-float>                      Minimum float number [default: 0.001]
        --n-samples <n-samples>                      Number of samples [default: 10]
        --random-seed <random-seed>                  Random seed [default: 101]
        --width <width>                              Image width [default: 600]

ARGS:
    <file>    Output file path

Related projects

Here are related projects.