Code covered by the BSD License  

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
raytracer

5.0
5.0 | 4 ratings Rate this file 19 Downloads (last 30 days) File Size: 358 KB File ID: #25974 Version: 1.7
image thumbnail

raytracer

by

 

29 Nov 2009 (Updated )

Simple ray-tracing engine for Matlab.

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.5 (R2007b)
MATLAB Search Path
/
/raytracer-utils
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
20 May 2016 Yong Da

Yong Da (view profile)

 
18 Dec 2014 Manimozhi Iyer

i want to do ray tracing in tumer texure using near field infrared. how can i find the the depth or volume of the tumeor

19 Jul 2013 Jack_111

Thank you for this very nice work, But I want to ask whether you have new ray tracer which support the relfection, the refraction and the shadows.

09 Aug 2011 Brandon

Brilliant! Thank you for your work!

30 Nov 2009 Nikolay Chumerin

Updated tags.

Comment only
Updates
30 Nov 2009 1.1

Added a link to demo videos.

30 Nov 2009 1.2

Updated tags.

03 Dec 2009 1.3

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

03 Dec 2009 1.4

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

04 Dec 2009 1.5

description updated (added link to demo videos).

11 May 2016 1.7

- 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.

11 May 2016 1.7

Fixed URL to myRaytracer webpage.

Contact us