Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Scientific Visualization Project 2 Introduction   In this assignment you will implement the basic ‘X-Ray’ and ‘MIP’ volume rendering using ray casting

Scientific Visualization Project 2 Introduction   In this assignment you will implement the basic ‘X-Ray’ and ‘MIP’ volume rendering using ray casting

Computer Science

Scientific Visualization

Project 2

Introduction

 

In this assignment you will implement the basic ‘X-Ray’ and ‘MIP’ volume rendering using ray casting.

 

Required Tasks (Implementing tasks 1-3 will give you full credits at 100 points)

 

1. On the main menu bar, add a menu item with title ‘Volume Rendering’ and create pull-down submenus with titles ‘Read Volume File’, ‘X-Ray’, ‘MIP’;

 

2. For ‘Read Volume File’, load the .vol datasets. Please download the volume datasets from the course webpage, as well as the code (VolumeRendering_Code.cpp) of the functions for loading vol files and computing intersections of a ray and a volume bounding box.

 

3. Show your volume rendering results in the rendering window for ‘X-Ray’ and ‘MIP’ rendering. A volume rendering should only be initiated when the user selects the ‘X-Ray’ or ‘MIP’ menu items. To keep things simple, the volumes will be restricted to cubic volumes, and you will only need to perform orthographic projections.

 

Recommended Tasks (Implementing 4-5 will give you extra credits at 40 points)

 

Your program will support scaling and rotation. You should implement scaling and rotation with correct coordinate transform from volume data coordinates to world coordinates.

 

4. Use fltk sliders to control rotation. Add three sliders in your GUI for rotate_x, rotate_y and rotate_z. You should study how to use slider yourself from fltk documents. Each slider returns the angle of rotation along x, y or z coordinate axis. Use them in your coordination transform.

 

5. Use another slider to control image size of your results. You can use this to control the resolution of your image (delta_i and delta_j), while you fix the positions of image plane and volume in your world coordinate system.

 

After change rotation angles and image size, select the two menu items of ‘X-Ray’ and ‘MIP’ to render the new results.

Notes

This project assumes independent work. You cannot work with others for coding, but you may have discussion with others. Please try to start as early as possible.

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions