<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE root>
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" article-type="research-article" dtd-version="1.2" xml:lang="en"><front><journal-meta><journal-id journal-id-type="publisher-id">Programming and Computer Software</journal-id><journal-title-group><journal-title xml:lang="en">Programming and Computer Software</journal-title><trans-title-group xml:lang="ru"><trans-title>Программирование</trans-title></trans-title-group></journal-title-group><issn publication-format="print">0132-3474</issn><issn publication-format="electronic">3034-5847</issn><publisher><publisher-name xml:lang="en">The Russian Academy of Sciences</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">675694</article-id><article-id pub-id-type="doi">10.31857/S0132347424030054</article-id><article-id pub-id-type="edn">QAOZYR</article-id><article-categories><subj-group subj-group-type="toc-heading" xml:lang="en"><subject>COMPUTER GRAFICS AND VISUALIZATION</subject></subj-group><subj-group subj-group-type="toc-heading" xml:lang="ru"><subject>КОМПЬЮТЕРНАЯ ГРАФИКА И ВИЗУАЛИЗАЦИЯ</subject></subj-group><subj-group subj-group-type="article-type"><subject>Research Article</subject></subj-group></article-categories><title-group><article-title xml:lang="en">The Method to Order Point Clouds for Visualization on the Ray Tracing Pipeline</article-title><trans-title-group xml:lang="ru"><trans-title>Метод упорядочивания облаков точек для визуализации на конвейере трассировки лучей</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author"><name-alternatives><name xml:lang="en"><surname>Timokhin</surname><given-names>P. Yu.</given-names></name><name xml:lang="ru"><surname>Тимохин</surname><given-names>П. Ю.</given-names></name></name-alternatives><address><country country="RU">Russian Federation</country></address><email>p_tim@bk.ru</email><xref ref-type="aff" rid="aff1"/></contrib><contrib contrib-type="author"><name-alternatives><name xml:lang="en"><surname>Mikhailyuk</surname><given-names>M. V.</given-names></name><name xml:lang="ru"><surname>Михайлюк</surname><given-names>М. В.</given-names></name></name-alternatives><address><country country="RU">Russian Federation</country></address><email>mix@niisi.ras.ru</email><xref ref-type="aff" rid="aff1"/></contrib></contrib-group><aff-alternatives id="aff1"><aff><institution xml:lang="en">Scientific Research Institute for System Analysis of the Russian Academy of Sciences</institution></aff><aff><institution xml:lang="ru">Научно-исследовательский институт системных исследований Российской академии наук</institution></aff></aff-alternatives><pub-date date-type="pub" iso-8601-date="2024-11-28" publication-format="electronic"><day>28</day><month>11</month><year>2024</year></pub-date><issue>3</issue><fpage>42</fpage><lpage>53</lpage><history><date date-type="received" iso-8601-date="2025-02-28"><day>28</day><month>02</month><year>2025</year></date></history><permissions><copyright-statement xml:lang="en">Copyright ©; 2024, Russian Academy of Sciences</copyright-statement><copyright-statement xml:lang="ru">Copyright ©; 2024, Российская академия наук</copyright-statement><copyright-year>2024</copyright-year><copyright-holder xml:lang="en">Russian Academy of Sciences</copyright-holder><copyright-holder xml:lang="ru">Российская академия наук</copyright-holder></permissions><self-uri xlink:href="https://journals.eco-vector.com/0132-3474/article/view/675694">https://journals.eco-vector.com/0132-3474/article/view/675694</self-uri><abstract xml:lang="en"><p>Currently, the digitization of environment objects (vegetation, terrain, architectural structures, etc.) in the form of point clouds is actively developing. The integration of such digitized objects into virtual environment systems allows the quality of the modeled environment to be improved, but requires efficient methods and algorithms for real-time visualization of large point volumes. In this paper the solution of this task on modern multicore GPUs with support of hardware-accelerated ray tracing is researched. A modified method is proposed where the original unordered point cloud is split up into point groups which visualization is effectively parallelized on ray tracing cores. The paper describes an algorithm for constructing such groups using swapping arrays of point indices, which works faster than alternative solutions based on linked lists, and also has lower memory overhead. The proposed method and algorithm were implemented in the point cloud visualization software complex and approbated on a number of digitized environment objects. The results of the approbation confirmed the efficiency of proposed solutions as well as their applicability for virtual environment systems, video simulators and geoinformation systems, virtual laboratories, etc.</p></abstract><trans-abstract xml:lang="ru"><p>В настоящее время активно развивается оцифровка объектов окружающей среды (растительности, рельефа, архитектурных сооружений и др.) в виде облаков точек. Интеграция таких оцифрованных объектов в системы виртуального окружения позволяет повысить качество моделируемой обстановки, однако требует эффективных методов и алгоритмов визуализации больших объемов точек в реальном времени. В данной статье исследуется решение этой задачи на современных многоядерных графических процессорах с поддержкой аппаратного ускорения трассировки лучей. Предлагается модифицированный метод разбиения исходного неупорядоченного облака точек на группы точек, визуализация которых эффективно распараллеливается на ядрах трассировки лучей. В работе описан алгоритм построения таких групп с помощью чередующихся массивов индексов точек, который работает быстрее альтернативных решений на связных списках, а также имеет меньшие накладные расходы памяти. Предложенные метод и алгоритм были реализованы в программном комплексе визуализации облаков точек и апробированы на ряде оцифрованных объектов окружающей среды. Результаты апробации подтвердили эффективность предложенных решений и возможность их применения в системах виртуального окружения, видеотренажерных и геоинформационных системах, виртуальных лабораториях и др.</p></trans-abstract><kwd-group xml:lang="en"><kwd>virtual environment</kwd><kwd>visualization</kwd><kwd>real time</kwd><kwd>ray tracing</kwd><kwd>point cloud</kwd></kwd-group><kwd-group xml:lang="ru"><kwd>виртуальное окружение</kwd><kwd>визуализация</kwd><kwd>реальное время</kwd><kwd>трассировка лучей</kwd><kwd>облако точек</kwd></kwd-group><funding-group><award-group><funding-source><institution-wrap><institution xml:lang="ru">Правительство Российской Федерации</institution></institution-wrap><institution-wrap><institution xml:lang="en">Government of the Russian Federation</institution></institution-wrap></funding-source><award-id>FNEF-2024-0002</award-id></award-group></funding-group></article-meta></front><body></body><back><ref-list><ref id="B1"><label>1.</label><mixed-citation>Guo M., Sun M., Pan D., Wang G., Zhou Y., Yan B., Fu Z. High-precision deformation analysis of yingxian wooden pagoda based on UAV image and terrestrial LiDAR point cloud // Heritage Science. 2023. V. 11. P. 1–18. https://doi.org/10.1186/s40494-022-00833-z</mixed-citation></ref><ref id="B2"><label>2.</label><mixed-citation>Adamopoulos E., Papadopoulou E.-E., Mpia M., Deligianni E.-O., Papadopoulou G., Athanasoulis D., Konioti M., Koutsoumpou M., Anagnostopoulos C.N. 3D Survey and Monitoring of Ongoing Archaeological Excavations via Terrestrial and Drone LIDAR // ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences. 2023. V. X-M-1-2023. P. 3–10. https://doi.org/10.5194/isprs-annals-X-M-1-2023-3-2023</mixed-citation></ref><ref id="B3"><label>3.</label><mixed-citation>Weiser H., Schäfer J., Winiwarter L., Krašovec N., Fassnacht F.E., Höfle B. Individual tree point clouds and tree measurements from multi-platform laser scanning in German forests // Earth System Science Data. 2022. V. 14. № 7. P. 2989–3012. https://doi.org/10.5194/essd-14-2989-2022</mixed-citation></ref><ref id="B4"><label>4.</label><mixed-citation>Risbøl O., Gustavsen L. LiDAR from drones employed for mapping archaeology – Potential, benefits and challenges // Archaeological Prospection. 2018. V. 25. P. 329–338. https://doi.org/10.1002/arp.1712</mixed-citation></ref><ref id="B5"><label>5.</label><mixed-citation>Sketchfab – The leading platform for 3D &amp; AR on the web. 2023. https://sketchfab.com/</mixed-citation></ref><ref id="B6"><label>6.</label><mixed-citation>Casado-Coscolla A., Sanchez-Belenguer C., Wolfart E., Sequeira V. Rendering massive indoor point clouds in virtual reality // Virtual Reality. 2023. V. 27. P. 1859–1874. https://doi.org/10.1007/s10055-023-00766-3</mixed-citation></ref><ref id="B7"><label>7.</label><mixed-citation>Kharroubi A., Hajji R., Billen R., Poux F. Classification and Integration of Massive 3D Points Clouds in a Virtual Reality (VR) Environment // The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences. 2019. V. XLII-2/W17. P. 165–171. https://doi.org/10.5194/isprs-archives-XLII-2-W17165-2019</mixed-citation></ref><ref id="B8"><label>8.</label><mixed-citation>Discher S., Masopust L., Schulz S., Richter R., Döllner J. A Point-Based and Image-Based Multi-Pass Rendering Technique for Visualizing Massive 3D Point Clouds in VR Environments // Journal of WSCG. 2018. V. 26. № 2. P. 76–84. https://doi.org/10.24132/JWSCG.2018.26.2.2</mixed-citation></ref><ref id="B9"><label>9.</label><citation-alternatives><mixed-citation xml:lang="en">Timokhin P. Yu., Mikhaylyuk M.V. Modeling of Landscape Features by Means of Point Clouds in Virtual Environment Systems // Proc. GraphiCon. Proceedings of the 33rd International Conference on Computer Graphics and Vision (GraphiCon 2023). Moscow, 2023. P. 157–168. https://doi.org/10.20948/graphicon-2023-157-168.</mixed-citation><mixed-citation xml:lang="ru">Тимохин П.Ю., Михайлюк М.В. Моделирование особенностей ландшафта с помощью облаков точек в системах виртуального окружения // Труды 33-й Международной конференции по компьютерной графике и машинному зрению (GraphiСon 2023). 2023. C. 157–168. https://doi.org/10.20948/graphicon-2023-157-168</mixed-citation></citation-alternatives></ref><ref id="B10"><label>10.</label><mixed-citation>Kivi P.E.J., Mäkitalo M.J., Žádník J., Ikkala J., Vadakital V.K.M., Jääskeläinen P.O. Real-Time Rendering of Point Clouds With Photorealistic Effects: A Survey // IEEE Access. 2022. V. 10. P. 13151–13173. https://doi.org/10.1109/ACCESS.2022.3146768</mixed-citation></ref><ref id="B11"><label>11.</label><mixed-citation>Kobbelt L., Botsch M. A survey of point-based techniques in computer graphics // Computers &amp; Graphics. 2004. V. 28. № 6. P. 801–814. https://doi.org/10.1016/j.cag.2004.08.009</mixed-citation></ref><ref id="B12"><label>12.</label><citation-alternatives><mixed-citation xml:lang="en">Botsch M., Hornung A., Zwicker M., Kobbelt L. High-Quality Surface Splatting on Today's GPUs // Proc. Eurographics/IEEE VGTC Symposium Point-Based Graphics. 2005. P. 17–24. https://doi.org/10.2312/SPBG/SPBG05/017-024</mixed-citation><mixed-citation xml:lang="ru">Botsch M., Hornung A., Zwicker M., Kobbelt L. High-Quality Surface Splatting on Today's GPUs // Proc. Eurographics / IEEE VGTC Symposium Point-Based Graphics. 2005. P. 17–24. https://doi.org/10.2312/SPBG/SPBG05/017-024</mixed-citation></citation-alternatives></ref><ref id="B13"><label>13.</label><mixed-citation>Linsen L., Müller K., Rosenthal P. Splat-based Ray Tracing of Point Clouds // Journal of WSCG. 2007. V. 15. P. 51–58. https://dspace5.zcu.cz/bitstream/11025/1426/1/Linsen.pdf</mixed-citation></ref><ref id="B14"><label>14.</label><mixed-citation>Wald I., Seidel H.-P. Interactive ray tracing of point-based models // Proceedings Eurographics / IEEE VGTC Symposium Point-Based Graphics (Jun. 2005). 2005. P. 9–16. https://doi.org/10.1145/1187112.1187176</mixed-citation></ref><ref id="B15"><label>15.</label><mixed-citation>Adamson A., Alexa M. Ray tracing point set surfaces // Proceedings of the Shape Modeling International (SMI '03). 2003. P. 272–279. https://doi.org/10.1109/SMI.2003.1199627</mixed-citation></ref><ref id="B16"><label>16.</label><mixed-citation>Hubo E., Mertens T., Haber T., Bekaert P. Self-similarity based compression of point set surfaces with application to ray tracing // Computers &amp; Graphics. 2008. V. 32. № 2. P. 221–234. https://doi.org/10.1016/j.cag.2008.01.012</mixed-citation></ref><ref id="B17"><label>17.</label><mixed-citation>Tejada E., Gois J.P., Nonato L.G., Castelo A., Ertl T. Hardware-accelerated Extraction and Rendering of Point Set Surfaces // Proceedings of the 8th Joint Eurographics – IEEE VGTC Symposium on Visualization (EuroVis '06). 2006. P. 21–28. https://doi.org/10.2312/VisSym/EuroVis06/021-028</mixed-citation></ref><ref id="B18"><label>18.</label><mixed-citation>Zhang Y., Pajarola R. Deferred blending: Image composition for single-pass point rendering // Computers &amp; Graphics. 2007. V. 31. № 2. P. 175–189. https://doi.org/10.1016/j.cag.2006.11.012</mixed-citation></ref><ref id="B19"><label>19.</label><mixed-citation>Wimmer M., Scheiblauer C. Instant points: Fast rendering of unprocessed point clouds // Eurographics Symposium on Point-Based Graphics (eds. Botsch M., Chen B., Pauly M., Zwicker M.). Geneva, Switzerland: The Eurographics Association. 2006. P. 129–136. https://doi.org/10.2312/SPBG/SPBG06/129-136</mixed-citation></ref><ref id="B20"><label>20.</label><mixed-citation>Hubo E., Mertens T., Haber T., Bekaert P. The Quantized kd-Tree: Efficient Ray Tracing of Compressed Point Clouds // 2006 IEEE Symposium on Interactive Ray Tracing, Salt Lake City, UT, USA. 2006. P. 105–113. https://doi.org/10.1109/RT.2006.280221</mixed-citation></ref><ref id="B21"><label>21.</label><mixed-citation>Günther C., Kanzok T., Linsen L., Rosenthal P. A GPGPU-based Pipeline for Accelerated Rendering of Point Clouds // Journal of WSCG. 2013. V. 21. № 2. P. 153–162. https://dspace5.zcu.cz/bitstream/11025/6978/1/Gunther.pdf</mixed-citation></ref><ref id="B22"><label>22.</label><mixed-citation>Schütz M., Kerbl B., Wimmer M. Rendering Point Clouds with Compute Shaders and Vertex Order Optimization // Computer Graphics Forum. 2021. V. 40. № 4. P. 115–126. https://doi.org/10.1111/cgf.14345</mixed-citation></ref><ref id="B23"><label>23.</label><mixed-citation>Kashyap S., Goradia R., Chaudhuri P., Chandran S. Implicit Surface Octrees For Ray Tracing Point Models // ICVGIP’10: proceedings of the 7th Indian Conference on Computer Vision, Graphics and Image Processing (December 2010). 2010. P. 227–234. https://doi.org/10.1145/1924559.1924590</mixed-citation></ref><ref id="B24"><label>24.</label><mixed-citation>Karras T. Maximizing Parallelism in the Construction of BVHs, Octrees, and k-d Trees // Eurographics/ ACM SIGGRAPH Symposium on High Performance Graphics. Eurographics Association. 2012. P. 33–37. https://doi.org/10.2312/EGGH/HPG12/033-037</mixed-citation></ref><ref id="B25"><label>25.</label><mixed-citation>Kim H.-J., Cengiz Öztireli A., Gross M., Choi S.-M. Adaptive surface splatting for facial rendering // Computer Animation Virtual Worlds. 2012. V. 23. № 3–4. P. 363–373. https://doi.org/10.1002/cav.1463</mixed-citation></ref><ref id="B26"><label>26.</label><mixed-citation>Schütz M., Krösl K., Wimmer M. Real-Time Continuous Level of Detail Rendering of Point Clouds // IEEE VR2019: the 26th IEEE Conference on Virtual Reality and 3D User Interfaces (VR), Osaka, Japan. IEEE. 2019. P. 103–110. https://doi.org/10.1109/VR.2019.8798284</mixed-citation></ref><ref id="B27"><label>27.</label><mixed-citation>Kulik A., Kunert A., Beck S., Matthes C.-F., Schollmeyer A., Kreskowski A., Fröhlich B., Cobb S., D'Cruz M. Virtual Valcamonica: Collaborative Exploration of Prehistoric Petroglyphs and Their Surrounding Environment in Multi-User Virtual Reality // Presence: Teleoperators and Virtual Environments. 2017. V. 26. № 3. P. 297–321. https://doi.org/10.1162/pres_a_00297</mixed-citation></ref><ref id="B28"><label>28.</label><mixed-citation>Schütz M., Herzberger L., Wimmer M. SimLOD: Simultaneous LOD Generation and Rendering // ArXiv, abs/2310.03567. 2023. P. 1–12. https://doi.org/10.48550/arXiv.2310.03567</mixed-citation></ref><ref id="B29"><label>29.</label><mixed-citation>NVIDIA Turing GPU Architecture // NVIDIA Corporation. 2018. https://images.nvidia.com/aem-dam/Solutions/design-visualization/technologies/turing-architecture/NVIDIA-Turing-Architecture-Whitepaper.pdf</mixed-citation></ref><ref id="B30"><label>30.</label><mixed-citation>Sanzharov V.V., Frolov V.A., Galaktionov V.A. Survey of Nvidia RTX Technology // Programming and Computer Software. 2020. V. 46. № 4. P. 297–304. https://doi.org/10.1134/S0361768820030068</mixed-citation></ref><ref id="B31"><label>31.</label><mixed-citation>Timokhin P.Y., Mikhaylyuk M.V. An Efficient Technology of Real-time Modeling of Height Field Surface on the Ray Tracing Pipeline // Programming and Computer Software. 2023. V. 49. № 3. P. 178–186. https://doi.org/10.1134/S0361768823030064</mixed-citation></ref><ref id="B32"><label>32.</label><mixed-citation>Rusch M., Bickford N., Subtil N. Introduction to Vulkan Ray Tracing // Ray Tracing Gems II. NVIDIA. 2021. P. 213–255. https://doi.org/10.1007/978-1-4842-7185-8_16</mixed-citation></ref><ref id="B33"><label>33.</label><mixed-citation>Sjoholm J. Best Practices for Using NVIDIA RTX Ray Tracing (Updated) // NVIDIA Technical Blog. Jul 25, 2022. https://developer.nvidia.com/blog/best-practices-for-using-nvidia-rtx-ray-tracing-updated/</mixed-citation></ref><ref id="B34"><label>34.</label><mixed-citation>Lefrançois M.-K. Intersection Shader // NVIDIA Vulkan Ray Tracing Tutorials. 2020–2023. https://github.com/nvpro-samples/vk_raytracing_tutorial_KHR/tree/master/ray_tracing_intersection</mixed-citation></ref><ref id="B35"><label>35.</label><mixed-citation>C++ reference. Containers library. Sequence containers. 2023. https://en.cppreference.com/w/cpp/container</mixed-citation></ref><ref id="B36"><label>36.</label><mixed-citation>Vulkan 1.3.275 – A Specification (with all ratified extensions) // The Khronos Vulkan Working Group. 2024. https://registry.khronos.org/vulkan/specs/1.3-khr-extensions/pdf/vkspec.pdf</mixed-citation></ref><ref id="B37"><label>37.</label><mixed-citation>Wong U., Whittaker W., Jones H., Whittaker R. NASA Planetary Pits and Caves Analog Dataset. 2014. https://ti.arc.nasa.gov/dataset/caves/</mixed-citation></ref></ref-list></back></article>
