raytracer

Simple ray-tracing engine for Matlab.
3,8K download
Aggiornato 11 mag 2016

Visualizza la licenza

The proposed raytracer allows to create simple synthetic scenes and render them from different camera positions. Some properties of the objects (position, orientation, size) can be defined as constants or as functions of time. The actual engine supports texture mapping and antialiasing (shadows, reflections and refractions are not supported yet).
The raytracer might be useful for researchers working in the computer vision domain, because it not only renders images but also can compute ray hit point's absolute and relative (wrt objects) positions and indices (which face of which object has been hit). This feature allows estimation of disparity (horizontal and vertical) map and motion field.
Few videos, demonstrating some properties of the raytracer can be found on my web-site: https://sites.google.com/site/chumerin/myprojects/myraytracer

Cita come

Nikolay Chumerin (2025). raytracer (https://it.mathworks.com/matlabcentral/fileexchange/25974-raytracer), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2007b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.7.0.0

- myRatracer works in Octave (haven't checked this before, but now it's true).
- fixed a nasty bug in disparity estimation (thanks to Jan Sochman).
- added a demo script raytracer_demo5.m demonstrating the correctness of the disparity maps.
Fixed URL to myRaytracer webpage.

1.5.0.0

description updated (added link to demo videos).

1.4.0.0

Added function showimage.m which shows an image even if the Image Processing Toolbox is not available (thanks to Chuck Rino).

1.3.0.0

added missed m-file rotation_matrix_3d.m (thanks to Christian Bouville)

1.2.0.0

Updated tags.

1.1.0.0

Added a link to demo videos.

1.0.0.0