All Projects → cfsamson → Pixar_raytracer

cfsamson / Pixar_raytracer

Ported to Rust from https://mattwarren.org/2019/03/01/Is-CSharp-a-low-level-language/

Programming Languages

rust
11053 projects

Labels

Projects that are alternatives of or similar to Pixar raytracer

Multiple Nuxt Apps Example
Stars: ✭ 16 (-48.39%)
Mutual labels:  example
Chill Netcat
UDP-only netcat implementation with OCaml / MirageOS
Stars: ✭ 13 (-58.06%)
Mutual labels:  example
Pwa Example
A short example illustrating some essential steps for creating a progressive web app (PWA).
Stars: ✭ 28 (-9.68%)
Mutual labels:  example
Mjml React Example
mjml-react example project
Stars: ✭ 19 (-38.71%)
Mutual labels:  example
Haxejs
Documentation about using JavaScript with Haxe
Stars: ✭ 25 (-19.35%)
Mutual labels:  example
Ionic3 Angular43 Httpclient
Example of Ionic 3 and the new Angular 4.3 HTTPClient
Stars: ✭ 20 (-35.48%)
Mutual labels:  example
Scala Pet Store
An implementation of the java pet store using FP techniques in scala
Stars: ✭ 812 (+2519.35%)
Mutual labels:  example
Extending Tea
Example of an extension to The Elm Architecture
Stars: ✭ 30 (-3.23%)
Mutual labels:  example
Api Example
WIP: Just sample app with API
Stars: ✭ 12 (-61.29%)
Mutual labels:  example
Expo Chroma Key Camera
Live green-screen effect with Expo and THREE.js
Stars: ✭ 28 (-9.68%)
Mutual labels:  example
Simpleopenclsamples
Simple OpenCL Samples that Build with Khronos Headers and Libs
Stars: ✭ 22 (-29.03%)
Mutual labels:  example
Mean Angular5 Passport Authentication
Securing MEAN Stack (Angular 5) Web Application using Passport Authentication
Stars: ✭ 24 (-22.58%)
Mutual labels:  example
React Native Npm Version
Example of React-Native application with version from package.json and npm version bump.
Stars: ✭ 20 (-35.48%)
Mutual labels:  example
Example Render Callback
An example of sharing stateful logic across React components using the Render Callback (aka Function as Child) pattern
Stars: ✭ 17 (-45.16%)
Mutual labels:  example
Generals.io Node.js Bot Example
An example Node.js bot for generals.io. Learn more at http://dev.generals.io/api#tutorial
Stars: ✭ 28 (-9.68%)
Mutual labels:  example
Ansible Skeleton
The skeleton to create new ansible roles.
Stars: ✭ 5 (-83.87%)
Mutual labels:  example
React Redux Boilerplate Example
Stars: ✭ 15 (-51.61%)
Mutual labels:  example
Suicrux
🚀 Ultimate universal starter with lazy-loading, SSR and i18n. [not maintained]
Stars: ✭ 958 (+2990.32%)
Mutual labels:  example
Workcation
How to use Inertia.js to build a Vue.js frontend within a Ruby on Rails application
Stars: ✭ 28 (-9.68%)
Mutual labels:  example
Space rocks
Asteroids-like game made with Godot Engine 3.0.
Stars: ✭ 20 (-35.48%)
Mutual labels:  example

Port of the postcard sized pathtracer to Rust

rendered result

This repository hosts the code belonging to this Medium article: https://medium.com/@cfsamson/from-48s-to-5s-optimizing-a-350-line-pathtracer-in-rust-191ab4a1a412

I've added a branch called max_opt for PRs that try to optimize the code without caring about keeping similarities with the original. So far we've reduced runtime by another ~25% compared to the current master branch, so if you want the fastest version, or want to contribute to a branch where all changes that makes the code faster is accepted, checkout the max_opt branch.

Contribute

If you have any changes or suggestions, please file a PR. We're not looking to change the algorithms here but show some of the Rust constructs that help you write performant code.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].