Upload
christian-tonn
View
235
Download
1
Tags:
Embed Size (px)
DESCRIPTION
Volume Rendering Tutorial
Citation preview
Docum18.12.2
VolumDevelo
1. Intr To visuameasurFREAK large vovisualisadigital bpossiblemethodinforma
2. Use
Fig. 1 Main wiRight si
mentation: C011 / Englis
meRendoper: Chris
oduction
alize volumrements or b software fr
olume data ation of diffe
building mode to represes in a singletion about t
er interfac
VolumeRen
ndow: debar:
Caren-Mariash: August 2
dering (stian Tonn
– the aim
e measurembuilding phyramework. Vsets. The nerent resultdel (overlayent several ve model andthe building
ce
ndering use
PerspecGLSL sh
Jörß 2012
(Freak Cn
ms of Vol
ments (for eysics simulaVolume renovel aspect
ts and the ay). In this covolume mead to overlay model.
r interface
ctive view hader param
Client V
umeRend
example froations), a vodering is ant of the con
ability to evaontext volumasurementsy these with
meters
V1)
dering
om ultrasounolume renden establisheceived app
aluate themme renderings and other
h the model
nd tomograerer was imed set of tecroach lies ininteractive
g is especiaimage-prodto provide p
aphy, radar mplemented chniques fon the combly in the conally useful foducing meaplanners wi
in the first r visualizingined ntext of a or making it
asurement ith better
g
t
3. Tuto In this tucalculatpresentDZT an 1. Beg2. Loa3. Onc
butt4. Loa
(“LK For eacthe releimportefunction
Fig. 2 3
3.1. Ad After thethis it mexampleencomp
orial
utorial, we wtion, and sutation variand DAT+PAR
gin by startind the 3D m
ce the data on. d the volum
KG_Volume
ch volume dvant sub-md data is no
n in the resp
3D model w
djusting th
e data has may be diffic
e shows thepasses the s
will overlay bsequently
nts. VolumeR (read in d
ng ServerFoodel of the has loaded
me data for t_66_128_5
ata set thatmenu with whot located apective volu
with overlaid
he value ra
been loadecult to differee luminancespace outsi
a 3D modeadjust the
eRendering different ban
our. house (“LK, start Volum
the luminan58.dat”).
t is loaded, hich the pret the correcme’s menu
d volume of
ange
d, the correentiate the de distributiode, the valu
el of a housevalue rangecan accept
nds next to
KG_RadiositmeRenderin
nce calculat
a shader wesentation pct position, iu (Shader 1
f a luminanc
ect value radifferent valn within a bue range is
e with volume of the volut data in theeach other)
ty_x64.dbk”ng and con
ion via the “
will be createparameters ts position c“LKG_Vlou
ce calculatio
nge for the lues in the r
building. Becvery large a
me data fromume and exe following f).
”). nect to the
“File” menu
ed with the can be set can be shift
ume_66_128
on
volume neerendered dicause the raand needs t
m a luminanxamine diffefile formats:
server usin
u
respective ffor each sh
ted using th8_58.dat”).
eds to be sesplay. The
range of lumto be adjus
nce erent
DAT, CSV
g the “@”
file name inhader. If thehe “Location
et. Without following
minance alsoted to the
,
n e n”
o
conditiothe inte 1. Swit2. In th3. In th
maxdropsee
4. To mthe and that alsospec
Fig. 3 L
3.2. Cr In this sthat we 1. We
visib2. In th3. To c
“minclipp
4. Thethe
ons within thrior.
tch to the 3he volume’she diagram ximum valuepdown abovthat the lum
make the lured range nsubtract dared range l
o those that ctrum of the
Luminance
reating a s
section, we can look in
begin by cubility of the vhe tree mencut a vertican-y” to 3.000ping axes. T volume mo“min-y” is s
he room. Th
D view of ths menu, clicthat appeares shown bve the diagrminance valminance va
need to be sata and undlies mostly are mostly
e RGB rang
an interior (
section thr
will cut a sento the interi
utting the 3Dvolume mod
nu under “Mal section th00. The 3D The parts ofodel is clippet to 3.0000
his adjustme
he interior ock on the “Crs, the dataeneath it. Cram. The volues in the ialues in the scaled. Clicder “factor” oin the first tin the inter
ge, a factor
(RGB mode
rough the
ection throuior from out
D building mdel (Parameodel clippin
hrough the bmodel will tf the model
ped in the sa0.
ent makes i
of the buildinColor” parama of the voluChange the olume valueinterior are interior eask on the voone can muhird of the v
rior. To makof 3.0000 n
e) F
model
ugh the 3D btside.
model. To seter “show”
ng”, switch tbuilding, wethen be dis outside theame way us
t possible to
ng. meter.
me are shocolour mod
es in the 3Dmostly in th
sier to differlume menu
ultiply the vavalue rangeke this data needs to be
Fig. 4 Adap
building mo
ee just the ” = 0 in the vthe option “e need to shplayed betwese limits wsing “Min M
o visually d
own in grey de from “line view now s
he red rangerentiate usin: under “sum
alues. In RGe. The valueto extend aset.
pted luminan
del and lum
building movolume’s mUse clippinghift a y-clippween the mill not be shax” in the v
ifferentiate
with the miear” to “RGBshow in coloe. ng colours, mmand” on
GB mode wes in the redacross the w
nce value ra
minance vol
odel we swienu). g?” to 1.
ping axis. Seinimum and
hown. volume’s me
the values
nimum andB” in the our. One ca
the values ne can add e can see d curve are whole
ange
ume model
tch off the
et the valued maximum
enu. Here to
in
an
in
so
e
oo,
Fig. 5 C
3.3. Pre The volways. Click onparamecan be a
3.3.1. s Using thchangedcolour o
Cross secti
esentation
ume model
n the volumeeters. The “sactivated.
sum shade
his shader, d using the
of the value
on
n variants
can be ren
e menu (Shsum shader
er
the results “Color” optrange”).
s (shaders
ndered using
hader 1 “LKr” is set as d
of each pastion in the v
s)
g different s
KG_Volume_default. By d
ss are addevolume’s me
shaders to s
_66_128_5dragging th
ed and the senu (see the
show the vo
8.dat”) to ree slider, diff
sum presene section be
olume data
eveal the referent types
nted. The coelow on “ch
in different
elevant s of shaders
olours can banging the
s
be
Fig. 6 s
3.3.2. m With thi
Fig. 7 m
3.3.3. s
sum shader
max shade
s shader, o
max shader
surface sh
r presentati
er
only the max
r presentati
hader
ion
ximum data
ion
a values of eeach pass aare presenteed.
This shagiven th“Color” “Surfacesurfaceparamealpha va
Fig. 8 s
3.3.4. t As with The set
Fig. 10
ader is besthreshold valmode from e” menu, pa. The param
eters includealue. The d
surface sha
transp. su
the “surfactting of the p
transp. su
t used for relue in each “RGB” bac
arameters cmeter “bordee lighting pairection of t
ader presen
rface
ce shader”, tparameters
urface shade
evealing thepass. In thik to “linear”
can be adjuser density”, arameters (“he light can
ntation
this shader is similar to
er presenta
e extents ofis case, the”. The bounsted that defor exampl
“ambient”, “n be defined
F
creates a bo those of th
tion
f volume da presentatiodary surfac
etermine thee, changes“diffuse”, “spd using the
Fig. 9 … aft
boundary suhe surface s
ta as it prodon is made ce is then she presentatthe precisio
pecular”), th“Light” optio
fter changing
urface but thshader.
duces a surclearer by s
hown in graion of the bon of the suhe surface con in the vo
g the borde
his time it is
rface for a switching thyscale. Usi
boundary urface. Othecolour and tolume’s men
er density
s transparen
he ng
er the nu.
nt.
3.3.5. c The “cusection volume cross sedeactiva
Fig. 11
3.3.6. t The “traAs with menu). volume’“border
cuts shade
ts shader” pthrough themenu optio
ection. The ated entirely
cuts shade
trans. +op
ans. +opak sthe “surfacThe precisi’s menu. Thdensity2” c
er
places a lone volume daon “Cuts”. Haxes can by by draggin
er Darstellun
pak
shader” proce shader”, tion of the bohe parametecontrols the
ngitudinal aata is visibleHere one cabe shifted byng the “cut
ng
oduces an othe colour moundary suer “border dtransparen
nd a cross-e. The paran set the poy dragging tx/y used?”
opaque andmode is besrface can b
density” connt boundary
-section thrometers of thosition and the “cut x/y slider from
a transparest set to “linee defined u
ntrols the opsurface.
ough the vohis shader avisibility of tposition” sl1 to 0.
ent boundaear” (“Colorsing the “Su
paque boun
olume data aare mostly dthe surfacelider. A sect
ry area at thr” option in turface” optidary surfac
and only thedefined in th
e of the x or tion can be
he same timthe volume’ion in the ce while
e he y
me. ’s
Fig. 12
3.3.7. c The “cloconditio
Fig. 13
trans. +op
cloud
oud shader”ons.
cloud shad
pak shader p
” behaves m
der present
presentation
much like th
tation
n
he “sum shaader” and also takes intto account tthe lighting
In the remostly c “color fieroom. A “color a “color nnormally
3.4. Ch How thethe respalso be using thvalues cthe poinlines. In the cobuttons The “alppoints opossible
Fig. 14
3.5. Ov In the Vvolumesvolume.where tconditio With the
espective voconcern the
eld mode”: A value of 1
daption”: W
ormalize”: Ty).
hanging th
e data is trapective voluselected, fo
he buttons “can be channt removes
olour bar be“red”, “gree
pha” value con the blacke.
cuts shade
verlaying t
VolumeRends interact w. For examphe two volu
ons.
e first param
olume’s mee lighting:
A value of 0means the
Whether the
The brightne
he colour o
anslated intoume’s menuor example New” and “nges. Rightit. The “Spl
eneath the gen”, “blue”, controls thek “alpha” line
er: RGB pre
two volum
dering clienwith one anople, one couumes overla
meter, we de
enu, there a
0 means thecolour of th
brightness
ess is appli
of the valu
o a colour reu. The defau
“inverse”, “Rename”. B-clicking onine” button
graph, one and “alpha”
e transparene, different
esentation
mes (cond
t, two differother can beuld specify tap when the
efine the kin
re further o
e intensity ohe light sho
should be a
ed normaliz
ue range (
epresentatiult setting is“RGB” or “BBy shifting tn a spline adswitches be
sees the de” the respecncy of the cdegrees of
F
ition)
rent sets of e controlled that the firs
e value rang
nd of condit
ptions for c
of light shouuld be show
adjusted to
zed to the v
(Color)
on can be ds “linear”. OtBGR”. New cthe splines dds a new cetween a cu
efined colouctive controolours. By ctransparen
Fig. 15 cuts
volume datusing the “t volume wi
ge for the se
tion:
ontrolling th
uld be showwn at every
the surroun
volume (colo
defined usinther colour colour scheat their “concontrol poinurved and li
urs of the val points cancreating andcy within th
s shader: RG
a can be ovCondition” oll only be sh
econd volum
he presenta
wn at every point in the
nding situat
ours are dis
ng the “Colopresets can
emes can bentrol points”t and doublinear prese
alue range.n be switched shifting se
he colour ra
GB present
verlaid. Howoption of thhown in thome fulfils ce
ation, which
point in thee room.
ion.
splayed
or” option inn, however,e created ”, the colourle-clicking ontation of th
Using the ed on and oeveral contrnge are
tation
w these twoe respectiv
ose points ertain
e
n ,
r on he
off. rol
o e
“no condition” : no condition will apply “other volume”: the value of the other volume applies “volume sum”: the sum of the volume values at a point in space applies “volume product”: the product of the volume values at a point in space applies The second parameter: “out of range value”: is used as a value in those points where the two volumes do not overlap. Further parameters: One can define three different ranges (“range 1-3”). When the volume values lie outside these predefined ranges, they will not be displayed. Within the range, the volume is visible. Whether a range should be applied or not is controlled using the function “use range 1-3” (0 = no, 1 = yes).