View License

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

» Watch video

Highlights from
Ray Tracing Volume Renderer

5.0 | 1 rating Rate this file 19 Downloads (last 30 days) File Size: 7.18 MB File ID: #37381 Version: 1.0
image thumbnail

Ray Tracing Volume Renderer



Renders a 3D volume according to a intensity indexed color map and opacity map via ray tracing.

| Watch this File

File Information

This is a demo to use a c/mex volume renderer. The 3D volume is rendered by a ray tracing algorithm.

Required Products MATLAB
MATLAB release MATLAB 7.12 (R2011a)
Other requirements Windows
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
03 Nov 2016 Sail Yang

Error in ==> volumeRenderDemo at 4
mex -g 'ray_trace_mex.c';)

Change the function 'round' to another name, for example, I changed it to 'nearround'. Then it works.

Comment only
18 Dec 2013 Luke Xie

Luke Xie (view profile)

nice work

12 Mar 2013 Ramiro Massol

hi Scott, I've no idea how to bring ray_trace_mex.c into my workspace. I also don't seem to have mex compilers in my computer. Any suggestions?

Comment only
31 Jan 2013 Scott Robertson

Line 4 just compiles the mex code. Is ray_trace_mex.c in your current workspace? have you setup a compiler yet (if not, run "mex -setup)? It seems like you are unable to run the demo because you are unable to compile the code, not because of a problem with the code. Thanks for your comment.

Comment only
24 Jul 2012 Ramiro Massol

Your code does not work. I got an error on line 4 (??? Error using ==> mex at 208
Unable to complete successfully.

Error in ==> volumeRenderDemo at 4
mex -g 'ray_trace_mex.c';)

Comment only

Contact us