Find Jobs
Hire Freelancers

Full volume rendering

$30-250 USD

Closed
Posted over 5 years ago

$30-250 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. There are two more extern variables: maxTransFunc and activeTransFunc. The former is set to 4 when you do volume rendering. The latter variable tells the EditorWindow what transfer function is to be edited at a time. You may want to use 4 radio buttons for each of them to indicate what is currently selected. The value of activeTransFunc must be set in the callbacks of the radio buttons. (You can also use menuItems instead of radio buttons for this purpose.) Only compute gradients and shade when the opacity is greater than some small value, like 0.1. For most datasets, densities of less than 30 do not return meaningful structures, just noise. When you choose the transfer function, you may set the opacity for densities < 30 to 0. This means you need to pull the alpha transfer function to 0 at densities you don’t want to consider. You may utilize the histogram to find out at what density ranges meaningful structures are.
Project ID: 18327090

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 $110 USD for this job
User Avatar
Hello, Hope you are doing well. I have gone through the project you just posted with name of - Full volume rendering with required skills of C Programming, C# Programming, C++ Programming, OpenGL, Software Architecture. As per my understanding I have understood the project and I can complete it for sure. Seems to be a very interesting project for me. But before going forward I would like to discuss few things with you on chat and I hope that is fine with you. I am waiting for your ping on chat.
$110 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Kent, United States
0.0
0
Member since Dec 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.