Radiance Rendering Acceleration - NASA · Radiance Rendering Acceleration Andrei Kolomenski MEIT...

Post on 01-Apr-2018

219 views 2 download

Transcript of Radiance Rendering Acceleration - NASA · Radiance Rendering Acceleration Andrei Kolomenski MEIT...

Radiance Rendering Acceleration

Andrei KolomenskiMEIT

Andrei.Kolomenski@nasa.gov

James C. MaidaNASA JSC

James.C.Maida@nasa.gov

https://ntrs.nasa.gov/search.jsp?R=20150021137 2018-05-27T13:12:45+00:00Z

Benchmark SetupHardware:

CPU: Interl XeonC CPU X5670 @ 4Ghz / 49,152 MB RAMGPU: EVGA GeForce GTX 980 SC / 4 GB VRAM

Software:Radiance x64 5.0.a.3 https://github.com/NREL/Radiance/releasesAccelerad x64 0.3 (5.0.a.3) http://web.mit.edu/sustainabledesignlab/projects/Accelerad/

RPICT Rendering Parameters for ISS Interior

Truth: -lr 9 -lw 0.0005 -ps 1 -pt 0.05 -ss 2 -st 0 -as 256 -dr 3 -dp 1024 -ds 0 -dt 0 -dc 1 -ab 11 -ar 256 -aa 0 -ad 2048Constant: -lr 7 -lw 1.00e-03 -ps 4 -pt 0.05 -dr 1 -dp 512 -dt 0.05 -dc 0.5Dynamic (Default): -ab 5 -aa 0.1 -ds 0.1 -st 0.1 -x 1024 -y 1024

Absolute CPU or GPU Error = abs(CPU or GPU image – Truth image)Relative Error = abs(CPU image – GPU image)

11.5

3.9

1.9

1.3

0

5

10

15

20

25

30

35

40

0

1

2

3

4

5

6

7

8

9

10

480 680 880 1080 1280 1480 1680 1880 2080

Lum

inan

ce (

cd/m

2)

Co

mp

uta

tio

n T

ime

(h

ou

rs)

Square Pixel Resolution (-x -y)

Image Resolution VS Computation Time for ISS Interior

CPU Time GPU Time Relative Error CPU Absolute Error GPU Absolute Error

ALL FALSE COLOR IMAGES shown are Relative Error Images

Dynamic RPICT Parameters:-ab 5 -aa 0.1 -ds 0.1 -st 0.1 -x 1024 -y 1024

Average Relative Error = 21.7 cd/m^2

Error is concentrated around adjacent surfaces next to light sources.

1.4

CPU Error

3.8

1.70.6

0

5

10

15

20

25

30

0

0.5

1

1.5

2

2.5

3

3.5

4

4.5

5

0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4

Lum

inan

ce (

cd/m

2)

Co

mp

uta

tio

n T

ime

(h

ou

rs)

Ambient Accuracy (-aa)

Ambient Accuracy VS Computation Time for ISS Interior

CPU Time GPU Time Relative Error CPU Absolute Error GPU Absolute Error

-aa 0 -aa 0.4

Ambient Accuracy –aa

Dynamic RPICT Parameters: -ab 5 -ds 0.1 -st 0.1 -x 1024 -y 1024

0

5

10

15

20

25

30

0

1

2

3

4

5

6

1 2 3 4 5 6 7 8 9

Lum

inan

ce (

cd/m

2)

Co

mp

uta

tio

n T

ime

(h

ou

rs)

Ambient Bounces (-ab)

Ambient Bounces VS Computation Time for ISS InteriorCPU Time GPU Time Relative Error CPU Absolute Error GPU Absolute Error

Ambient Bounces –ab

-ab 1 -ab 8

Dynamic RPICT Parameters: -aa 0.1 -ds 0.1 -st 0.1 -x 1024 -y 1024

4.8

1.2

3.84.5 4.7

0

5

10

15

20

25

30

0

1

2

3

4

5

6

7

8

9

10

0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4

Lum

inan

ce (

cd/m

2)

Co

mp

uta

tio

n T

ime

(h

ou

rs)

Direct Sampling (-ds)

Direct Sampling VS Computation Time for ISS Interior

CPU Time GPU Time Relative Error CPU Absolute Error GPU Absolute Error

Direct Sampling –ds

-ds 0 -ds 0.4

Dynamic RPICT Parameters: -ab 5 -aa 0.1 -st 0.1 -x 1024 -y 1024

2.6

2.5

3.64.0

3.5

0

10

20

30

40

50

60

0

1

2

3

4

5

6

0 0.05 0.1 0.15 0.2 0.25 0.3

Lum

inan

ce (

cd/m

2)

Co

mp

uta

tio

n T

ime

(h

ou

rs)

Specular Threshold (-st)

Specular Threshold VS Computation Time for ISS Interior

CPU GPU Relative Error Absolute CPU Error Absolute GPU Error

Specular Threshold –st

Dynamic RPICT Parameters: -ab 5 -aa 0.1 -ds 0.1 -x 1024 -y 1024

-st 0 -st 0.3