7

Example in Computer Graphics

In this chapter, we introduce a simple computer graphics algorithm called marching cubes. The algorithm is a simple but a very data-intensive operation depending on the data set. This chapter also discusses how to implement it in plain MATLAB, how to improve speed performance in MATLAB, and how to accelerate the speed using c-mex and CUDA.

Keywords

Computer graphics algorithm; marching cubes algorithm; isosurface

7.1 Chapter Objectives

In this chapter, we introduce a simple computer graphics algorithm called marching cubes. The algorithm is a simple but very data-intensive operation depending on the data set. In this chapter, we

• Introduce the marching cubes algorithm.

• Implement it in plain MATLAB.

• Improve ...

Get Accelerating MATLAB with GPU Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.