5 CONCLUSIONS
The main characteristics of the proposed 2.5D shadow
implementation can be described as follows,
• Defining, optimizing, and efficiently calculat-
ing mathematical expressions involving multi-
dimensional arrays (tensors).
• Transparent use of GPU computing. One can
write the same code and run it either on CPUs or
GPUs.
• Implicit parallelism and distributed execution.
• High scalability of computation across machines
with huge data sets.
The building heights are valid for flat roofs (L0D1
model). This flatness of the terrain affects the accu-
racy of the cast shadows. In our future work, we are
considering digital elevation model to get the actual
hight of the object, towards a more accurate and ro-
bust shadow map.
ACKNOWLEDGEMENTS
This work has been funded and supported by the EN-
OVOS Foundation Luxembourg and the Luxembourg
Institute of Science and Technology (LIST) through
the SECURE project.
REFERENCES
Abadi, M., Agarwal, A., Barham, P., Brevdo, E., Chen, Z.,
Citro, C., Corrado, G. S., Davis, A., Dean, J., Devin,
M., Ghemawat, S., Goodfellow, I., Harp, A., Irving,
G., Isard, M., Jia, Y., Jozefowicz, R., Kaiser, L., Kud-
lur, M., Levenberg, J., Man
´
e, D., Monga, R., Moore,
S., Murray, D., Olah, C., Schuster, M., Shlens, J.,
Steiner, B., Sutskever, I., Talwar, K., Tucker, P., Van-
houcke, V., Vasudevan, V., Vi
´
egas, F., Vinyals, O.,
Warden, P., Wattenberg, M., Wicke, M., Yu, Y., and
Zheng, X. (2015). TensorFlow: Large-scale machine
learning on heterogeneous systems. Software avail-
able from tensorflow.org.
Appel, A. (1968). Some techniques for shading machine
renderings of solids. In Proceedings of the April
30–May 2, 1968, Spring Joint Computer Conference,
AFIPS ’68 (Spring), pages 37–45, New York, NY,
USA. ACM.
Biljecki, F. (2017). Level of detail in 3D city models.
PhD thesis, Delft University of Technology, Delft, the
Netherlands.
Biljecki, F., Stoter, J. E., Ledoux, H., Zlatanova, S., and
C¸
¨
oltekin, A. (2015). Applications of 3d city models:
State of the art review. ISPRS Int. J. Geo-Information,
4(4):2842–2889.
Bresenham, J. E. (1965). Algorithm for computer control
of a digital plotter. IBM Syst. J., 4(1):25–30.
GRASS Development Team (2017). Geographic Resources
Analysis Support System (GRASS GIS) Software, Ver-
sion 7.2. Open Source Geospatial Foundation.
Whitted, T. (1980). An improved illumination model for
shaded display. Commun. ACM, 23(6):343–349.
A Novel 2.5D Shadow Calculation Algorithm for Urban Environment
281