raytracer-crystal alternatives and similar shards
Based on the "Misc" category.
Alternatively, view raytracer-crystal alternatives based on common mentions on social networks and blogs.
-
inflector.cr
Singularize, pluralize, camelize, etc (port from ActiveSupport) -
crystal-diff
A Crystal sequence differencing implementation -
burocracia.cr
burocracia.cr the dependecyless shard to validate, generate and format Brazilian burocracias such as CPF, CNPJ and CEP -
CrSerializer
Extensible annotation based serialization/deserialization library -
anyolite
Full mruby interpreter with simple bindings, allowing for easy scripting support in projects -
circuit_breaker
Implementation of the circuit breaker pattern -
crystal-web-framework-stars
Web frameworks for Crystal, most starred on Github -
atomic_write.cr
Library for writing or apppending files atomically -
message_verifier.cr
Verify and generate Rails ActiveSupport::MessageVerifier signed tokens
Get performance insights in less than 4 minutes
Do you think we are missing an alternative of raytracer-crystal or a related project?
README
Raytracer
Scenes
scenes/cornell_box.cr
[](images/cornell.png)
400x400px, 20000 samples / pixel, time: ~4h
scenes/light2.cr
[](images/light2.png)
800x400px, 10000 samples / pixel, time: 2h15m
scenes/teapot.cr
[](images/teapot_lambertian.png) [](images/teapot_metal.png) [](images/teapot_dielectric.png)
400x400px, 100 samples / pixel, no lights, 2464 triangles with interpolated normals, time: 64s, 60s, 120s
The cube map in this example is "Yokohama 3" by Emil "Humus" Persson, licensed under CC BY 3.0
scenes/minecraft.cr
[](images/minecraft.png)
800x400px, 100 samples / pixel, no lights, time: 410s
scenes/fractal1.cr
[](images/fractal1.png)
400x400px, 5 samples / pixel, no lights, time: 3m10s
scenes/fractal2.cr
[](images/fractal2.png)
800x400px, 3 samples / pixel, no lights, time: 18s
scenes/fractal5.cr
[](images/fractal5.png)
400x400px, 5 samples / pixel, no lights, time: 30s
[WIP] scenes/sponza.cr
[](images/sponza.png)
400x400px, 5000 samples / pixel, 1 light, time: 13h
Model: Crytek Sponza
[WIP] scenes/sponza_phong.cr
[](images/sponza_phong.png)
400x400px, 5 samples / pixel, 1 light, phong lighting, time: 37s
Model: Crytek Sponza without Banner
scenes/metaball.cr
[](images/metaball.png)
800x400px, 10 samples / pixel, no lights, time: 5m
The cube map in this example is "Yokohama" by Emil "Humus" Persson, licensed under CC BY 3.0
In order to run this example:
- Download the set of cubemaps
- Unzip the folder
- Convert each .jpg to .png
e.g. using
mogrify -format png *.jpg
etc. (convert
is part of the imagemagick) - Copy all six png files (
negx.png
,negy.png
,negz.png
,posx.png
,posy.png
,posz.png
) tocube_maps/Yokohama
- Mirror
negx.png
, e.g. usingconvert negx.png -flop negx.png
Resources
- Raytracing in One Weekend
- Raytracing: the Next Week
- Raytracing: the Rest of your Life
- Modeling with Distance Functions
- Distance Estimated 3D Fractals (I-V)
Models
teapot.obj
(Utah teapot, used byscenes/teapot1.cr
)
*Note that all licence references and agreements mentioned in the raytracer-crystal README section above
are relevant to that project's source code only.