Find Jobs
Hire Freelancers

Full volume rendering

$30-250 USD

Zaprt
Objavljeno pred več kot 5 leti

$30-250 USD

Plačilo ob dostavi
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.
ID projekta: 18327090

Več o projektu

1 ponudba
Projekt na daljavo
Aktivno pred 5 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
1 freelancer je oddal ponudbo s povprečno vrednostjo $110 USD za to delo
Avatar uporabnika
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 v 3 dneh
0,0 (0 ocen)
0,0
0,0

O stranki

Zastava UNITED STATES
Kent, United States
0,0
0
Član(ica) od dec. 10, 2018

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.