Find Jobs
Hire Freelancers

Full volume rendering using phong shading!

$10-30 USD

Closed
Posted over 5 years ago

$10-30 USD

Paid on delivery
1. Under the menu item with title ‘Volume Rendering’, create pull-down submenus with titles ‘Full Volume Rendering’. When it is selected, your program will use the transfer function values to generate result images. 2. You will need to implement Phong shading by yourself. Please initialize an appropriate light source position and intensity. For the colors with shading, make sure you don’t exceed 1.0 in each R,G,B. If you do, which can happen if you set ka+kd+ks>1.0, just clamp to 1.0. 3. You will need 4 transfer functions, one for each red, green, blue, and alpha (RGBA). For this purpose, use the extern global 4-element array transFunc in Application.cpp. It will hold the red, green, blue, and alpha transfer functions for your volume renderer. Now you have an array with four instances of a 256-member array, i.e., element k of the 2nd volume transfer function (the one for green) is transFunc[1][k]. Each transfer function will be drawn in a different color. You can set these colors in the extern array of floats, transFuncColor[4][3]. You can set the first triple (the one for red) to {1.0, 0.0, 0.0}, and the one for green, blue, and alpha to {0.0, 1.0, 0.0}, {0.0, 0.0, 1.0} and {1.0, 1.0, 1.0}, respectively.
Project ID: 18326855

About the project

1 proposal
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $35 USD for this job
User Avatar
I am the best one you can get, please consider me as one of your option. I won't disappoint you, will make sure your end product will be perfect and you won't waste your money.
$35 USD in 30 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
kent, India
5.0
3
Payment method verified
Member since Mar 10, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.