Full text
University of Minho School of Engineering Pedro Aquino Martins de Araújo Metapedia: A learning platform in Metaverse october 2024
University of Minho School of Engineering Pedro Aquino Martins de Araújo Metapedia: A learning platform in Metaverse Master’s Dissertation in Informatics Engineering Dissertation supervised by Maria Solange Pires Ferreira Rito Lima october 2024
Copyright and Terms of Use for Third Party Work This dissertation reports on academic work that can be used by third parties as long as the internationally accepted standards and good practices are respected concerning copyright and related rights. This work can thereafter be used under the terms established in the license below. Readers needing authorization conditions not provided for in the indicated licensing should contact the author through the Repositório UM of the University of Minho. License granted to users of this work: CC BY-NC https://creativecommons.org/licenses/by-nc/4.0/ i
Agradecimentos Dedico aqui meus agradecimentos a todos que me ajudaram e me apoiaram durante o período de desenvolvimento desta dissertação, com comentários especiais a: Meus pais, avós, e irmãos, que desde início deram apoio incondicional no meu percurso acadêmico. Além de proverem todas as condições para realizar minha formação, sempre dispuseram para me ajudar nos momentos de maior dificuldade. Todo o amor que me deram fez a pessoa que sou, capaz de perseguir meus sonhos. Minha orientadora acadêmica, Professora Solange Rito Lima, que dispôs para me esclarecer dúvidas e me auxiliar na escrita de um trabalho adequado a uma dissertação. Agradeço à empresa Accenture, que me ofereceu a oportunidade de contribuir neste projeto, onde obtive muitas aprendizagens e experiências enriquecedoras. Deixo meus agradecimentos também aos meus colegas de estágio e orientadores da empresa, que tive contato diário e me auxiliaram durante o meu período na empresa. Meus amigos para a vida, Ivan e Pedro, que mesmo distantes me proporcionaram conversas, risadas, e momentos de descontração. Ao meu amigo com quem divido a casa, Christian, que esteve diariamente próximo e me ajudou nos momentos mais difíceis. À Inês por todo seu apoio, companherismo, amor, e motivação que foi fundamental na reta final da escrita deste trabalho. ii
Statement of Integrity I hereby declare having conducted this academic work with integrity. I confirm that I have not used plagiarism or any form of undue use of information or falsification of results along the process leading to its elaboration. I further declare that I have fully acknowledged the Code of Ethical Conduct of the University of Minho. University of Minho, Braga, october 2024 Pedro Aquino Martins de Araújo iii
Abstract The Metaverse is the new wave of technological innovation following the emergence of personal computers, the Internet, and the development of mobile devices. The Metaverse rises with the ability to provide users with an immersive and spatial experience within a virtual realm. Within this world, there can be different types of events that exist in the physical world, such as artistic exhibitions, concerts, cinema, going to the mall, having a university class, among other possibilities. In addition to replicating activities that already exist in the real world, within the virtual world it is possible to explore creativity, creating dynamic and fantastic objects that do not exist in reality. The user can access this virtual world and have an immersive experience through headsets and glasses. What will define how immersive this experience will be within the digital world are Extended Reality (XR) platforms, which include Augmented Reality (AR), Virtual Reality (VR), and Mixed Reality (MR). What makes the Metaverse possible is the convergence of technologies that support this new paradigm, such as Artificial Intelligence (AI), Blockchain, 5G, and 6G, among others. The Metaverse has applications in several areas, such as games, health, manufacturing, and entertainment. This work proposes the development of a VR application in the education sector. The project, named Metapedia, aims to provide a more immersive, engaging, and attractive platform for conducting training courses in the corporate environment. Metapedia consists of a virtual island with an environment for training courses, a social interaction area, and interactive games. This led to the development of the following functionalities: creating an area to host training courses; developing interactive games, including a basketball dart game; creating an environment for presentations and meetings; and improving the audiovisual aspects of the application. Finally, performance tests were conducted, which initially revealed significant bottlenecks and performance issues. To address these problems, a range of performance optimization techniques were applied, resulting in substantial improvements, as demonstrated in the final round of testing, effectively solving the previously identified issues. Keywords Metaverse, Virtual Reality, Virtual learning environment, Education, Interactive games, Immersive experience. iv
Resumo O Metaverso é a nova onda de inovação tecnológica após o aparecimento dos computadores pessoais, o surgimento da Internet e o desenvolvimento dos dispositivos móveis. O Metaverso surge para fornecer aos usuários uma experiência imersiva e espacial dentro de um mundo virtual. Neste mundo pode haver diversos tipos de eventos que existem no mundo físico como exposições artísticas, concertos, cinema, ir ao shopping, ter aulas da universidade, e entre outras possibilidades. Além de replicar atividades que já existem no mundo real, dentro do mundo virtual é possível explorar a criatividade, podendo criar objetos dinâmicos e fantásticos que não existem na realidade. O utilizador consegue acessar este mundo virtual e ter uma experiência imersiva através de dispositivos como os headsets e óculos. Aquilo que definirá o quão imersivo será essa experiência dentro do mundo digital são as plataformas do Extended Reality (XR): Augmented Reality (AR); Virtual Reality (VR); e Mixed Reality (MR). O Metaverso consiste na convergência de tecnologias que juntas sustentam este novo paradigma, tecnologias como Artificial Intelligence (AI), Blockchain , 5G e 6G, e entre outras. O Metaverso tem aplicações em várias áreas, como a de jogos, saúde, indústria e entretenimento. No entanto, este trabalho propõe o desenvolvimento de uma aplicação de realidade virtual (VR) no setor da educação. O projeto, denominado Metapedia, tem como objetivo oferecer uma plataforma mais imersiva e atraente para a realização de cursos de formação no ambiente corporativo. O Metapedia consiste numa ilha virtual com um ambiente para cursos de formação, uma área de interação social e jogos interativos. Este trabalho incluiu o desenvolvimento das seguintes funcionalidades: criação de uma área para hospedar os cursos de formação; desenvolvimento de jogos interativos, incluindo um jogo de basquete e dardos; criação de um ambiente para apresentações e reuniões; e melhorias nos aspetos audiovisuais da aplicação. Por fim, foram realizados testes de desempenho, que inicialmente revelaram gargalos e problemas de desempenho. Para resolver estes problemas, foram aplicadas várias técnicas de otimização, resultando em melhorias significativas, conforme demonstrado nos últimos testes realizados. Palavras-chave Metaverso, Virtual Reality, Ambiente de aprendizado virtual, Educação, Jogos interativos, Experiência imersiva. v
Contents 1 Introduction 1 1.1 Motivation and objectives ............................... 2 1.2 Dissertation layout .................................. 3 2 State of the art 5 2.1 Metaverse contextualization .............................. 5 2.1.1 History .................................... 5 2.1.2 Metaverse characteristics ........................... 7 2.1.3 Architecture and components ......................... 8 2.2 Technologies ..................................... 13 2.2.1 Communication and networking ....................... 13 2.2.2 Blockchain .................................. 16 2.2.3 Graphics ................................... 18 2.2.4 Artificial Intelligence ............................. 21 2.3 Metaverse applications ................................ 25 2.3.1 Healthcare .................................. 25 2.3.2 Manufactoring ................................ 27 2.3.3 Gaming ................................... 29 2.3.4 Learning ................................... 30 2.4 Challenges ...................................... 35 2.4.1 Security ................................... 35 2.4.2 Ethics .................................... 37 2.4.3 Hardware .................................. 38 2.4.4 Side effects ................................. 40 2.5 Summary ....................................... 42 vi
KPI Key Performance Indicator. 23 LiDARs Laser Scanners. 19 ML Machine Learning. 21 MR Mixed Reality. 1 NFT Non-Fungible Tokens. 13 NPC Non-Player Characters. 24 PSS Product Service System. 27 PUN Photon Unity Networking. 74 QoE Quality of Experience. 13 QoS Quality of Service. 15 SDLC Software Development Life Cycle. 55 SPoF single-point-of-failure. 16 UI User Interface. 73 URLLC Ultra-Reliable and Low Latency Communications. 15 VR Virtual Reality. 1 VRDT Virtual Reality Development Toolkit. 45 VRTK Virtual Reality Toolkit. 78 XR Extended Reality. 12 xiii
Chapter 1 Introduction Significant technological developments have occurred since the emergence of the Internet, such as blockchain, Artificial Intelligence (AI),Internet of Things (IoT), and development of mobile network communication through 5G and 6G. A new scientific innovation, called the Metaverse, emerges from the convergence of these technologies. The Metaverse is a shared virtual world that maps physical reality to digital reality [13]. In practice, it is an immersive virtual environment that allows people to interact with each other, work, study, and have a social life represented by avatars. Previously, people communicated only from static 2D screens on cell phones and computers. The Metaverse allows us to expand into 3D through virtual worlds where users, when connected, can communicate through an immersive and multi-sensory experience [14]. The technology gained evidence and relevance in October 2021, when the company Facebook announced the change of name to Meta, indicating through this attitude that the company would make great efforts and investments in the Metaverse [15]. Since then, the topic has attracted many investors, companies, and the public interested in technological innovations. This change made by Mark Zuckerberg, creator of Facebook and current CEO of Meta, aligned with Facebook’s initial strategy of, through its acquired applications such as Instagram and Whatsapp, facilitating communication and iteration between people, providing an interpersonal connection from anywhere in the world. The Metaverse appears to revolutionize the way people interact, boosting the expansion of the strategic initiatives of the Facebook group, now Meta [16]. In the Metaverse, different platforms dictate the user’s degree of immersion between the physical and virtual worlds. The existing platforms are: Augmented Reality (AR), technology that allows the improvement of physical aspects by superimposing virtual dynamic elements on the reality around the user; Virtual Reality (VR), which is a platform that makes the most of the user’s immersion within digital reality, by allowing the user to use headsets that cover their entire vision, lose track of the reality around them and immerse within the virtual world; Mixed Reality (MR), is the platform that transitions 1
between AR and VR, containing virtual elements but without losing the perception of physical reality [1]. In addition to the capacity for communication and immersion, the Metaverse offers a new space-time feature. The virtual world follows a new concept of space and time, where the Metaverse can simulate the physical world and, in addition, can also create new functionalities and dynamics to the virtual world, which are not possible to reproduce in physical reality [13]. Users can teleport to different spaces, events, and activities in seconds. Furthermore, it is possible to interact with fantastic and dynamic objects that do not exist in physical reality but can help the user experience to make it more attractive and exciting. Based on the characteristics described, different possibilities and applications exist in different segments, such as education, entertainment, games, health, manufacturing, and others. One of the areas in which the Metaverse will have a significant impact and will solve many difficulties is in the area of education. Online learning saw a massive increase in use, and there was more significant investment, especially after the COVID-19 pandemic, in which people could not socialize in the same space. Therefore, the Internet allows people to communicate and learn from online content. In this context, VR is the Metaverse technology most used in the education environment [17]. Using virtual reality, students can interact with 3D models and iterative content in virtual learning spaces, carrying out practical components effectively with deeper learning [18]. Within the virtual reality environment, it is also possible to use game mechanisms and game design elements, such as competition, points, and rewards, making the educational experience even more playful, immersive, and attractive [19]. 1.1 Motivation and objectives Within the context of the Metaverse, and considering the impact and benefits that VR provides in the education environment, this work proposal aims to develop a platform in the Metaverse to host a network of centralized courses to serve as a training environment in the business context, with elements of gamification and recognition. The Metapedia project consists of developing a virtual island modeled in 3D, which will have a common area for all users (avatars) with recreational activities, areas to explore, and courses. This work was conducted in collaboration with Accenture company, which identified a challenge related to employee disengagement and lack of productivity in completing training courses. To address this issue, the Metapedia innovation project aims to provide an engaging platform where employees can participate in training sessions while absorbing content more effectively. The goal is to create an enjoyable and immersive experience, promoting social interaction and improved communication regardless of location or time. Moreover, 2
this prototype has the potential to serve as a framework for service-learning providers and other relevant stakeholders. Given the motivation presented, the primary objective of this work is to create a functional application that serves as an immersive and appealing platform for future course integration. Several essential steps were outlined to achieve this goal. They are synthesized as follows: • study the Metaverse paradigm, describing its characteristics, promising technologies employed, potential applications, and limitations; • integrate various technologies, showing the role of each one in the final solution; • create a space for courses to be held; • investigate an Application Programming Interface (API) to integrate the courses of each user within the island; • create an environment where presentations and virtual meetings can be established; • develop playful activities adapted to the island; • create a virtual reality application where the audio-visual aspect is appealing and immersive within an island; • develop a functional application with a fluid experience, without bottlenecks; • ensure the application is deployed and possible to use across multiple platforms, including VR and computer systems; • enable multiple users to connect and interact within the same virtual environment. Therefore, with the objectives described achieved, it is expected that the development of the virtual world for a training environment can be incorporated as a solution within Accenture’s products and that it can also serve as a model for other business contexts. 1.2 Dissertation layout The dissertation is organized into five chapters, each serving a distinct purpose and contributing to a comprehensive understanding of the research topic: 3
In Chapter 1 – Introduction – is introduced the Metaverse paradigm, elucidating its key concepts, characteristics, and associated benefits. Additionally, it provides insight into the motivation behind the study and outlines the specific objectives. In Chapter 2 – State-of-the-art – all the main concepts of the Metaverse are depicted, contextualizing its main aspects and offering a survey of existing literature, works, and references relevant to this emerging medium. In Chapter 3 – Technological architecture – the technological architecture of the Metapedia project is outlined, focusing on the technologies employed and their roles within the system. In Chapter 4 – Features developed – an overview of all the features developed within the Metapedia project are presented, elucidating the practical implementation of each functionality and ensuring alignment with the functional requirements outlined. In Chapter 5 – Tests & Optimizations – are conducted tests on the application, featuring bottlenecks and performance issues, which were subsequently addressed through optimization techniques. Furthermore, a comparative analysis between the optimized and unoptimized solutions highlights the improvements achieved. In Chapter 6 – Conclusion – are synthesized the key project aspects, conducting a review of the objectives and results. A comparative analysis is depicted, and potential areas for improvement are identified. Furthermore, the chapter mentions possibilities for future work by discussing avenues for further exploration and development within the scope of the research. 4
Chapter 2 State of the art This chapter dives into the concept of the Metaverse and clarifies its key aspects. The initial section describes the Metaverse and traces its evolution to the present day. Subsequent sections delve into the architecture, technologies employed, and how the Metaverse is being applied in different areas emphasizing the Learning sector. Lastly, the challenges and issues faced by the Metaverse are explored. 2.1 Metaverse contextualization Metaverse is a trending topic in technological developments, but understanding what this approach will be in practice can still be abstract and complex. Thus, this section provides a contextual overview of the Metaverse, delving into its historical development stages, showing its main characteristics, and introducing fundamental architectural components to a better comprehension of the paradigm. 2.1.1 History To expound upon the concept of the Metaverse, one must traverse through the various stages of its development that proved pivotal in shaping its current manifestation. The genesis of this phenomenon only commenced to gather momentum in 2021, marked by Mark Zuckerberg’s announcement wherein he declared the rebranding of Facebook to Meta. Nonetheless, the conceptualization of the Metaverse started 29 years before this proclamation. The inception of the term ”Metaverse” finds its roots in Neal Stephenson’s 1992 book, Snow Crash. The narrative within the novel unfolds a virtual reality landscape characterized by avatars engaging in interactions both amongst themselves and within their virtual environment. In the years following the emergence of the Metaverse theme, fresh allusions surfaced across various mediums, including films and games. Notably, in 1999, the movie ”The Matrix” was released. It tells a story where the current world is destroyed and dominated by androids, and everyone lives in the virtual world. In 2003, the game ”Second Life” was launched, which has a virtual world where users can create 5
avatars and interact with others while exploring the virtual environment. Figure 1presents a timeline outlining the main stages and events necessary for developing the Metaverse. The advent of the Internet enabled global connectivity, laying the foundation for online games such as ”Second Life”, as previously discussed. Soon after, the creation of the bitcoin cryptocurrency and then Blockchain technology in 2009 were fundamental for establishing the economy and security within the Metaverse. Then, the development of Oculus VR in 2014 allowed users to have greater immersion within the virtual world, transforming the previously only passive experience into active and iterative [2]. Since then, the Metaverse has become a reality, mainly in the development of games, where improvements in hardware technologies and software optimization have been achieved [1]. Thus, in 2021, the Metaverse became a focus of investment and development within the gaming world and for large technology companies such as Microsoft and Meta, which launched platforms and technologies for the Metaverse. Figure 1: Metaverse development timeline [1] Summarizing what was described, from the timeline with all the events in the development of the Metaverse, it is possible to trace and categorize it into stages. The authors in [13] divide the Metaverse into four moments: •Embryonic Stage - between 1995 - 2006, Metaverse literature and movies were developed. •Primary Stage - between 2007 - 2013, when the game industry started to develop many Metaverse games. •EBB Stage - between 2014 - 2020, there were few advances because technology was limited during this period. 6
•Development Stage - between 2021 - 2022, much investment has been made in the area to develop new technologies and integrate them. 2.1.2 Metaverse characteristics Through its characteristics, this subsection aims to explain why the Metaverse is an innovative new trend that will revolutionize society’s daily life. Metaverse was coined from two other words, meta and verse (meta has Greek origins, meaning to exceed or transcend, and verse comes from the universe) [13]. From this approach, it can be characterized as a new type of environment, a universe beyond what is known, a dissimilar reality. This new type of reality can be defined as a 3D digital space that combines the physical and virtual worlds, creating a unique experience and leading users through wearable devices to have a multi-sensory and immersive experience [13;14]. Another feature of the Metaverse, which is core to the platform, is the ability to support hundreds of millions of people interacting with each other online without time or location limitations, making it possible for users from all over the world to communicate whenever they want, revolutionizing existing social networks [14;20]. Ning et al. [13] described the Metaverse in terms of three characteristics: Sociality; Hyper-spatial- temporality; and Multi-technology convergence. In Sociality, the authors propose the existence of virtual social worlds where users can create avatars of themselves and interact with the environment and other users from various regions of the world. In addition, users can also teleport to different types of virtual worlds, go to events such as concerts or movies, or go shopping for their avatars using the platform’s economy. They define four design requirements for virtual social worlds to have the desired experience: Realism, users must be so immersed in the platform that they can feel emotions, and what they experience seems natural; Ubiquity, the ability to access the virtual world from anywhere using different devices; Interoperability, the system should follow the standards of the Metaverse platforms, enabling users to teleport to different worlds without any interruption to the experience; Scalability, the virtual social world must have the computing capacity to support numerous active users without any interruption to the experience within the environment. The [13] define the aspect of Hyper-spatial-temporality as a new paradigm of reality that breaks the concept of time and space in the real world. The Metaverse can simulate the real world but also create new functionalities and dynamics in the virtual world that cannot be replicated in the physical world. Creativity is unlimited within the 3D virtual world; it is possible to go beyond physical limits, teleport to different places in seconds, and interact with fantastic and dynamic objects that are impossible to find in the real world. ”Hyper” translates the experience within the Metaverse, an upgrade in everything known about reality. 7
Lastly, the Multi-technology convergence characteristic is about integrating many technologies essential to support Metaverse, such as Communication development, Digital Twin (DT),Internet of Things (IoT), Big Data, Blockchain, and Artificial Intelligence (AI), which in Section 2.2 they are described in detail. Within the Metaverse, in addition to the user having passive participation, in the sense of just exploring the virtual world, they can also collaborate in creating content within the platform. An example of an application that uses this medium is the game ”Roblox”, which has tools for users to create and share their world with others [21]. After being exposed to the Metaverse’s characteristics, it is possible to identify the main benefits it provides to users. The first is the ability to easily connect with other people from different regions of the world, which can create deeper connections with friends, family, and new people without distance limitations. Another benefit is the ease of moving between different virtual worlds, allowing users to visit any location almost instantaneously through teleportation. The characteristic of immersion, through the use of VR devices, allows users to have a more profound experience; in an educational environment, users have more engagement and more effective learning; the students learn concepts with practical activities and games so that they make mistakes and try again until they learn a particular concept [19]. Moreover, the last feature to be mentioned is the ability of users to collaborate and create their world according to their preferences, thus stimulating the user’s creative capacity. 2.1.3 Architecture and components In order to obtain a better perception of the Metaverse, it is vital to understand its architecture and the main components that make the Metaverse viable. Figure 2presents an architecture based on what Chang et al. [2] suggested, where there are three layers: the Physical world, which encompasses all physical entities that play an essential role in the use of the Metaverse; the Virtual world, a layer that includes everything generated within the Metaverse; Technologies, covers the main technological developments that are necessary to create the digital world. The three layers are connected, each depending on the other for proper functioning. The connection between the virtual and physical layers is essential for users to interact with the world and other users. The Technologies layer is essential for the user to have a satisfactory experience within the Metaverse. Subsequently, the following topics will delve into a comprehensive discussion of each component of the Physical and Virtual world layers; the Technologies layer will be addressed in the next section. 8
Figure 2: Metaverse architecture (adapted from [2]) Wearable devices In order to access a video on the Internet, it is necessary to use a device connected to the Internet, such as a cell phone or computer. Similarly, wearable devices are essential to establish a connection between the user and the Metaverse platform [22]. Wearable devices bridge the gap between the physical world and the virtual world [2]. Figure 3illustrates various types of developed devices, categorized based on their association with specific platforms. In the VR platform, the devices remove any sensation of the physical world, which makes the experience completely immersive by exclusively projecting the virtual world to the eyes (such as Meta Quest 2, Valve Index, Sony PlayStation VR, HP Reverb G2, and Haptx Gloves). As for AR, devices have the characteristic of having a display, usually through glasses, which overlay elements of the Metaverse over the real world (such as Microsoft Hololens, Magic Leap, Mojo Vision, Epson Moverio BT-350, and Google Glass Edition 2) [23]. 9
Figure 6: Performance comparison between 5G and 6G [2] 2.2.2 Blockchain The design of the Metaverse involves establishing connections among numerous people and integrating IoT devices that expand the connected entities within the Metaverse. Due to its high scalability potential, the amount of data that will be exchanged will be enormous. Therefore, there is a significant challenge in guaranteeing information security in its ecosystem. Technologies that rely on third-party organizations to mediate information exchanges, where there is centralized control of operations, cause the risk of single-point-of-failure (SPoF), which will not be efficient within the Metaverse [39]. XR applications adopt the concept of decentralization and require the help of decentralized technologies to ensure the security of operations within the Metaverse. Blockchain is one of the leading technologies supporting these requirements [13]. Blockchain, which originated from the cryptocurrency bitcoin in 2008 [40], is a distributed technology where peer-to-peer messages are exchanged over several nodes in a decentralized network [41]. Blockchain is mainly used for digital transaction operations and is closely linked with the financial services sector because it ensures transaction security [6]. Figure 7shows the main steps in carrying out a digital transaction to exemplify how the technology works. Firstly, when a transaction is requested, a block is created containing transaction details such as time, date, transaction value, information about 16
the people involved, and a unique hash code value that differentiates the blocks within the Blockchain network [42]. After the block is generated, all other nodes in the network need to verify the block transaction through a consensus mechanism among the majority to be validated [43]. This validation by several nodes allows decentralization and is no longer necessary to be performed by a third-party entity, such as a bank or a notary [44]. Once validated, the block is accepted and added to the Blockchain network’s end. Figure 7: Process of a transaction on the Blockchain [6] Through the exposed characteristics, the Blockchain can guarantee security, immutability, and transparency in the data exchanged [45]. In a possible cyber attack attempt on a transaction, the hacker will have an almost impossible mission in trying to make changes, as he needs to modify the hash of the transaction block and all other nodes involved [42]. Furthermore, the technology allows transparency in its operations, allowing the history of all transactions to be stored on a public Blockchain, which anyone can view at any time [46]. In the context of the Metaverse, Blockchain technology assumes a fundamental role due to its decentralized characteristic, allowing XR applications to access the necessary data without relying on mediating entities, ensuring faster, more transparent, and safer access [47]. In addition, Blockchain assumes significance in authenticating users within the Metaverse, facilitating virtual identity verification, and restricting permissions only to Metaverse users within the virtual environment [48]. All Metaverse activities, transactions, and digital assets will be recorded and tracked within the Blockchain network, allowing users 17
to access the network, submit transactions or content, and check its history [1;49]. Furthermore, the technology will be an essential part of the economic system for XR applications; it is predicted that most transactions within the system will be through cryptocurrencies so that the Blockchain network can provide security between these transactions [50;51]. In recent years, the use of Blockchain has grown, and a study was carried out on models and applications related to the Metaverse based on the technology. In the context of Mixed Reality, authors Ryskeldiev et al. [52] proposed a decentralized peer-to-peer model based on Blockchain, with virtual environments represented as blocks within the network. This approach is also present in the gaming world; an example is the company Vibe2, which developed an AR/VR Blockchain-based gaming framework where users can receive crypto-tokens according to game performance. In terms of managing a digital wallet, in the CryptoAR project [53], a Blockchain cryptocurrency wallet that uses AR to visualize products and control transactions was proposed. In the field of selling digital items, Cappasity3provides an AR/VR platform for creating and selling 3D photos using Blockchain-based tokens; in this direction, Descentraland4also offers a solution with a Blockchain infrastructure to create and sell different types of digital assets such as avatars and wearable assets. In the education sector, solutions have also been developed within the context of the Metaverse with Blockchain technology. Parthiban et al. [54] proposed a Blockchain-based model to improve authentication in the document verification process that could be incorporated into a Metaverse application. In [55], the authors proposed a prototype of an educational platform called VoRtex , which integrates VR and Blockchain to guarantee safety in learning within the virtual world. 2.2.3 Graphics The domain of computer graphics and its technologies plays a significant role in the conception of the Metaverse. All visual aspects within virtual reality, including scenarios, avatars, and other 3D virtual entities, are produced through rendering modeling technologies [56]. The evolution of 3D modeling began in the 1960s, enabling the digital representation of objects in three dimensions [57]. Subsequently, in the 1990s, with the advancement of GPUs, it was possible to perform the rendering part of a 3D object more efficiently and rapidly, due to a parallelizable feature of processor operations [58]. Recent years have witnessed further advancements in graphic visualization, followed by the demand advised by the growing sectors of games, entertainment, and the Metaverse, which highlight technologies for creating 3D assets to achieve realism in visualization [59]. Creating the virtual world and its 3D assets involves several steps 2https://www.vibehub.io/ 3https://cappasity.com/ 4https://decentraland.org 18
and methods. In [56], authors delineate two distinct approaches to constructing virtual environments: Physics-based Construction and Design-based Construction. The Physical-based methodology consists of replicating physical elements to virtual 3D models, a process exemplified by the DT technology, which simulates real-world scenarios [60]. The first step of the methodology involves data acquisition, where data is collected from the physical world and replicated in the virtual world. 3D cameras and Laser Scanners (LiDARs) technologies can perform this data collection by having sensors capable of acquiring 3D data and providing geometric information, shape, and scale of objects [61]. Subsequently, point clouds are generated from the acquired data, representing all points in 3D space of the captured object, and from these points pre-processing is carried out using techniques to filter essential information [62]. Once point clouds are preprocessed, the object undergoes 3D modeling, converting it into a geometric model with lines, cuboids, planes, and surfaces [56]. Subsequently, in the rendering phase, textures, colors, light, and materials are added to the object. If the object necessitates dynamic movement, an animation is implemented through Physics-based Animation, a computer graphics technique involving the application of physical theories to reproduce the movements of an object [63]. Figure 8illustrates the 3D reconstruction process of an urban environment, where some of the steps of the methodology are described. Other projects, such as [64], employ the GeoSLAM mobile LiDAR scanner to produce point clouds for generating DT of trees in the forest sector, aiding climate-smart sustainable forest management. For the pre and post-processing of point clouds, the authors in [65] point out efficient techniques for analyzing this data to help in DT development. Ariyachandra et al. [66] presented a framework that performs modeling using geometric patterns to create a DT of a railway, achieving a 90% reduction in twinning time. Design-based construction involves the construction of a virtual environment based on the designer’s imagination, allowing for the creation of fictitious objects that do not exist in reality, methodology commonly employed in VR games. The initial step in constructing such virtual environments entails gathering detailed requirements derived from the list of specifications outlining the desired features, along with 3D designer ideas. Once conceptualized, the process advances to the modeling and rendering phase. Many software tools are available for modeling and rendering 3D objects, categorized into three types according to Zhao et al. [56]. The first is Computer-aided design (CAD) software, which can perform design analysis, modeling, review, and documentation. Applications such as AutoCAD5and SolidWorks6, are widely used by engineers and designers to apply realistic parameters [67]. While CAD software focuses 5https://web.autocad.com/ 6https://www.solidworks.com/ 19
Figure 8: 3D reconstruction process of an urban environment [7] more on curve modeling, the second type of applications, such as Blender7and Maya8, are focused on polygon modeling, making it possible to perform 3D modeling and include aspects of rendering with lights, textures, and materials [68]. The authors define the last type of software as digital sculpture modeling, applications such as ZBrush9, which involve more of the designer’s artistic ability with more aptitude for sculpting and painting. Modeling software can be integrated with engines such as Unity10 and Unreal Engine 11, pivotal platforms enabling the combination of 3D objects while applying programming logic to create a virtual environment. These engines are crucial in the development of applications for XR [69]. In terms of projects and research related to this methodology for creating 3D digital assets, the project by Hunde Regassa [70] used SolidWorks-CAD software to model a manipulator robot for a virtual realm where there is a simulation of the manufacturing process. In [71], a VR application was created to the Taharah learning (religious purification ritual of Islam) using Blender software to create 3D models and animations. Furthermore, VR applications made by Unity include ManySense VR [72], a framework for 7https://www.blender.org/ 8https://www.autodesk.com.hk/products/maya/ 9https://pixologic.com/ 10 https://unity.com/ 11 https://www.unrealengine.com/en-US 20
collecting data from different sources that can be reusable. Unity is also widely used in the VR games domain, with games like BeatSaber12, The Room VR13, Zenith14, and TownshipTale15 all developed using Unity [73]. The Metaverse requires that applications have an immersive and realistic experience, meaning that the 3D models have many polygons, producing many 3D geometric artifacts [74]. Furthermore, these applications must render images in real-time [48], placing a substantial burden on the processor, particularly the Graphics Processing Unit (GPU), responsible for image rendering, thereby significantly impacting user experience [75]. Numerous research are exploring alternatives to minimize efficiency losses in image rendering. In order to solve the GPU bottleneck issue for real-time rendering, Lee et al. [76] proposed an object-culling technique using vertex chunks, which consists of grouping the input data into chunks, and the culling technique is used in the CPU. In [77], a hybrid rendering solution is proposed, distributing rendering between the client device and the remote server, maintaining consistent frame rates despite fluctuations in connection latency. Another method that has proven to be effective is recycling pixels in the periphery by reprojecting them from previous frames, resulting in a significant decrease in processing and shading costs [78]. Furthermore, to reduce shading costs in real-time rendering, Mueller et al. [79] introduced a framework that uses a temporally adaptive shading technique, which involves reusing shading over time. The tool showed results of saving more than 57% of calls to shaders. 2.2.4 Artificial Intelligence In the current era of rapid technological development, the exponential increase in usage has resulted in the generation of massive amounts of data, called Big Data [80]. The technology that benefits from this abundance of data and can analyze it efficiently is AI [81]. AI permeates everyday society in several sectors. In entertainment, it can produce recommendation models based on user tastes, including content recommendations for streaming films and videos on social networks [80]. Additionally, AI powers chatbots, with virtual assistants that produce automatic responses according to users’ needs. Moreover, it plays a crucial role in image analysis and generation, where AI can do facial and body recognition and produce 3D images. Furthermore, it also plays a crucial role in predictive analytics, leveraging historical data patterns to predict the future state of an asset. Machine Learning (ML) and Deep Learning (DL) are the primary branches of AI that contain the main algorithms utilized thus far to develop models for these 12 https://beatsaber.com/ 13 https://www.fireproofgames.com/games/the-room-vr-a-dark-matter 14 https://zenithmmo.com/ 15 https://townshiptale.com/ 21
applications. ML serves as a subset of AI, emulating human learning behavior and performing self-learning through experiences, which, for machines, translate into data [82]. ML operations rely on algorithms that need to process an immense amount of data to train the model and thus be able to make predictions, detections, and generations [80]. The DL subclass has the distinction of having multiple layers for data processing [1]. DL is also known as artificial neural networks, as it resembles the functionality of neurons, with the machine capable of establishing neural connections through multiple levels of data processing in a hierarchical manner [80]. An example of an artificial neural network structure is represented in Figure 9, comprising data processing layers containing numerous nodes, named artificial neurons, that process their data and pass it on to the next one [8]. This neural network structure can learn and perform tasks on more complex and larger data structures compared to ML, such as image processing [83]. Figure 9: Neural network structure [8] AI is used in conjunction with various technologies to obtain an improved solution. The convergence of AI with the technologies previously covered in this section will be presented, including Communication, Blockchain, and Graphic technologies. •Communication: Communication within the IoT ecosystem involves immense data exchange 22
among a multitude of mobile devices. AI can benefit these intelligent systems by analyzing and making decisions on large amounts of data more efficiently with the help of ML algorithms [84]. The high level of connected devices can cause bottlenecks in the network. By incorporating the AI model called Federated Learning (FL), which is made up of ML models in a decentralized distributed manner in end devices [85], it will be possible to improve network congestion by performing data analysis close to the sources of data [86]. As example of AI-enabled IoT application, Maciá Pérez et al. [87] proposed a Key Performance Indicator (KPI) for Smart Cities to check air quality, using neural networks to support decision-making, estimate the number of occupants in space and the accumulation of CO2. However, even with AI on edge devices, there may still be problems related to latency in communication between devices. Chang et al. [2] proposed the combination of edge AI with 6G, thus promoting a solution with lower latency, stable connection, and security within the network. Furthermore, in addition to 6G improving AI solutions, the opposite also applies. ML techniques are used to optimize various tasks within the mobile communications sector; including spectrum monitoring, automatic resource allocation, channel estimation, traffic off-loading, attack prevention, and network fault detection [1]. •Blockchain: Blockchain technology has been demonstrated to be very promising and efficient, but it still presents certain limitations and challenges. Liu et al. [88] presented the integration of Blockchain and AI technologies, showing how they can benefit to enhance themselves. One of the main issues in Blockchain is energy consumption and use of resources, where validation operations on the network require an intense computational level and constant use. AI can mitigate this issue through Proof-of-learning, where hashing-based puzzle validations are optimized using distributed ML models that alleviate the computational waste; an example of this approach is WecaCoin [89]. Additionally, in [90], the authors present a variant using DL, called Proof-of-Deep-Learning, which enhances resource utilization within the Blockchain network. Another limitation that AI can help with is privacy. With the constant exchange of sensitive data and the high volume of transactions, privacy is a critical issue. Anchain [91] is an example of an AI-enabled Blockchain security platform that protects digital assets by identifying possible vulnerabilities and investigating cybercrimes. In [92], the authors also present an AI-Blockchain solution for data preservation and prevention against cyberattacks. •Graphic: AI has significantly impacted image rendering and 3D modeling, fueling exponential evolution in this domain. Greengard et al. [58] analyzed the current significance of ML and DL models in 3D modeling. Notably, industry leaders such as NVIDIA and Google emphasized the 23
critical role of AI in achieving better speed and quality in generating ultra-realistic images. NVIDIA introduced Deep Learning Super Sampling (DLSS) technology, that uses DL to maximize the frame rate increasing efficiency and quality in image generation [93]. Intel has Xe Super Sampling (XeSS), which uses ML to reconstruct subpixels from neighboring pixels and doubles the efficiency compared to previous technologies [94]. Furthermore, Text-to-3D technology has witnessed significant development, enabling the generation of 3D images from user input texts, thus aiming to help artists and designers [95]. OpenArt 16 and DALLE-217 are examples of a platform that uses AI to generate images from text input. Yan et al. [96] introduced an AI-driven framework aimed at generating fashion-related images, thereby assisting designers in the fashion design process. The convergence of Communication, Blockchain, and Rendering technologies in support of the Metaverse has been evident. As demonstrated, AI enhances the utilization of each of these technologies, thereby also supporting the Metaverse. In addition to leveraging existing technologies for the Metaverse, Huynh-The et al. [1] conducted a survey illustrating how AI can enhance the 3D immersive experience and deliver better virtual services within the environment. The survey underscores the digitization of real-world actions such as facial expressions, emotions, body movements, physical interactions, and speech into the virtual realm, where AI can standardize and efficiently process these actions. With this data analysis, it is possible to create several features for the Metaverse. It is possible to create accurate avatars, through an AI engine that can reproduce and simulate the human being by processing 3D images and analyzing human behavior [48]. In simulating human behavior, AI assumes a vital role in the design of Non-Player Characters (NPC), which are avatars that act as robots to interact with users and can serve as virtual assistants within the world [1]. NPCs are significant in the gaming sector, as evidenced by games like Star Atlas [97], a VR space exploration and strategy game featuring NPCs implemented based on ML algorithms to generate intelligent and competitive characters. Furthermore, AI contributes to the generation of virtual worlds. As mentioned previously, NVIDIA has the DLSS project [93], which maximizes the frame rate for generating images with DL. Nonetheless, NVIDIA also has several AI projects of 3D model creation for virtual environments [98]. Examples include: Audio2Face18 and Audio2Gesture19, which utilize audio to produce 3D animations; MoveAI20, which generates animations from body movements; Lumirithmic21, a project that does 3D face scanning; and Elevate3D22, using 360-degree videos to generate 3D objects. 16 https://openart.ai/ 17 https://openai.com/index/dall-e-2/ 18 https://www.nvidia.com/en-us/omniverse/apps/audio2face/ 19 https://docs.omniverse.nvidia.com/extensions/latest/ext_audio2gesture.html 20 https://www.move.ai/ 21 https://www.lumirithmic.com/ 22 https://www.elevate3d.ai/ 24
2.3 Metaverse applications To demonstrate the establishment of the Metaverse and highlight its current relevance, this section presents examples of key applications across various sectors, along with the benefits they offer. These examples illustrate how the Metaverse is already integrated into different industries, showcasing its potential and real-world impact. 2.3.1 Healthcare The Metaverse, with its innovative characteristics, offers new opportunities and benefits across various sectors, with one of the most impacted being the healthcare industry. The XR provides immersive capabilities that are particularly beneficial for the healthcare ecosystem. It will enable doctors to perform medical procedures more efficiently and empower patients to easily access information about their health conditions [1]. AR technology, by overlaying virtual data onto physical reality, can help doctors visualize patient data in real-time, such as body temperature, blood pressure, and heart rate, or even locate a vein that is difficult to reach [48]. VR allows the creation of virtual environments that enhance user experiences and provide various benefits in the healthcare sector. VR is utilized for training doctors, simulating medical procedures, rehabilitating patients, and other medical practices [99]. Investments and research into the development of the Metaverse applied to the healthcare area are not recent. Between 1996 and 2016, “Medicine Meets Virtual Reality” conferences were held, where improvements in medicine using VR were discussed [100]. In 2012, an advanced X-ray Computed Tomography (CT) facility was created on the Second Life virtual platform to make nano-CT training more immersive, indicating in tests a reduction in training time [101]. The development of new technologies over the years and the strengthening of the Metaverse opens up new possibilities and better implementations in the healthcare sector. The COVID-19 pandemic in 2019 exacerbated the challenges of conducting certain activities remotely. In healthcare, the training of doctors faced obstacles, as practical activities could only be conducted via Zoom meetings [102]. In order to solve this difficulty of learning in practical activities, Metaverse platforms can offer the necessary immersion for interactive practice lessons in medical education [1]. Beyond its role in training, the Metaverse offers opportunities to benefit various other sectors within medicine. In the diagnostic process, a virtual environment can be created by generating a DT of an organ, augmented with AI capabilities. This integration assists doctors in identifying anomalies and making diagnoses [103]. VR, AR, and MR platforms can also prove beneficial in the treatment of mental health 25
content alone is insufficient [137]. Virtual reality can recreate laboratories equipped with diverse tools and materials, allowing for simulations that are either impractical or risky in the physical world [14]. From this ability to recreate virtual 3D labs, educational institutions can reduce costs associated with maintaining physical environments. In addition, the Metaverse facilitates the recreation of significant, distant places [138]. For instance, students in Portugal can virtually tour NASA, visit the pyramids in Egypt, or explore galaxies, thereby enhancing their learning experience. The Metaverse also promotes inclusive education. It offers a platform where students with special needs can be integrated and accepted by their peers, fostering a collaborative learning environment [139]. A study by Stendal and Balandin [140] demonstrated that individuals with Autism Spectrum Disorder (ASD) felt more comfortable communicating within VR compared to a physical setting. Due to its potential to impact education, significant investments and applications of Metaverse platforms have been made in the sector. Meta, a leading company in the development of the Metaverse, invested approximately $150 million in Meta Immersive Learning to enhance learning development [141]. The Roblox Corporation, a reference in the Metaverse games sector, has an investment fund linked to education of around $10 million, aiming to benefit 100 million students with Roblox by 2030 [142]. Universities have also embraced and invested in the Metaverse. Sookmyung Women’s University created a Metaverse campus called Snowverse , which hosts university festivals, counseling rooms, auditoriums, and virtual libraries, allowing students to experience university life without the constraints of space and time, thereby improving academic efficiency [143;144]. In 2022, Segi University & Colleges created Segi MetaCampus, the first Metaverse campus in Malaysia, offering virtual classes, interactive environments for students, and other university experiences [145]. From a place creation perspective, some applications have created replications of famous places. For instance, Mubin et al. [146] described the Wonders of the World application, which virtualizes the Great Wall of China, the Pyramids of Giza, and the Colosseum, allowing students to have immersive experiences of these historical sites from anywhere. In South Korea, the application Zepeto serves as a social network where users create 3D avatars and interact in various 3D spaces [147]. Zepeto includes several activities such as games and educational activities, enabling teachers to conduct virtual sessions with students in selected virtual worlds [17]. Numerous studies and frameworks have been developed for applying the Metaverse in education. The study [14] conceptualizes the architecture of a Metaverse platform for education, connecting the physical and virtual worlds with the necessary technologies. This framework proposes several features within the virtual application, including intelligent NPCs to assist teachers with student learning, various learning environments, logging and analyzing student performance 32
data, and using Blockchain technology for learning authentication to ensure system security. Another notable framework is VoRtex [55], an open-source Metaverse platform designed for educational purposes. This platform integrates various features such as digital avatars, learning materials, and virtual classrooms, enhancing the overall educational experience in the virtual realm. HR training The COVID-19 pandemic was a pivotal event that led various sectors of society to adopt changes that have persisted even after the pandemic. One of these sectors was the corporate world. Due to mandatory social distancing, employees had to work remotely and adjust to this new reality. The home office experience was beneficial for many organizations, prompting them to close some of their offices and adopt remote and hybrid work modes (a blend of home and in-office work) [148]. These alternative work arrangements allow employees from all over the world to connect themselves. This paradigm shift necessitates that departments such as Human Resources (HR) adapt and face the challenge of managing people who are geographically dispersed [149]. Within this context of remote connection between people, the Metaverse and its technologies have the potential to revolutionize HR and establish a new work culture [150]. One of the primary activities of HR is training, which involves conducting and managing employee training to provide them with knowledge about company policies and essential skills for their job development. Conducting training within a Metaverse platform enables employees to have a more immersive, memorable, and enjoyable learning experience, aligning with the current standards of remote and hybrid work [129]. The Metaverse and its technologies offer various use cases within HR beyond training. Aydin et al. described three leading use cases: Talent Acquisition; Onboarding; and Training. In hiring and talent acquisition, virtual worlds can be created where simulations and tests can be conducted to evaluate a vast range of candidate competencies. For onboarding, which involves integrating a new employee into the company, an office DT can be created, allowing virtual simulations of processes that occur within the office. This helps new employees become familiar with the workplace, easing their adaptation to the company. Additionally, AI, one of the fundamental technologies integrated into the Metaverse, can perform various analytical and data management functions for HR [151]. AI can be used in talent management, providing employee data analyses to identify their skills and job performance. In this way, AI can assist HR professionals in making decisions regarding benefits and promotions for employees [152]. Moreover, AI can also support employee learning by creating customized learning plans based on their roles, providing feedback, and tracking their progress [153]. In HR training, Aydin et al. [129] summarize the main benefits of Metaverse to the sector. In social 33
engagement, the Metaverse can connect employees and facilitate collaboration, helping them achieve their goals more efficiently. The Metaverse has the potential to increase employee productivity. In VR, it is possible to create virtual environments for practical component simulations, eliminating the need for physical transportation to specific locations. In AR, additional data can be provided over the physical reality, helping employees perform their tasks more effectively. The immersive nature of the Metaverse, combined with gamification aspects, makes typically exhausting training sessions more engaging and attractive, thereby improving employee motivation to complete their training courses. Furthermore, the Metaverse helps reduce costs. With an online platform accessible from anywhere and with consistent efficiency, companies can decrease investments in physical infrastructure for hands-on training [153]. Moreover, in terms of safety, the Metaverse’s virtual simulation environments can ensure secure training. Some training must be limited due to risk factors and dangers associated with the practice, but in a virtual simulation, any type of training can be conducted safely [154]. An example of high-risk training is performing procedures on railways. The VR agency Nsocial [155] developed a VR solution for training employees in a railway facility in Lithuania, allowing workers to confidently train procedures without any risk within the simulation. To realize the potential of the Metaverse in impacting the HR training sector, feedback from professionals and researchers in the field is invaluable. A survey of 158 HR professionals was conducted to assess their views on how the Metaverse could impact the sector [129]. The results showed that 77.8% of respondents concluding that the greatest benefit of VR technology in HR is improving training and learning. Lim et al. [156] conducted a study analyzing 34 cases to explore the significance of the Metaverse across different HR segments. One of the analyses focused on training, where a comparative analysis between conventional technologies and the Metaverse was performed. The study concluded that the Metaverse has the potential to ensure greater effectiveness in employee training and development. Leaders from large companies already using VR training, such as Walmart, indicated that their employees felt more confident in their work due to their VR training experiences, demonstrating more effective learning [154]. Moreover, PwC, a large consulting firm, conducted a study across 12 offices to compare different learning modalities: classroom, e-learning, and VR learning, applying soft skills courses in collaboration with Talespin, a VR training solutions platform [157]. The study found that VR training can help employees learn faster, more efficiently, and at a lower cost. Due to the significant potential of Metaverse technologies in enhancing HR training, numerous solutions have been developed, and large companies have begun to adopt them. VRdirect [158] is a no-code VR platform that enables companies to create their projects on this platform. Big companies such as 34
Siemens, Nestlé, and Lufthansa utilize the VRdirect platform. For instance, Nestlé, in collaboration with VRdirect, initiated a project to create VR training at its Girona factory. This training is used to educate employees about hazardous areas of the factory to prevent accidents. Talespin [157] is another no-code platform for VR training, which offers three main features: the ability to create personalized VR content integrated with AI, enabling to design a solution based on the customer’s needs; performance indicators, which contains a dashboard to perform analysis and monitor user skills; and there is a library with readymade immersive learning content. There is also the XR Strivr platform [159], where it is possible to create training experiences in a scalable way, managing to host tens of thousands of students. Moreover, the VR Motive training platform [160] stands out by featuring multiplayer capabilities, enabling multiple-person sessions on training courses. 2.4 Challenges The Metaverse has many benefits and is innovative in several areas. However, it is worth highlighting that there are still challenges to overcome and issues to resolve to realize the Metaverse. These aspects are discussed below. 2.4.1 Security In the current era of the Internet and Big Data, a massive amount of data is exchanged. As new technologies develop, the volume of data continues to increase, thus causing a significant challenge in ensuring the security of this large amount of data [4]. The data security follows the main properties: Confidentiality, a property that guarantees access to data restricted to authorized personal use; Integrity, which ensures that data is not altered during processing without permission; and Availability, which is the user’s ability to access their data at any time without interruptions [161]. The Metaverse, integrated with IoT technologies, will significantly impact the volume of information exchanged between devices. This immense amount of data exchanged by devices is transmitted over networks and stored in a data center. However, sometimes, the transmitted and stored data does not have any security protection, allowing the data to be susceptible to cyber-attacks [1]. One of the most significant security challenges involving users’ data is ensuring the privacy of their information. Vast amounts of personal data are collected daily from social networks, Internet searches, streaming applications, and other platforms [162]. However, users often surrender their data unconsciously, as many application products are only accessible if users provide their information, often without 35
understanding what data is collected [163]. With advances in the development of ML algorithms, it is possible to apply social engineering, which involves analyzing user behavior and making assumptions about their tastes and personality. This analysis can be misused, compromising the users’ privacy [163]. With the advent of the Metaverse, many privacy risks appear due to the increased variety of information captured from users. XR devices can daily collect additional information from users regarding eye-tracking, body movements, and real-time emotional responses [2]. Therefore, implementing robust security measures is essential to guarantee user privacy within the Metaverse. The first necessary action is the regulation of the Metaverse, establishing laws that limit the companies’ use of data and enable users to monitor what information is being collected [25]. In the study [163], two security mechanisms were proposed to prevent privacy violations within the Metaverse. First, they propose the clone cloud , which consists of creating multiple copies of the user within the virtual environment, creating significant difficulty for a cyber attacker to steal and observe user behavior within the Metaverse. The second mechanism is the private copy , which allows users to create a private session for specific experiences. For instance, when purchasing within the virtual world, a user can create a private session, ensuring that their actions cannot be accessed by others. Due to the potential amount of data to be circulated within the Metaverse, ensuring both data security and privacy is paramount. AI and Blockchain technologies have several advanced mechanisms to secure data sharing, storage, acquisition, and protection against attacks [88]. Tanwar et al. [164] demonstrated that several ML and DL algorithms can perform data analysis, detecting and classifying threats from possible attacks against the system. In the health sector, a differentially private federated learning technique was proposed [165]. This technique is a mechanism that takes advantage of the decentralization characteristic of the FL algorithm to train models based on clinical data without sharing patient information, thus ensuring data confidentiality. Blockchain technology has proven to offer decentralized methods that guarantee data security within its network. In the study [166], a Blockchain-based architecture was proposed to enhance security in data sharing between IoT entities. This architecture aims to ensure trusted and decentralized data exchanges by enhancing privacy. Given the potential of AI and Blockchain technologies to improve data security, integrating these technologies can further elevate security levels. Lu et al. [167] proposed the DT wireless networks, where real-time data computation is distributed across the network edges. Moreover, they introduced a framework integrating FL into the Blockchain network, enhancing security and privacy. In [168], DL was used on a Blockchain IoT framework, where a security improvement was achieved through greater efficiency in interpreting and detecting threats against the system. Furthermore, Weng et al. [169] proposed the DeepChain , a DL system based on Blockchain technology, proposed 36
to achieve the three key security objectives: Confidentiality; Auditability; and Fairness. These integrated approaches highlight the potential of combining AI and Blockchain technologies to provide robust security solutions for the Metaverse and beyond. 2.4.2 Ethics The Metaverse has the potential to revolutionize the way people communicate and socialize. Using avatars, people will have a new identity within the virtual realm [170]. Due to the immersion characteristic, more and more users must join the Metaverse platform and consider it a new type of reality, implying more complex social relationships [2]. The Metaverse aims to be a global platform that will host users from all over the world from different cultures [25]. However, it is fundamental to highlight and discuss moral and ethical issues in adopting the Metaverse as dangers that must be prevented and combated. There is a significant conflict between the real and virtual world. Behaviors practiced in virtual realm often contravene the moral norms of real society [2]. As the virtual world is designed to depart from physical reality, people acquire greater freedom and can extrapolate by committing unethical attitudes. This theme is prevalent in gaming, where fictional characters and various narratives often encourage such attitudes. However, in the Metaverse, which aims to be an extension of reality, fostering community and coexistence, not all behaviors will be tolerated. Using avatars allows individuals to mask their true identities, potentially leading them to commit unethical acts such as disrespect, prejudice, cyberbullying, and manipulation to steal sensitive information, thereby posing threats to user privacy within the Metaverse [163]. Furthermore, the anonymity afforded by digital environments can embolden individuals to commit serious crimes such as murder, assault, burglary, or rape, actions that are illegal in most countries [171]. The Metaverse aims to be a universal platform accessible to users worldwide. Globalization raises substantial concerns. Different cultures, governments, and civilizations lead to differences in ideologies that can give rise to numerous conflicts, including political, religious, and racial tensions [172]. These potential conflicts underscore the need for stringent ethical guidelines and regulations to govern behavior in the Metaverse, ensuring it remains a safe and inclusive space for all users. The initial approach involves regulating the platform by establishing rules restricting abusive behavior, thereby protecting users and maintaining order and justice within the Metaverse community [25]. Such regulations must be inclusive of cultural, racial, religious, and gender differences to prevent conflicts and ensure an accessible platform to everybody [172]. In this regard, major companies are already measuring efforts and creating mechanisms to avoid problems in social iteration in the Metaverse. For instance, Apple [173] has secured a patent to protect users against cyberbullies and harassers. The patent enables users to ban intruders 37
from their virtual session, making these intruders invisible within the virtual environment. 2.4.3 Hardware For the Metaverse to become a viable and widely adopted platform, it requires a robust infrastructure capable of supporting its extensive user base. XR technology, while promising, is still in its developmental infancy and faces numerous challenges before it can reach its full potential [13]. Among the primary challenges are: providing the necessary hardware for optimal user experience; ensuring that XR devices are affordable; enhancing network performance; and improving computational resources. Each of these challenges will be discussed in detail below. User experience To ensure the necessary immersion of the Metaverse, it is crucial to have appropriate devices that support seamless user experiences. Although many devices can capture some of the person’s movements, they must also be equipped with sensors capable of detecting more complex and subtle movements to provide a smooth and immersive experience for users [13]. Another essential feature is voice recognition, which needs to be highly accurate to enhance user interactions, and integrating AI services can further improve the overall experience [25]. Furthermore, current XR devices still suffer limitations related to small viewing angles and sensor range, which can be addressed by incorporating more sensors and improving signal processing algorithms [174;2]. Additionally, it is vital to ensure accessibility for users with disabilities or motor difficulties. This can be achieved through the use of haptic technology, with eye-tracking and the detection of subtle movements [25]. Moreover, when using VR glasses, users can lose awareness of their physical surroundings, posing a risk of injury if they attempt to walk and collide with objects. To mitigate this issue, Disney recently announced the Disney HoloTile technology [175;11], as depicted in Figure 12. This innovation features a 360º treadmill that allows users to walk in any direction without leaving the treadmill’s area, thus enhancing safety and immersion. 38
Figure 12: Disney HoloTile treadmill [11] Price The Metaverse aspires to be a platform for a large number of users around the world. However, to reach a large number of people, it is imperative to offer devices at affordable prices. As of 2024, the average price of an Oculus VR headset is approximately $427. More advanced devices, equipped with additional features and sensors, can cost upwards of $1,000 [176;177]. Therefore, a significant challenge lies in reducing production costs while maintaining high-performance quality to deliver the immersive experience demanded by the Metaverse [25]. Networking In networking, there is a big challenge in delivering a good quality of experience to all Metaverse users. The platform’s aim of supporting a vast network of users in real-time, coupled with the need for very low latency, high speed, and reliable rates, imposes substantial demands on supporting technologies [25;2]. Due to these requirements, considerable efforts have already been directed toward developing methods, optimizations, and technologies to enhance communication performance. Emerging technologies such as 6G and quantum communication have the potential to significantly improve performance [178]. Additionally, adopting decentralized and distributed data processing methods at the edges, such as Coded 39
Distributed Computing [179], can help reduce communication latency. Moreover, enhancing content delivery using caching mechanisms such as the Content Delivery Network can substantially decrease data delivery times to end-users by storing content closer to them, thereby significantly reducing latency [180]. Computational power The Metaverse will involve the processing of a tremendous amount of data arising from the real-time iteration of countless users spread across the world. To be sustainable, it will require great computational resources [114]. A factor that requires a lot of computational resources is the rendering of the Metaverse’s 3D environments, where it is necessary to process large quantities of complex 3D objects to produce the most realistic models [25;181;182]. Consequently, computational power is fundamental to the design of the Metaverse, making it crucial to enhance infrastructure and adopt methods that ensure a highquality user experience. In terms of rendering, performance can be improved by distributing processing across multiple machines, thereby reducing time and optimizing resources to render a scene [183]. Cloud computing can also be utilized to handle compute-intensive workloads, with rendering tasks distributed to the cloud [25]. Several services offer Metaverse-optimized solutions that perform rendering in the cloud, such as Tencent Cloud’s Metaverse-in-a-Box 23 and Alibaba Cloud’s Metaverse Solution24. Moreover, advancements in computing power are essential. High-performance computers, or supercomputers, have been developed to significantly enhance computational performance. Additionally, quantum computing, still in its early stages, holds the potential to revolutionize the industry and exponentially boost computing power [114]. By leveraging these technologies, the Metaverse can achieve the necessary computational capabilities to support its vast and complex virtual environments. 2.4.4 Side effects The Metaverse and its technologies, despite their substantial potential and numerous benefits across various sectors, raise significant concerns regarding their impact on society and individuals. These concerns must be thoroughly debated and addressed. The Metaverse aspires to create a new reality where individuals can conduct daily activities such as working, studying, shopping, and socializing within this immersive environment [170]. However, the highly engaging nature of the Metaverse may lead to addiction, resulting in a phenomenon termed cyber-syndrome . This addiction can have detrimental effects on both mental and physical health due to the sedentary lifestyle and social isolation associated with prolonged use. Con- 23 https://www.tencentcloud.com/solutions/metaverse-in-a-Box 24 https://www.alibabacloud.com/en/solutions/metaverse?_p_lc=1 40
sequences may include psychiatric disorders, cardiovascular diseases, obesity, hypertension, and other related health issues [25;184]. Additionally, the allure of forming relationships within virtual reality may surpass the appeal of real-world interactions, potentially undermining social connections and complicating the establishment of meaningful relationships in physical reality [17]. To mitigate these adverse effects, it is crucial to implement preventive measures. One effective strategy could be the integration of digital education about the Metaverse in school curricula, educating students on the potential risks and promoting healthy usage habits. To combat sedentary behavior, incorporating physical activity within virtual reality, such as using devices like the Disney HoloTile [175;11], can encourage movement and exercise without spatial limitations. In addition to side effects related to cyber-syndrome , there are also reactions associated with bodily discomfort due to prolonged exposure to virtual environments, known as cybersickness [185]. Garrido et al. [186] indicated that approximately 65% of users experienced some adverse reactions after engaging with a Metaverse platform. The immersive nature of the Metaverse imposes a substantial cognitive load on users, increasing the demand on their cognitive systems [185;187]. Cybersickness can be caused by many factors related to the equipment used, such as camera movement, camera angles, fields of vision, and suboptimal gameplay controls [188]. The study [186] also highlighted the significance of individual susceptibility to cybersickness , influenced by age, sex, and visual acuity. To combat the effects of cybersickness , improvements in XR hardware and equipment are essential to provide users with the smoothest experience possible. According to an article by the Interaction Design Foundation [189], several potential enhancements to XR equipment could help mitigate cybersickness . One such improvement is the adoption of biometric feedback, which monitors users’ physiological responses, such as heart rate and eye movement, and adjusts the VR environment accordingly to minimize discomfort. Another promising enhancement is the implementation of haptic feedback, allowing for more intuitive and complex input commands based on hand gestures, eye movement, and voice. This can reduce the complexity of controls and create a more fluid and user-friendly experience. 41
In a three-dimensional development environment, each property—position, rotation, and scale has three coordinates: X; Y; and Z, which can be adjusted to modify the object’s attributes. When objects are organized into hierarchies, manipulating the Transform properties of a parent object will proportionally affect all its child objects. This hierarchical relationship ensures that changes to the parent object’s Transform properties, such as moving, rotating, or scaling, are inherited by its children, maintaining their relative positions and orientations within the Scene . This foundational understanding of the Transform Component is crucial, as it underpins the spatial manipulation of all Game Objects within Unity, enabling developers to create and control dynamic and interactive 3D environments. Animator All element animations in Unity are configured using Component Animator 8. Within this Component , the Animator Controller property allows for detailed manipulation of animations. Animations in Unity are based on the principle of animation clips, where are defined specific transitions for objects, such as movement and rotation. These transitions are organized into animation states, enabling the creation of different animation behaviors for each state within the defined layer. Mesh renderer & Filter To render any 3D model within the Unity virtual environment, the Mesh Renderer and Mesh Filter Components 9are essential. The Mesh Filter includes a field where the asset’s reference to the 3D model’s structure of vertices and triangles is specified. This Component essentially holds the geometric data of the 3D model. The Mesh Renderer Component is responsible for rendering the mesh referenced by the Mesh Filter . It allows the addition of materials, textures, and colors, and also enables the configuration of how light interacts with the object. Together, these components ensure that 3D models are accurately displayed within Unity, providing the necessary visual detail and realism in the virtual environment. Audio source The Audio Source Component 10 is responsible for configuring sound effects in the virtual environment within the Scene . It allows the association of an audio clip to specify the sound and provides various 8https://docs.unity3d.com/Manual/AnimationOverview.html 9https://docs.unity3d.com/Manual/class-MeshRenderer.html 10 https://docs.unity3d.com/Manual/class-AudioSource.html 48
configurable fields. These fields include defining the sound range, setting the audio to loop, muting, adjusting the volume, and other audio settings. This Component ensures that sound effects are accurately and effectively integrated into the Unity environment, enhancing the immersive experience. Video player The Video player Component 11 is utilized for attaching videos to objects. It renders the video onto the material and texture of the object, necessitating the configuration of spatial dimensions, color tones, and other properties within the specified material to ensure the video fits seamlessly. Additionally, the Component allows the association of the video’s audio with the Audio Source Component , enabling the configuration of sound settings accordingly. It provides fields for various settings, such as starting the video upon initiation, enabling looping, and other customizable properties. Collider The configuration of collisions in game development is a fundamental aspect of ensuring proper interaction and functionality within a game, especially when objects come into contact and interact. Unity utilizes the Collider Component 12 to define an object’s physical boundaries, enabling it to collide with other objects. In the 3D environment, Unity offers three primary collider formats: Box Collider , representing a rectangular prism; Sphere Collider , representing a spherical shape; and Capsule Collider , resembling a cylinder. The Collider size can be adjusted independently of the object’s proportions and remains invisible during runtime. A fundamental feature of the Collider Component is the trigger option. When activated, this allows objects to pass through each other while still enabling the detection of collisions through event functions, facilitating interaction without physical blocking. Rigidbody In addition to collisions, another fundamental aspect of game development is the game physics. The Component responsible for handling physics simulation within Unity is the Rigidbody Component 13. This Component allows for the configuration of various physical properties, such as mass and gravity, and enables the application of velocity and acceleration to objects. When an object has both a Rigidbody and a Collider Component , Unity automatically applies physical behaviors, including collisions and gravity, 11 https://docs.unity3d.com/Manual/class-VideoPlayer.html 12 https://docs.unity3d.com/Manual/CollidersOverview.html 13 https://docs.unity3d.com/ScriptReference/Rigidbody.html 49
without the need for additional code to modify its behavior. This integration ensures that objects interact realistically within the virtual environment, adhering to the laws of physics. Script To apply logic to objects within Unity, the Script Component 14 is utilized. The default programming language for scripting in Unity is C#. Each Game Object can have multiple associated C# files (with a .cs extension). Through scripting, developers can extend the functionalities of other components, modify their properties, and access various fields within each Component . Additionally, scripts allow for programming actions to be executed at the start of the program, during each frame, and in response to specific events occurring over time. This capability enables the creation of dynamic and interactive behaviors within the game environment. 3.4 Components examples In the previous section, the main elements of Unity were introduced, along with the most frequently utilized Components within the project. To provide clarity and facilitate visualization of how these Components are employed, this section presents concrete examples of objects on the island that incorporate these Components . 3.4.1 Palm tree In Figure 16, there is an example of a palm tree object, with numerous clones spread across the island, playing a fundamental role in the visual characterization of the program. The palm tree Game Object exemplifies the assignment of the Mesh Filter , Mesh Renderer , and Collider Components . The Mesh Filter is responsible for loading the 3D model of the tree, including all triangles and vertices. The Mesh Renderer Component applies the material that gives texture and color to the palm tree, enabling its rendering. Additionally, the Box Collider Component defines the boundaries of the palm tree, ensuring that the avatar and other objects do not pass through the tree but instead collide with it. 14 https://docs.unity3d.com/Manual/CreatingAndUsingScripts.html 50
Figure 16: Palm tree Game Object 3.4.2 Theater screen In the theater area, a screen plays a video in a loop for demonstration. As shown in Figure 17, the screen exemplifies the Video Player and Audio Source Components . The Video Player Component loads the video by specifying its path in the project assets. Additionally, the video is set to ”Play On Awake”, ensuring it starts when the program launches and the loop option is enabled to play the video repeatedly. For the video renderization on the screen object, the render mode is set to ”Render on Material,” thereby associating the Mesh Renderer of the screen with the specific material for video rendering. Furthermore, the Audio Source Component is linked to the Video Player , allowing the video’s sound configuration. 51
Figure 17: Theater screen Game Object 3.4.3 Basketball The basketball Game Object exemplifies using a Rigidbody Component and an associated Script , as shown in Figure 18. The Rigidbody Component is crucial for the ball’s physical interactions, with pre-configured mass fields and gravity effects applied. However, the remainder of the ball’s behavior is configured within the Script Component . This script file is associated with the Game Object to program specific actions and modify other Components , including the Rigidbody . 52
Figure 18: Basketball Game Object 3.4.4 Avatars For the avatars within the island, as depicted in Figure 19, the Tranform and Animator Components play fundamental roles. The Tranform Component , ubiquitous in all Game Objects , allows the avatar position to be at a specific 3D location, rotated, and scaled as needed. The Animator Component is essential for enabling avatars to perform actions such as sitting or walking. Within the Animator , the controller field is assigned an Animator Controller , responsible for creating and managing different states and actions associated with the avatar. For example, the female avatar’s Animator Controller is configured to simulate actions like sitting and pretending to talk to another avatar. Additionally, the avatar field within the Animator Component is configured with the avatar’s skeleton and respective body part positions, ensuring that animations are fluid and accurate. This meticulous configuration is crucial for achieving realistic and seamless avatar movements and interactions. 53
Figure 19: Avatar Game Object 3.5 Summary This chapter explored the technological architecture of the solution, presenting the technologies used, their functions within the system, and their integration. It was possible to develop a functional application where the user can use the application through a generated executable, depicted in this chapter the user interaction with the system. The objective of deploying the application to different platforms was achieved, where it is possible to use them not only on desktop operating systems but also on Oculus VR. Furthermore, a comprehensive description of Unity was provided, highlighting its central role in the project’s development, key features, and illustrative examples. 54
Chapter 4 Features developed This chapter presents an overview of all the features developed within the Metapedia project, aiming to detail the functionalities and ensure alignment with the functional objectives outlined. This chapter aims to outline the functionalities developed within the project, including: the creation of a designated area for hosting courses; the development of interactive activities specifically tailored to the island environment; enhancements to the audiovisual elements of the 3D environment; and the establishment of a dedicated space for presentations and meetings. The functionalities that involve logic and code were represented through flowcharts, providing a more concise and simplified illustration of each method’s processes. 4.1 Methodology Software development involves intricate processes necessitating a well-organized structure among project participants to manage requirements effectively. A diversity of methodologies, such as Waterfall and Spiral , are used to maintain consistency and efficiency in development. In the context of the Metapedia project, the Agile methodology [190] was adopted. Agile is widely recognized and utilized by companies due to its flexible, rapid, and efficient approach to development. It emphasizes continuous iterations, with new features being developed and tested in successive cycles. This iterative process allows project stakeholders to monitor progress consistently throughout the Software Development Life Cycle (SDLC), enabling the identification and implementation of necessary changes to requirements mid-process without significant time loss. During software development, there must be methods to control and manage the development team’s progress and assign roles to each member. There are several Agile methods, such as Kanban and Lean , but the one used in this project was Scrum . Scrum emphasizes productivity through communication and meticulous planning [190]. A central element of this methodology is the concept of Sprints , which represent 55
iterations of feature delivery within the project. Each Sprint begins with a planning session, during which the team determines which features will be developed based on the project’s backlog. The backlog is a dynamic list of all project requirements, continuously updated to reflect stakeholder needs. At the end of each Sprint , the team presents a demonstration of the developed features to the stakeholders. Additionally, a retrospective meeting is held to discuss the positive and negative aspects encountered during the Sprint . This retrospective aims to foster a healthy team environment and to identify and address any issues that could impede development progress. 4.2 Functional goals The main objective of this project is to develop a virtual island serving as a platform to host user training courses. Regarding this macro objective, the following sections will describe several functionalities developed to fulfill the following functional objectives outlined for this project: • create a space for courses to be held; • create a connection with a course API. • create interactive recreational activities that serve as entertainment for users; • create a virtual reality application where the audio-visual aspect is appealing and immersive within an island; • create an environment where presentations and virtual meetings can be established; 4.3 Training courses environment One of the primary goals of the project was to establish a dedicated area to host the training courses. To align this concept with the island environment, a boardwalk with huts was designed, where each hut corresponds to a different course that the user needs to complete. The implementation consisted of dynamically generating huts based on the value of input courses, creating a board displaying the list of available lectures, interacting with the hut doors, and having a standby video in each hut for demonstration purposes. Additionally, preliminary research was conducted on an API containing user and course information, although this aspect remains in the early stages of development. The flowcharts used to describe the logic implementation of the functionalities have been adapted and may have components with special designations. All symbols used are illustrated in Figure 20, which 56
includes: Start of Flow , every flowchart starts with this symbol, representing the beginning of the sequence of actions; End of Flow , describes the end of the flow, which flowcharts that do not have this symbol indicate that they are continuously called until the application terminates; Action , symbolizes any action or event that takes place during the flow; External Flow , denotes the connection to an external process, logic, or flowchart; Decision , represents a point where the flow bifurcates based on a decision parameter; Decision in Loop , indicates a sequence of actions in a loop while the decision parameter is valid. Figure 20: Description of flowchart symbols 4.3.1 Visual components Visually, a boardwalk was designed to allow avatars to walk on a platform leading to the huts designated for individual courses. At the entrance of the boardwalk, a sign displays a list of courses with their respective titles. Each number on the list represents the course ID, an indication present above the door of each hut. Inside the huts, videos related to the selected courses are displayed. For demonstration purposes, sample tutorial videos were used in place of actual course content. In Figures 21 and 22 illustrate the external and internal layout of the boardwalk and the huts. The 3D models of the huts and the connectors for the boardwalk were repurposed from assets previously developed in the project. The sign displaying the list of courses was built from the following elements: a wooden stump reused from the project content; a 3D box created in Unity featuring a wood texture; and text displaying the course titles rendered using the Canvas Component . For the video presentations, was combined the existing model of a wooden easel with a 3D box from Unity to represent the screen displaying the video content. 57
4.4 Games Achieving the goal of developing recreational activities that entertain users, two games were created: a darts game and a basketball game. This section will describe in detail the implementation of each one, covering the creation of visual and logical elements integral to each game. Moreover, it explores how the games were designed to play also in multiplayer mode. Additionally, the section addresses the distinct challenges and differences in the game developments for Oculus VR. 4.4.1 Basketball One of the selected games for the project was a basketball game. Basketball ranks among the world’s top 10 most popular sports [191], known for its fun and competitive nature. The sport has inspired the development of many virtual games across multiple platforms, including mobile, web, console, and VR. As a well-known and intuitive game, basketball is engaging and easy to play. Concerning the project’s functional objectives, the basketball game aligns with providing users with spaces for entertainment and recreation on the island. The project included the development of a basketball shooting game. The gameplay consists of the players picking up the ball and aiming to score by throwing it into the basket, earning points for each successful shot. The following section will detail the game’s visual elements and the logic behind the key features integrated into the gameplay. Visual In Figure 28, the game’s visual elements are depicted, including the basket, the scoreboard, the field boundary marked by stones, the basketball, and a barrel to hold the ball. The 3D models for the barrel, ball, stone, and basket are assets within the project and were subsequently adapted for the game. The rocks were derived from an existing stone model within the project, creating numerous stones by altering the rotation and scale using the Transform Component , giving each stone a unique appearance. The construction of the scoreboard used Unity’s native 3D cube. Alterations in rotation, scale, and color were applied to the cube to create a scoreboard box. The text on the scoreboard was added by the Canvas Component 3, with the role of generating any UI elements in Unity. 3https://docs.unity3d.com/2020.1/Documentation/Manual/UICanvas.html 64
Figure 28: Basketball game visual Logic implementation For game implementation, scripts containing the logic governing in-game actions were essential. The logic encompassed features such as point counting and resetting the ball to its initial position when it exits the court. Additionally, for the desktop version, it was necessary to implement controls for interacting with the balls and executing throws. Two primary scripts were developed to ensure these functionalities: BasketManager.cs and BallThrow.cs . The BasketManager.cs script is associated with an invisible Game Object within the basket in the table, as shown in Figure 29. This script performs two main functions within the game: accounting for the game’s score and controlling the iterations and changes of ball state. Figure 29: Game Object containing the BasketManager script The point-scoring functionality in the game, a Box Collider was attached to a Game Object with a small scale and strategically positioned slightly below the basket’s rim. This placement ensures that points are accurately recorded only when the ball passes through the hoop, preventing false scoring if the ball merely hits the backboard or passes through the net without entering the basket. The Is Trigger field within the 65
Box Collider Component is enabled, allowing the detection of objects that pass through it. It is possible to perform actions based on this detection using the OnTriggerEnter function 4, a built-in Unity function triggered whenever an object enters the Collider . As illustrated in Flowchart 30, the logic initiates with the OnTriggerEnter function, followed by a check to determine whether the colliding object is the basketball. If this condition is validated, the game score is updated accordingly. Additionally, when the player successfully scores, specific audio-visual effects are triggered to enhance the immersive experience. These effects include the sound of the ball swishing through the net and a brief color transition to green, visually indicating the player’s hit. Figure 30: BasketManager.cs script flowchart with point-scoring functionality The logic regarding the interaction and ball throwing had to be implemented for the desktop platforms. Implemented in the BasketManager.cs script, as illustrated in Flowchart 31, this logic initiates within Unity’s Update function 5, which is executed in each application frame. The process begins by checking for user input, proceeding if the input corresponds to the left mouse button. Subsequently, the state of the ball is validated, as it can be in one of two possible states: either the avatar is holding the ball, or it is not. 4https://docs.unity3d.com/ScriptReference/Collider.OnTriggerEnter.html 5https://docs.unity3d.com/ScriptReference/MonoBehaviour.Update.html 66
Figure 31: BasketManager.cs script flowchart with ball state management functionality If the user is not currently holding the ball and attempts to click on it to pick it up, the system first checks whether the input was directed to the ball. This verification is performed by generating a Ray 6, an infinite line created from an origin (the avatar’s camera) towards the direction where the click occurred on the screen. If the Ray intersects with the ball object, several actions are triggered: the ball’s position is adjusted relative to the avatar’s hand; is played an audio clip to simulate the sound of picking up the ball; is updated the ball’s state to held state; and all physics related to the ball, including gravity, speed, and rotation, are temporarily disabled. For the interaction where the user is holding the ball, follow the logic of the ball throwing. First, it is verified if the user not only quickly clicks on the button. The validation logic follows the comparison of the time difference between pressing and loosening the button and a time threshold of 0.2 seconds. If the time of holding the button passes from the threshold time, it is possible to throw the ball. The ball physics 6https://docs.unity3d.com/ScriptReference/Ray.html 67
is enabled again before the throwing. The ball-throwing mechanics are performed by the external function ThrowBallAction presented in the BallThrow.cs , which will be explained this flow in detail subsequently. Finally, it is placed again in the state of not holding, allowing the player to click the ball and throw it again. Additionally, the BallThrow.cs script is attached to the basketball Game Object , and performs two main functions: applies the ball throwing mechanics and resets the ball to its original position. The Figure 32 illustrates these two functionalities across two different iterations. Figure 32: BallThrow.cs script flowchart managing the ball throwing and resetting events The mechanics of ball throwing begin with the ThrowBallAction public function. The function changes the speed of the ball based on the time difference between pressing and releasing the input button, a value passed from the BasketManager.cs script, which acts as a variable factor in determining the throwing force. Additionally, a launch vector is calculated to create a parabolic trajectory toward the point clicked on the screen, using an angle, an initial velocity, and a Ray generated from the clicked point. The final force vector is derived from the multiplication between the ball speed and the launch vector mentioned, and this force is then applied through the ball’s Rigidbody Component , making the throwing. To implement the functionality where the ball automatically returns to its initial position above the barrel after being thrown, eliminating the need for the user to chase after it, Unity’s OnCollisionEnter 7function is used. This function is triggered whenever the ball collides with another object . Upon detecting that the ball has made contact with the grass or sand, both potential surfaces outside the court, a one-second timer is initiated. After the timer elapses, the ball reset to its original position, with all initial settings restored. 7https://docs.unity3d.com/ScriptReference/Collider.OnCollisionEnter.html 68
4.4.2 Darts In addition to the basketball game, a dart game was adapted and created on the virtual island. Despite not having the same popularity as basketball, it is an intuitive and fun game. It is a game based on the principle of target shooting. The darts are throwable objects with the goal of hitting the target (dartboard). The dartboard has several rings around a small circle in the middle. The small circle is the most difficult to hit, consequently worthing the most points of the game. The other rings around it, the further away from the center, the smaller the score. A darts game was developed and adapted to the island’s context, with the objective of scoring as many points as possible within three attempts using three darts. After the three attempts, players can restart the game, which resets the score and returns the darts to their initial position. Three sections of the darts game were created to accommodate multiple people to play simultaneously. The following sections will present the visual design and the underlying gameplay logic. Visual The visual design of the game, as depicted in Figure 33, features three distinct sections for the darts game, each differentiated by the color of the darts: red, yellow, and green. The game elements include the darts, a restart button, a table to hold the darts and the button, a scorebox for tracking the player’s score, and a dartboard serving as the target. The 3D models of the darts, darts particle animation, and the dartboard were adapted from an open-source project available by Microsoft Mesh 8, which offers several example projects for experimenting with the Mesh framework utilized during the early stages of development. The tables were sourced from assets that already existed within the project. The restart button was constructed using the table, with modifications to its scale, position, and rotation, alongside a wooden stump and a restart icon from the available assets. The scorebox was replicated and adapted from the basketball game’s scorebox fitting to the darts game. 8https://learn.microsoft.com/en-us/mesh/develop/getting-started/samples/samples-overview 69
Figure 33: Visual of darts game Logic implementation In this darts game several features were developed: a scoring system that calculates points based on the position where the dart strikes the dartboard; a button to restart the game; and user interaction for throwing the dart, specifically designed for the desktop platform. To support these features, the scripts DartScore.cs , RestartDartBtn.cs , and DartBehavior.cs were developed. The game’s scoring system consists of three possible scores differentiated to each region of the dartboard. As illustrated in Figure 34, the dartboard consists of a central circle and two outer rings. The central circle contains the highest score of 10 points, while the outer rings decrease in value the farther they are from the center, awarding 5 and 3 points. To accurately register the dart’s collision with each scoring region, three trigger objects were created, one for each section of the dartboard. Each trigger was linked to the DartScore.cs script, which assigns the appropriate score based on the region hit, as shown in Figures 34 and 35. Figure 34: Dartboard 3D model with trigger circles 70
Figure 35: Central target circle as a trigger object The DartScore.cs script logic is illustrated in Flowchart 36. The process begins with the OnTriggerEnter function, which detects objects that collide with the trigger. The script first verifies whether the collided object is a dart from the correct game section. The verification ensures that darts from other sections, identified by different colors, do not interfere with the gameplay. If the dart’s color matches the game section, it is stuck in the dartboard, deactivating all its physics properties, including gravity, and resetting its speed. In addition, a sound effect associated with the dart’s impact on the dartboard is played. Finally, the score box is updated, adding the score corresponding to the specific region of the dartboard. Figure 36: Flow of DartScore.cs script For the dart behavior and its iteration, the logic of Flowchart 37 is followed, representing possible 71
iteration flows present in the DartBehavior.cs script. This script is attached to each dart and closely resembles the logic used in Flowchart 31 of the basketball game. Figure 37: Flow of DartBehavior.cs script The process initiates with the Update function, which is called every frame to monitor input from the left mouse button. The dart can be in one of two possible states: being held or not. If the dart is not currently being held, the function checks whether the input is directed toward the dart by casting a Ray toward the clicked position. If the Ray intersects the dart, the dart teleports to the avatar’s hand, deactivating the dart’s physics to maintain the dart in the avatar’s hand. Simultaneously, the dart’s state is updated to indicate that it is being held. In addition, when the dart is grabbed, sound and visual effects are performed to enhance user experience. The visual effects include particle release. This particle system is illustrated in Figure 38. 72
Figure 38: Dart particles system If the user is holding the dart and clicks to throw it, the dart-throwing mode begins. Throwing a dart is less complex than throwing a basketball because instead of having to make a parabola, the throw is straight toward the target. Therefore, dart physics is first enabled again to add forces to the object. Finally, a Ray is cast toward the point where the click was made, and a vector is generated based on this direction. The generated vector is then used to apply force to the dart, executing the throw. VRDT has implemented interactable User Interface (UI) objects in other solutions. Therefore, these objects were reused and adapted for the game restart button. Following Flowchart 39, the darts game restart feature starts with clicking the button, triggering the OnClick function. This function resets the position of the darts to their initial reference points. Additionally, the game score is cleared, allowing the game to restart from the beginning. Figure 39: Flow of RestartDartBtn.cs script 73
Various visual elements were added and modified, as shown in Figures 46 and 47. The first improvement focused on enriching the island’s flora by increasing the amount of vegetation and trees. The grass already available in the project was replicated and strategically placed across different areas of the island to create a denser, more natural landscape. For palm trees, there are two types: curved and straight. The scale and rotation of each tree were adjusted, generating diverse variations distributed throughout the island, increasing the realism. In addition to the vegetation, adjustments were made to the color tones of the sand and the ocean. Lighter shades were applied to reduce the stark contrast between the sky and the environment, resulting in a more harmonious and vibrant visual experience. Figure 46: Visual of the island after improvements, in landscape angle Figure 47: Visual of the island after improvements, in top angle Another fundamental enhancement was the introduction of avatars positioned throughout the island, addressing the issue of the island feeling isolated. These avatars were designed to simulate social interaction, with animations depicting them standing, talking to one another, and making gestures with their hands and heads. The 3D models and their corresponding animations were imported using Mixamo 12 , 12 https://www.mixamo.com/#/ 80
a platform that offers a wide selection of pre-made avatars and animations that can easily be exported to Unity. To further enhance the immersive experience, a comprehensive auditory landscape was developed for the island. Ambient sounds were introduced, including a continuous loop of birdsong and the gentle crashing of waves on the shore. Additionally, the campfire was equipped with the crackling sound of burning wood, configured with the 3D Spatial Blend . This setup adjusts the volume of the fire crackle based on the avatar’s proximity, creating a more realistic audio experience, making the sound louder as the avatar approaches the campfire and softer as it moves away. In addition to these ambient sounds, various audio effects were integrated into the games and videos to complement the visual elements and maintain a cohesive sensory experience. 4.6 Theater In addition to the boardwalk designated for training courses, the project envisioned a space for presentations and meetings. This feature aimed to transform conventional meetings by allowing participants to enter a virtual island environment for presentations, enhancing the platform’s appeal. Consequently, a dedicated theater area was developed, designed to facilitate this new mode of interaction. As illustrated in Figure 48, the theater area provides a visually engaging setting where users can either present or attend presentations. Figure 48: Visual of theater area In the initial development phase, a stage was constructed to simulate a presentation setup for demonstration purposes. This setup included a screen displaying a looping video visible from various locations on the island, with the audio only audible within the theater area, using the 3D Spatial Blend audio setting. 81
The theater visuals include a stage for the presenters to do their presentation and a spectator area for the spectators to watch the presentation. The stage was constructed from a 3D box with a wooden texture, with four wooden stumps used as supports at each end of the stage. Additionally, another avatar was placed on the stage to represent a presenter, and a screen similar to those used in the hut was employed for the visual display. The spectator area includes the positioning of existing chairs and avatars representing the spectators. 4.7 Summary This chapter sought to describe the features developed in the project to meet the functional objectives outlined. Regarding making a space dedicated to the courses, the boardwalk was designed, where several huts are dynamically built according to the number of courses needed, each intended to host a different course in the future. Two recreational activities, a basketball game, and a darts game, were created, with the implementation of each game detailed in this chapter. To enhance the immersion aspect within the island, audiovisual elements improvements were made, including adding vegetation, avatars, ambient sounds, and other refinements. For the future establishment of presentations and meetings within the island, a theater adapted to the island was created, with a dedicated stage for the presenter and a space with chairs for the watchers. Although the API integration was not fully developed, preliminary research was conducted on SAP API calls, which have the potential for future use. 82
Chapter 5 Tests & Optimizations After demonstrating all the functionalities developed in the project, this chapter seeks to present the tests carried out on the application, evaluate its performance, and identify potential issues. During the project development, corporate events occurred where the solution was demonstrated, with feedback collected from each participant, enabling the identification of possible problems and improvements to make. Regarding audiovisual elements, responses were overwhelmingly positive, particularly from individuals who had never used the Oculus VR before, with many expressing a sense of complete immersion in the virtual island environment. However, when interacting with the games, several participants reported challenges in gameplay. As previously discussed in Section 4.4.4 , adjustments were made to simplify the games, and participants who tested the revised versions expressed significantly greater satisfaction with the improved playability. Furthermore, another piece of feedback was that there were areas on the island with bottlenecks and blackouts on the Oculus screen, indicating a performance problem with the application. Since this is considered a critical problem, which can lead to a loss of fluidity in the application and cause nausea to users, this chapter intends to present tests on the application to identify performance problems, apply methods to optimize them and analyze the results comparing the optimized and unoptimized solutions. 5.1 Performance goals The main objective regarding the application’s performance is to provide a fluid experience, ensuring the best possible immersion. However, to ensure this objective, it is necessary to establish value targets for the metrics considered appropriate for a good user experience for VR applications. These value targets have to be defined based on hardware resources. The project leveraged the Oculus VR Meta Quest 2 to test the application in the virtual realm. For this device, Meta [192] establishes the following values for good performance appropriate for the application developed: 83
•FPS: 60 fps. •Triangle count: 750k-1M triangles. •Draw calls: 200-300 draw calls. 5.2 Performance metrics To evaluate the application’s performance, it is essential to utilize metrics that specifically indicate the effectiveness of VR applications. Based on the guidelines provided by leading VR development companies, including Google 1and Meta 2, as well as recommendations from the Unity 3game engine, the following key metrics were chosen: Frames per Second (FPS); Triangle count; GPU and CPU time; and Draw calls. FPS is a metric widely used in games, corresponding to the number of frames or images processed and displayed on a screen in one second. The higher the FPS, the more fluid the user experience will be. The triangle count metric corresponds to the number of triangles in a frame. It is a metric that designates the complexity of the objects in the image. The greater the number of triangles an object has, the higher its quality. However, this increased quality comes with a trade-off: higher triangle counts demand more processing power from the GPU, potentially leading to reduced performance. CPU and GPU usage were used as metrics regarding the time each takes to process a frame. This metric is fundamental for checking the workloads that each frame requires from the processors, allowing for the identification of bottlenecks and optimization opportunities. The draw calls count corresponds to the number of object rendering calls passed to the GPU. Each draw call contains object properties needed for rendering, such as mesh data, materials, and shader details. The higher the number of draw calls, the higher the overhead on the GPU. The tools used to collect the data and test these metrics at runtime are the following: Unity Rendering Statistics; Unity Profiler; and OVR Metrics Tool. The Unity Rendering Statistics is a window within Unity that, when clicked, displays rendering information about the application in play mode 4. On the other hand, the Unity Profiler is a Unity tool that gathers and exhibits more detailed application performance data 5. 1https://developers.google.com/vr/develop/best-practices/perf-best-practices 2https://developer.oculus.com/documentation/unity/unity-perf/ 3https://learn.unity.com/tutorial/3-2-optimization?uv=2022.3&courseId=60183276edbc2a2e6c4c7dae&projectId= 6018353dedbc2a0f634b7918#62a0d278edbc2a1f72e97cf0 4https://docs.unity3d.com/Manual/RenderingStatistics.html 5https://docs.unity3d.com/Manual/Profiler.html 84
The OVR Metrics Tool is a downloadable tool within the Oculus Meta that collects performance data from applications running within the Oculus 6. It is worth noting that the values of the metrics collected by Unity tools differ significantly from those of the OVR Metrics Tool. This occurs because Unity collects data performed by the computer’s hardware, and this desktop has a much higher performance than the Oculus, where the OVR Metrics Tool data is collected. Although the application focuses on VR devices, Unity offers a greater variety of metrics compared to the OVR Metrics Tool, which is relevant for testing and optimization. It is essential to acknowledge that the accuracy of the performance tests is not entirely reliable due to the dynamic nature of the collected metrics, which can fluctuate with each frame rendered. The test scenarios included directing the camera at two distinct sections of the island. One area featured a sparse arrangement of objects, and the other featured a densely populated area with numerous elements. The first location corresponds to the boardwalk area, as illustrated in Figure 49. This site contains a limited number of objects, resulting in lower rendering demands. Figure 49: Boardwalk scenario test In contrast, the second location involved rotating the camera 180 degrees from the previous vantage point, thereby capturing the entrance to the island, showcasing nearly all elements present within the environment, as depicted in Figure 50. This specific viewpoint, where most of the island’s objects are rendered, has been identified as one of the primary bottlenecks in performance. The objective of initiating the camera’s position at the boardwalk and subsequently turning to encompass the entire island is to observe the variation in the collected metrics, enabling the optimization of the application to minimize such fluctuations and enhance overall performance. 6https://www.meta.com/experiences/2372625889463779/ 85
Figure 50: Island scenario test 5.3 System specification Since the Metapedia project is still in its early stages of development, the primary goal was to create a functional prototype of a VR application using the available resources. As the project moves into future phases, and with potential stakeholder interest in transitioning to the production stage, enhancements in system resources may address many of the performance issues identified in the tests outlined in this chapter. Two devices were used in this project: the Oculus Meta Quest 2, representing the device to test the solution in VR; and a laptop provided by the company, used to develop and test the application on computer operating systems. The Oculus Meta Quest 2 uses an LCD panel with a resolution of 1832 x 1920 pixels per eye and a maximum refresh rate of 120 Hz. It is equipped with a Qualcomm Snapdragon XR2 chipset integrated with the GPU Adreno 650. The memory corresponds to 6 GB of RAM , 128 GB of internal storage, 1.8 MB of cache L2, and 4 MB cache L3. The operating system used is Android 10 and customized by Meta. The laptop uses a display of 1920 x 1080 pixels and refresh rate of 60 Hz. It contains the processor Intel i5-1145G7 integrated with the GPU Intel Iris Xe Graphics. It has a memory of 16 GB of RAM, 256 GB of internal storage, 320 KB of L1 cache, 5 MB of L2 cache, and 8 MB of L3 cache. The operating system corresponds to Windows 11. 86
5.4 Tests before optimizations As mentioned before, were identified performance issues in the application. However, before implementing any optimization measures, tests were conducted to compare with results after the optimizations. Following the testing methodology outlined earlier, two values were collected for each metric, one representing the boardwalk region and the other for the island area. GPU & CPU (Unity Profiler) Figures 51 and 52 display CPU and GPU usage data collected over a series of frames while the application was running in Unity’s play mode. From this data set, two peak points were selected to represent the scenarios mentioned earlier: the boardwalk and the island. These peak points correspond to critical frames where performance metrics were notably high. The selected frame for each area is marked by the vertical white line in the images, indicating where CPU and GPU usage peaked. •Boardwalk: The frame processing time on the GPU was 16.49ms and on the CPU it was 28.11ms. Figure 51: GPU time on boardwalk scenario using Unity Profiler •Island: The frame processing time on the GPU was 31.07ms and on the CPU it was 55.99ms. Figure 52: GPU time on island scenario using Unity Profiler 87
Draw calls & Triangle count (Unity Profiler) In the same Unity Profiler sample, additional performance data related to rendering is identified. Figures 53 and 54 display the Rendering window, which provides various metrics at the selected moment, including draw calls and the number of triangles per frame that need to be processed. •Boardwalk: 96 draw calls & 146.4k triangles. Figure 53: Draw calls and triangle count registered on the boardwalk scenario using Unity Profiler. •Island: 2641 draw calls & 1.6M triangles. Figure 54: Draw calls registered and triangle count on the island scenario using Unity Profiler. FPS (Unity Rendering Statistics) Using Unity’s Rendering Statistics tool, FPS metrics are collected in each region. Figures 55 and 56 show prints of a window with graphics performance data collected in the application’s play mode within Unity, varying the values with each frame. 88
•Boardwalk: 145.3 fps. Figure 55: FPS registered on the boardwalk scenario using Unity Rendering Stats •Island: 45.8 fps. Figure 56: FPS registered on the island scenario using Unity Rendering Stats FPS (OVR Metrics Tool) The OVR Metrics tool, different from Unity’s performance tools, collects performance data from applications within the Oculus. This tool also generates graphs with data collected during the application’s usage time. As illustrated in Figures 57 and 58, a white vertical line indicates the selected point, thus being picked according to the indicated regions. The FPS values for each are as follows: 89
Despite the existing application of the Static Batching technique to numerous objects, there are several additional elements that could benefit from optimization. The method was effectively applied to all static components of the island, including grass, palm trees, rocks, decorative items, wooden structures, and various other features. 5.5.3 Unity settings optimization Unity offers different configurations that allow application optimization for Oculus. Meta offers guides with suggestions for specific settings in Unity to enhance the performance of applications on Oculus. However, the project uses an old version of Unity (2019) and of Oculus (Meta Quest 2), and the recent Meta guideline follows newer versions of Unity with different features from the current Oculus. Therefore, was followed the recommendations of a post on the YouTube channel First Full of Shrimp [193], which applied and explained a deprecated Meta guideline that was useful for the current project version. Texture compression One of the initial configurations applied was the adjustment of the texture compression type for the Oculus application build. The Adaptive Scalable Texture Compression (ASTC) mode was selected. This format offers improved compression efficiency and greater flexibility in compressing an extensive range of textures. Rendering settings Unity offers various settings related to how objects are rendered. The first optimization applied was changing the Color Space setting from the default Gamma to Linear . These two modes differ in the intensity of light transmitted to objects and the way colors are blended 8. Using the Gamma color space, colors with greater luminance are much brighter than those with the Linear Color Space . Additionally, Gamma performs non-linear color blending, which is mathematically imprecise and can lead to unexpected results in rendering. However, the Linear mode performs more accurate calculations, leading to correct and realistic color blending. Therefore, Unity and Meta recommend using the Linear color space for more realistic and visually precise rendering in VR applications. Another optimization enabled was multi-threaded rendering. By default, Unity operates in singlethreaded rendering mode, where all rendering operations are executed on the main thread. In contrast, when multi-threaded rendering is enabled, Unity utilizes an additional worker thread alongside the main 8https://docs.unity3d.com/Manual/LinearRendering-LinearOrGammaWorkflow.html 96
thread to manage Graphics API calls associated with rendering. This parallel processing approach enhances performance by distributing the workload across multiple threads, which can reduce bottlenecks and improve overall application efficiency, especially in complex VR environments. Quality settings One aspect that significantly alters performance depending on the device’s capabilities is the quality of the rendered objects’ resolutions. Unity has settings with customizable components of the application’s quality, as illustrated in Figure 66. Several configurations were tested to strike a balance between maintaining a high visual standard and optimizing performance. These adjustments aimed to enhance performance without sacrificing quality, ensuring the user experience remains immersive and engaging while reducing the computational load. Figure 66: Unity window with application quality settings The first optimization involved setting the Pixel Light Count to one, simplifying the lighting effects. This adjustment reduces the complexity of light calculations while maintaining a satisfactory appearance. Additionally, Anti-aliasing was configured to 4x to strike a balance between edge smoothness and performance. A higher Anti-aliasing value improves rendering quality but comes with more costly resource consumption, and 4x was determined to provide an optimal balance. Another fundamental adjustment was the Anisotropic Filtering , which affects the clarity of textures viewed from oblique angles. The default setting, Forced On , applies the highest quality filtering to all textures, which can be resource-intensive. The Per Texture option was selected, allowing the filtering level to be dynamically adjusted based on the texture’s specific needs, ensuring both visual quality and performance are optimized. 97
5.5.4 Other optimizations In addition to the optimizations previously depicted, further techniques were researched to enhance the application’s performance. Some of these were tested but did not yield significant improvements, given the current design of the project. Other techniques were not implemented at this stage, as the optimizations already made were deemed sufficient to ensure a satisfactory user experience. These additional methods are considered for future work, especially if there is a need to scale the application. The following section provides an overview of the optimization techniques explored. GPU Instancing GPU Instancing is an optimization technique designed to render multiple instances of the same mesh in a single draw call 9. This method is an alternative to Static Batching , particularly beneficial for dynamic objects that frequently move, where Static Batching is ineffective. In the context of the virtual island project, however, there are few objects that are in constant motion. For GPU Instancing to be effective, it requires the application of this technique to numerous objects sharing identical mesh and material properties. Tests involving GPU Instancing applied to static objects showed minimal performance improvements compared to Static Batching . Consequently, this technique did not provide significant usability or performance enhancements for this project. Frustum culling Everything visible to the user in a Unity application is defined by the camera’s field of view, shaped by the View Frustum . The View Frustum can be represented as a pyramid, with the camera positioned at the top and two fundamental bases forming the pyramid bases, the Near Clipping Plane and the Far Clipping Plane , depicted in Figure 67 [12]. Only objects between the near and far planes of the View Frustum are rendered. Unity allows for customization of the distance between these planes, enabling optimization by reducing the far plane and, consequently, the number of objects that need to be rendered. Tests were conducted to adjust the far plane, balancing performance to maintain fluidity and a clear view of the island’s horizon. 9https://docs-alpha.unity3d.com/Manual/GPUInstancing.html 98
Figure 67: Representation of View Frustum [12] While this adjustment did not significantly improve performance, as it primarily reduced the amount of ocean rendered rather than the number of complex objects, it still contributed to some optimization. Reducing the far plane lowered the computational demand of rendering the ocean animation, even though the impact on overall performance was modest. Another optimization technique related to the View Frustum is Occlusion Culling 10. As previously mentioned, all objects within the View Frustum are rendered, even if they are not visible to the user. For instance, if the camera points to the wall, objects behind the wall within the frustum boundaries are still rendered. Occlusion Culling optimizes performance by preventing objects hidden behind others from being rendered. Unity provides the ability to define Occluder objects (which act as barriers) and Occludee objects (which are hidden by the Occluders and not rendered). However, this optimization was not applied in the island’s context, as it features an open environment with few obstacles to block the view of other objects. Due to the lack of significant barriers, the performance gain from Occlusion Culling would be minimal, making it less applicable in this scenario. Baked Lighting The final optimization technique evaluated was Baked Lighting . This method involves pre-calculating lighting for static objects, effectively replacing real-time lighting calculations 11. Baked Lighting is particularly beneficial for optimizing performance in enclosed environments with multiple light sources and static objects. However, the island setting of this application, being an open environment, requires only a single light source to illuminate the entire space. Consequently, the use of Baked Lighting is not justifiable in the project context, as it would not provide a noticeable performance boost and would increase the 10 https://docs.unity3d.com/Manual/OcclusionCulling.html 11 https://docs.unity3d.com/2019.1/Documentation/Manual/LightMode-Baked.html 99
application’s storage requirements due to the pre-calculated lighting data. 5.6 Tests after optimizations After implementing all the optimizations discussed earlier, a series of tests were conducted to evaluate the application’s performance post-optimization. These final tests will provide a comprehensive comparison between the pre-optimization and post-optimization performance metrics. The following sections will present the results, offering a detailed assessment of the improvements achieved and their impact on the overall performance of the virtual island environment. GPU & CPU (Unity Profiler) Figures 68 and 69 display CPU and GPU usage data collected over a series of frames while the application was running in Unity’s play mode. •Boardwalk: The frame processing time on the GPU was 15.52ms and on the CPU it was 22.89ms. Figure 68: GPU time on boardwalk scenario using Unity Profiler •Island: The frame processing time on the GPU was 32.31ms and on the CPU it was 37.46ms. Figure 69: GPU time on island scenario using Unity Profiler 100
Draw Calls & Triangle count (Unity Profiler) Figures 70 and 71 display the Rendering window, providing draw calls count and the number of triangles per frame that need to be processed. •Boardwalk: 119 draw calls & 202.8k triangles. Figure 70: Draw calls and triangle count registered on the boardwalk scenario using Unity Profiler. •Island: 301 draw calls & 856.1k triangles. Figure 71: Draw calls registered and triangle count on the island scenario using Unity Profiler. FPS (Unity Rendering Statistics) Using Unity’s Rendering Statistics tool, FPS metrics are collected in each region. Figures 72 and 73 show prints of graphics performance data collected in the application’s play mode within Unity. 101
•Boardwalk: 162 fps. Figure 72: FPS registered on the boardwalk scenario using Unity Rendering Stats •Island: 83.7 fps. Figure 73: FPS registered on the island scenario using Unity Rendering Stats 102
FPS (OVR Metrics Tool) Using OVR Metrics Tool, FPS metrics are collected in each region. Figures 74 and 75 show prints of graphics performance data collected in the application’s play mode within the Oculus VR. •Boardwalk: 60 fps. Figure 74: FPS registered on the boardwalk scenario using OVR Metrics Tool •Island: 12 fps. Figure 75: FPS registered on the island scenario using OVR Metrics Tool GPU time (OVR Metrics Tool) Following the same type of graph described previously by the OVR Metrics Tool, illustrated in Figures 76 and 77 the results of the time spent on the GPU for the different regions collected by the OVR Metrics Tool are as follows: •Boardwalk: 15.54 ms. Figure 76: GPU time registered on the boardwalk scenario using OVR Metrics Tool 103
•Island: 65.53 ms. Figure 77: GPU time registered on the island scenario using OVR Metrics Tool 5.7 Comparison of results For the purpose of illustrating the difference in performance between the solutions before and after the optimizations, line graphs were generated for each metric, comparing values from the pre-optimization and post-optimization phases. Each line on the graph is formed by two points representing the metric values tested in the two distinct regions of the island, the boardwalk, and the main island. The graphs feature two lines, one relative to the pre-optimization solution and the other post-optimization. Therefore, the graphs allow for a clear visual comparison of the performance differences between these two stages. The results for each metric and its corresponding graph will be analyzed in the following sections, focusing on the extent of the performance gains in both regions and across various metrics. GPU & CPU time Figure 78 presents the performance graphs for GPU and CPU frame processing times across two island regions. In terms of GPU time, there was no significant change after the optimizations, with only a minor increase observed. It is difficult to determine precisely the reason for this minor downgrade. However, it is possible to mention that the optimization techniques adopted involved distributing the work performed by the CPU to the GPU. This adoption may have contributed to the fact that the GPU time metric did not improve significantly. The CPU performance showed a significant improvement, particularly in the island region. Before the optimizations, the CPU time averaged around 55ms, whereas after the optimizations, it dropped significantly to 37ms. Additionally, the difference in CPU time between the two scenarios (the boardwalk and the main island) narrowed, leading to more consistent CPU usage and reduced performance variation across the island. 104
Figure 78: Comparison graphs of CPU time and GPU time results Draw calls For the metric measuring the number of instructions the CPU issues for the GPU to render objects, Figure 79 illustrates the draw call values before and after the optimizations. In the pre-optimization solution, there was a significant disparity between the two regions, with draw calls ranging from 96 in the boardwalk area to 2.641 in the island region. Post-optimization, however, the draw calls became much more consistent, ranging from 119 to 301 across the two scenarios. This demonstrates a substantial performance improvement, with the CPU issuing far fewer rendering instructions, reducing the workload for both the CPU and the GPU. Figure 79: Comparison graph of draw calls count results In the Static Batching optimization, Section 5.5.2, a performance index was calculated to identify 105
resource consumption in these critical regions. After implementing these methods, performance tests were conducted and compared with pre-optimization results. The analysis revealed a substantial improvement in key metrics, effectively eliminating the bottlenecks initially observed. This outcome successfully met the project’s primary objective of ensuring a smooth and fluid user experience. 112
Chapter 6 Conclusion This chapter summarizes the developed project and outlines the potential future work that could complement and enhance the current results. 6.1 Resume of current work The Metaverse represents an emerging technological trend with the potential to revolutionize daily life by creating a virtual world where users can engage in numerous activities remotely in an immersive environment. In this context, the project involved developing a VR application for HR training. The Metapedia project, an initiative in collaboration with Accenture , leverages a virtual island to provide users with an engaging and immersive platform to do training courses. Although the initial focus is on HR training within the company, the project holds the potential to evolve into a broader educational product, opening doors for e-learning platforms and other interested parties to participate. The initial objective of explaining the technological trend of the Metaverse and highlighting the project’s potential within this context was successfully achieved. This work undertook a comprehensive study of the subject, outlining the research and advancements in the field. The historical development of the Metaverse was detailed, alongside its primary characteristics and components, providing a thorough understanding. The core technologies that enable its functionality were also explored, offering insights into how the Metaverse operates. Additionally, the main sectors where the Metaverse demonstrates greater applicability were discussed, along with its limitations and challenges. After conducting a thorough study of the project’s contextual topic, the focus shifted to the development phase. The first step was to present the project architecture. The technological framework was described in detail, outlining the role of each technology in the overall design and how users interact with the system. The focus of the technological architecture description was given to the Unity game engine, which played a pivotal role in the development of the virtual reality application. 113
After demonstrating the technological architecture, it proceeded to showcase the functionalities developed for the project. An essential objective was integrating interactive island games for users to engage with and enjoy. The games developed include the basketball and dart games. The design process for these games was explained, detailing both the visual conceptualization and the logic behind their functionality. The C# language was used to implement the game mechanics, with flowcharts provided to visualize the structure of each implementation. Although the API integration with user courses has not yet been completed, a boardwalk was built featuring huts, with each hut intended to host different user courses. Moreover, significant efforts were dedicated to enhancing the island’s audiovisual components to ensure a high-quality immersive experience. Finally, a theater space was created, intending to serve as a venue for presentations and meetings, further enriching the island’s functionality and user engagement. After implementing all the functionalities, a series of performance tests were conducted on the application. The initial version of the solution underwent evaluation by some users during internal company events, where notable performance bottlenecks were identified in specific regions of the island, indicating critical issues. Further tests confirmed low performance, with results falling short of expectations based on Meta’s recommended metrics. Several performance optimization methods were applied to address these issues, including Static Batching , unnecessary object removal, and Unity configuration adjustments specifically optimized for VR applications. After implementing these optimization techniques, the application has undergone testing, yielding significantly improved results. The new metrics either met or closely approached the performance targets initially set. Moreover, the bottlenecks previously encountered in certain areas were completely resolved, ensuring a smoother and more consistent user experience throughout the application. Among the initially outlined objectives, the only ones that were partially implemented but not fully achieved were the multiplayer functionality and the integration of an API for course management. Regarding the multiplayer feature, issues arose when attempting to connect two Oculus VR devices, limiting the functionality to sessions between computers. However, the logic for synchronizing player interactions within the games was successfully implemented, enabling multiple users to participate in island activities simultaneously. As for the API integration, challenges emerged during the development process, and a potential solution was only explored in the final stages of the project. In summary, upon reviewing the initial objectives, relevant results were obtained for what was established in this project development phase. The necessary steps were successfully taken to fulfill the primary goal of creating a functional application that serves as an engaging and appealing platform for future course integration, enabling users to utilize it as an effective learning environment. Concerning the 114
tests and optimizations, the results demonstrated a more fluid experience for the user, eliminating the bottlenecks previously observed. Although the project is still in its early stages of development, this work successfully established a platform that can facilitate the integration of courses in the next phase. The project is positioned within the broader Metaverse paradigm, a promising yet nascent technological trend. As the supporting technologies continue to advance and the current challenges are addressed, the Metaverse has the potential to evolve into a tangible reality, offering significant benefits across various sectors and improving people’s lives in numerous ways. 6.2 Future work Although this project is still in development, several specific tasks must be completed to ensure it becomes fully functional with all conceptual features in place. This section intends to outline the next steps in the project development. Metapedia aspires to be a virtual environment that can accommodate multiple users from various platforms within the same session, whether using VR headsets or desktop computers, recognizing that not all users will have access to VR technology. At the current stage, multiplayer functionality has been successfully implemented for desktop applications. However, testing among multiple Oculus users has revealed challenges in bringing them together in a single session. Further investigation is required to address these issues, exploring the VRDT integration with the Photon tool in the online sessions. This will involve identifying potential errors and developing solutions to ensure compatibility among users on various platforms. As the application evolves to become more scalable, additional optimization methods will need to be applied to support multiple users without compromising the overall user experience. Another crucial aspect of achieving the project’s goals will be turning the user courses available within the virtual island. For the development of this feature, it is fundamental to create an endpoint that integrates with the API managing user courses. This endpoint will allow the application to query and retrieve the courses each user needs to complete. Based on this information, the system can dynamically generate hut and compile a list with descriptions tailored to the user’s course requirements. Additionally, implementing methods to convert the URLs into videos will be essential to display the courses on the screens within each hut. Another planned feature is the generation of virtual certificates upon course completion, providing users with a tangible acknowledgment of their achievements. For a fully immersive and engaging experience, it will also be essential to collaborate with service providers who offer three-dimensional 115
courses specifically designed for the virtual reality environment. Improvements need to be made in the theater space to accommodate presentations. The first step will be to develop a feature in Unity to load a PowerPoint file and transform it into screens, allowing the slides to be controlled by the presenter. Another fundamental aspect will be to create a microphone on the stage, where whoever is on stage presenting, everything they say will only be heard by people inside the theater space, not disturbing others in other regions of the island. 116
Bibliography [1] T. Huynh-The, Q.-V. Pham, X.-Q. Pham, T. T. Nguyen, Z. Han, and D.-S. Kim, “Artificial intelligence for the metaverse: A survey,” Engineering Applications of Artificial Intelligence , vol. 117, p. 105581, 2023. [Online]. Available: https://www.sciencedirect.com/science/article/pii/ S0952197622005711 [2] L. Chang, Z. Zhang, P. Li, S. Xi, W. Guo, Y. Shen, Z. Xiong, J. Kang, D. Niyato, X. Qiao et al. , “6g- enabled edge ai for metaverse: Challenges, methods, and future research directions,” Journal of Communications and Information Networks , vol. 7, no. 2, pp. 107–121, 2022. [3] L. Ismail and R. Buyya, “Metaverse: A vision, architectural elements, and future directions for scalable and realtime virtual worlds,” arXiv preprint arXiv:2308.10559 , 2023. [4] H. Zhang, S. Lee, Y. Lu, X. Yu, and H. Lu, “A survey on big data technologies and their applications to the metaverse: Past, current and future,” Mathematics , vol. 11, no. 1, 2023. [Online]. Available: https://www.mdpi.com/2227-7390/11/1/96 [5] M. Ali, F. Naeem, G. Kaddoum, and E. Hossain, “Metaverse communications, networking, security, and applications: Research issues, state-of-the-art, and future directions,” IEEE Communications Surveys Tutorials , pp. 1–1, 2023. [6] A. Cannavò and F. Lamberti, “How blockchain, virtual reality and augmented reality are converging, and why,” IEEE Consumer Electronics Magazine , vol. PP, pp. 1–1, 09 2020. [7] M. Niemeyer, L. Mescheder, M. Oechsle, and A. Geiger, “Differentiable volumetric rendering: Learning implicit 3d representations without 3d supervision,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) , June 2020. [8] GeeksForGeeks, “Introduction to deep learning,” last accessed 16 March 2024. [Online]. Available: https://www.geeksforgeeks.org/introduction-deep-learning/ 117
[9] G. Wang, A. Badal, X. Jia, J. S. Maltz, K. Mueller, K. J. Myers, C. Niu, M. Vannier, P. Yan, Z. Yu et al. , “Development of metaverse for intelligent healthcare,” Nature Machine Intelligence , vol. 4, no. 11, pp. 922–929, 2022. [10] Z. Lin, P. Xiangli, Z. Li, F. Liang, and A. Li, “Towards metaverse manufacturing: A blockchain-based trusted collaborative governance system,” in The 2022 4th International Conference on Blockchain Technology , 2022, pp. 171–177. [11] D. Parks, “Disney imagineer makes history | disney parks,” last accessed 17 June 2024. [Online]. Available: https://www.youtube.com/watch?v=68YMEmaF0rs [12] Unity, “Understanding the view frustum,” last accessed 10 August 2024. [Online]. Available: https://docs.unity3d.com/Manual/UnderstandingFrustum.html [13] H. Ning, H. Wang, Y. Lin, W. Wang, S. Dhelim, F. Farha, J. Ding, and M. Daneshmand, “A survey on the metaverse: The state-of-the-art, technologies, applications, and challenges,” IEEE Internet of Things Journal , 2023. [14] X. Zhang, Y. Chen, L. Hu, and Y. Wang, “The metaverse in education: Definition, framework, features, potential applications, challenges, and future research topics,” Frontiers in Psychology , vol. 13, p. 6063, 2022. [15] S. Kraus, D. K. Kanbach, P. M. Krysta, M. M. Steinhoff, and N. Tomini, “Facebook and the creation of the metaverse: radical business model innovation or incremental transformation?” International Journal of Entrepreneurial Behavior & Research , vol. 28, no. 9, pp. 52–77, 2022. [16] Meta, “Mark zuckerberg, fundador, presidente e ceo,” last accessed 22 January 2024. [Online]. Available: https://about.meta.com/br/media-gallery/executives/mark-zuckerberg/ [17] B. Kye, N. Han, E. Kim, Y. Park, and S. Jo, “Educational applications of metaverse: possibilities and limitations,” Journal of educational evaluation for health professions , vol. 18, 2021. [18] F. Magnates, “How the metaverse is shaping the future of education,” last accessed 22 January 2024. [Online]. Available: https://www.financemagnates.com/forex/education-centre/ how-the-metaverse-is-shaping-the-future-of-education/ [19] M. A. I. Mozumder, A. Athar, T. P. T. Armand, M. M. Sheeraz, S. M. I. Uddin, and H.-C. Kim, “Technological roadmap of the future trend of metaverse based on iot, blockchain, and ai techniques in 118
metaverse education,” in 2023 25th International Conference on Advanced Communication Technology (ICACT) . IEEE, 2023, pp. 1414–1423. [20] H. Duan, J. Li, S. Fan, Z. Lin, X. Wu, and W. Cai, “Metaverse for social good: A university campus prototype,” in Proceedings of the 29th ACM international conference on multimedia , 2021, pp. 153–161. [21] Roblox, “Reimagining the way people come together,” last accessed 13 January 2024. [Online]. Available: https://corp.roblox.com/ [22] S. Rostami and M. Maier, “The metaverse and beyond: implementing advanced multiverse realms with smart wearables,” Ieee Access , vol. 10, pp. 110 796–110 806, 2022. [23] Metamandril, “Metaverse devices; the best gear to enter the metaverse,” last accessed 15 January 2024. [Online]. Available: https://metamandrill.com/metaverse-devices/#:~: text=PCs%20or%20smartphones%20are%20a,into%20your%20fi [24] X. Qiao, P. Ren, S. Dustdar, and J. Chen, “A new era for web ar with mobile edge computing,” IEEE Internet Computing , vol. 22, no. 4, pp. 46–55, 2018. [25] H. Sami, A. Hammoud, M. Arafeh, M. Wazzeh, S. Arisdakessian, M. Chahoud, O. Wehbi, M. Ajaj, A. Mourad, H. Otrok et al. , “The metaverse: Survey, trends, novel pipeline ecosystem & future directions,” arXiv preprint arXiv:2304.09240 , 2023. [26] H. Wu and W. Zhang, “Digital identity, privacy security, and their legal safeguards in the metaverse,” Security and Safety , vol. 2, p. 2023011, 2023. [27] Åsa Fast-Berglund, L. Gong, and D. Li, “Testing and validating extended reality (xr) technologies in manufacturing,” Procedia Manufacturing , vol. 25, pp. 31–38, 2018, proceedings of the 8th Swedish Production Symposium (SPS 2018). [Online]. Available: https://www.sciencedirect.com/ science/article/pii/S2351978918305730 [28] G. C. Burdea and P. Coiffet, Virtual reality technology . John Wiley & Sons, 2003. [29] S. McCallum, “Conjoined twins separated with the help of virtual reality,” last accessed 16 January 2024. [Online]. Available: https://www.bbc.com/news/technology-62378452 [30] Meta, “Introducing meta reality: A look at the technologies necessary to convincingly blend the virtual and physical worlds,” last accessed 17 January 2024. [Online]. Available: https://www. 119
meta.com/blog/quest/mixed-reality-definition-passthrough-scene-understanding-spatial-anchors/ ?utm_source=tech.facebook.com&utm_medium=oculusredirect [31] NASA, “Mars virtual reality software wins nasa award,” last accessed 17 January 2024. [Online]. Available: https://www.jpl.nasa.gov/news/mars-virtual-reality-software-wins-nasa-award [32] T. Sandbox, “Play together, create anything, and own virtual land,” last accessed 18 January 2024. [Online]. Available: https://www.sandbox.game/en/ [33] S. Madakam, V. Lake, V. Lake, V. Lake et al. , “Internet of things (iot): A literature review,” Journal of Computer and Communications , vol. 3, no. 05, p. 164, 2015. [34] H. Ning, Z. Zhen, F. Shi, and M. Daneshmand, “A survey of identity modeling and identity addressing in internet of things,” IEEE Internet of Things Journal , vol. 7, no. 6, pp. 4697–4710, 2020. [35] M. Hu, X. Luo, J. Chen, Y. C. Lee, Y. Zhou, and D. Wu, “Virtual reality: A survey of enabling technologies and its applications in iot,” Journal of Network and Computer Applications , vol. 178, p. 102970, 2021. [Online]. Available: https://www.sciencedirect.com/science/article/pii/ S1084804520304215 [36] M. F. Alam, S. Katsikas, O. Beltramello, and S. Hadjiefthymiades, “Augmented and virtual reality based monitoring and safety system: A prototype iot platform,” Journal of Network and Computer Applications , vol. 89, pp. 109–119, 2017, emerging Services for Internet of Things (IoT). [Online]. Available: https://www.sciencedirect.com/science/article/pii/S1084804517301315 [37] W. Saad, M. Bennis, and M. Chen, “A vision of 6g wireless systems: Applications, trends, technologies, and open research problems,” IEEE Network , vol. 34, no. 3, pp. 134–142, 2020. [38] S. Kamath, S. Anand, S. Buchke, and K. Agnihotri, “A review of recent developments in 6g communications systems,” Engineering Proceedings , vol. 59, no. 1, 2023. [Online]. Available: https://www.mdpi.com/2673-4591/59/1/167 [39] V. T. Truong and L. B. Le, “Security for the metaverse: Blockchain and machine learning techniques for intrusion detection,” IEEE Network , pp. 1–1, 2024. [40] J. Yli-Huumo, D. Ko, S. Choi, S. Park, and K. Smolander, “Where is current research on blockchain technology?—a systematic review,” PLOS ONE , vol. 11, 10 2016. 120
[41] V. Gatteschi, F. Lamberti, C. Demartini, C. Pranteda, and V. Santamaria, “To blockchain or not to blockchain: That is the question,” IT Professional , vol. 20, pp. 62–74, 03 2018. [42] T. R. Gadekallu, Q.-V. Pham, D. C. Nguyen, P. K. R. Maddikunta, N. Deepa, B. Prabadevi, P. N. Pathirana, J. Zhao, and W.-J. Hwang, “Blockchain for edge of things: Applications, opportunities, and challenges,” IEEE Internet of Things Journal , vol. 9, no. 2, pp. 964–988, 2022. [43] S. P. Mohanty, V. P. Yanambaka, E. Kougianos, and D. Puthal, “Pufchain: A hardware-assisted blockchain for sustainable simultaneous device and data security in the internet of everything (ioe),” IEEE Consumer Electronics Magazine , vol. 9, no. 2, pp. 8–16, 2020. [44] D. Puthal, N. Malik, S. P. Mohanty, E. Kougianos, and C. Yang, “The blockchain as a decentralized security framework [future directions],” IEEE Consumer Electronics Magazine , vol. 7, no. 2, pp. 18–21, 2018. [45] A. A. Monrat, O. Schelén, and K. Andersson, “A survey of blockchain from the perspectives of applications, challenges, and opportunities,” IEEE Access , vol. 7, pp. 117 134–117 151, 2019. [46] D. Puthal, N. Malik, S. P. Mohanty, E. Kougianos, and G. Das, “Everything you wanted to know about the blockchain: Its promise, components, processes, and problems,” IEEE Consumer Electronics Magazine , vol. 7, no. 4, pp. 6–14, 2018. [47] M. Aloqaily, O. Bouachir, F. Karray, I. Al Ridhawi, and A. E. Saddik, “Integrating digital twin and advanced intelligent technologies to realize the metaverse,” IEEE Consumer Electronics Magazine , vol. 12, no. 6, pp. 47–55, 2023. [48] M. A. I. Mozumder, M. M. Sheeraz, A. Athar, S. Aich, and H.-C. Kim, “Overview: Technology roadmap of the future trend of metaverse based on iot, blockchain, ai technique, and medical domain metaverse activity,” in 2022 24th International Conference on Advanced Communication Technology (ICACT) . IEEE, 2022, pp. 256–261. [49] S. BANAEİAN FAR and A. IMANİ RAD, “Applying digital twins in metaverse: User interface, security and privacy challenges,” Journal of Metaverse , vol. 2, no. 1, p. 8–15, 2022. [50] Q. Yang, Y. Zhao, H. Huang, Z. Xiong, J. Kang, and Z. Zheng, “Fusing blockchain and ai with metaverse: A survey,” IEEE Open Journal of the Computer Society , vol. 3, pp. 122–136, 2022. 121
[116] M. Geyer, “Bmw group starts global rollout of nvidia omniverse,” last accessed 10 May 2024. [Online]. Available: https://blogs.nvidia.com/blog/bmw-group-nvidia-omniverse/ [117] M. Hiegl, “Lenovo is revolutionizing productivity with ai by driving innovation with nvidia omniverse for digital twins,” last accessed 10 May 2024. [Online]. Available: https://lenovopress.lenovo.com/lp1710-driving-innovation-with-nvidia-omniverse-for-digital-twins? orgRef=https%253A%252F%252Fwww.google.com%252F [118] A. Marczewski, “Even ninja monkeys like to play,” London: Blurb Inc , vol. 1, no. 1, p. 28, 2015. [119] GilPress, “How many gamers are there? (2024 statistics),” last accessed 19 May 2024. [Online]. Available: https://whatsthebigdata.com/number-of-gamers/ [120] S. Abbate, P. Centobelli, R. Cerchione, E. Oropallo, and E. Riccio, “A first bibliometric literature review on metaverse,” in 2022 IEEE Technology and Engineering Management Conference (TEMSCON EUROPE) . IEEE, 2022, pp. 254–260. [121] Statista, “Metaverse gaming - worldwide,” last accessed 19 May 2024. [Online]. Available: https://www.statista.com/outlook/amo/metaverse/metaverse-gaming/worldwide [122] M. Cruz, A. Oliveira, and A. Pinheiro, “Flowing through virtual animated worlds–perceptions of the metaverse,” in 2022 Euro-Asia Conference on Frontiers of Computer Science and Information Technology (FCSIT) . IEEE, 2022, pp. 241–245. [123] A. Kemec, “From reality to virtuality: Re-discussing cities with the concept of the metaverse,” International Journal of Management and Accounting , vol. 4, no. 1, pp. 12–20, 2022. [124] P. Bhattacharya, A. Verma, V. K. Prasad, S. Tanwar, B. Bhushan, B. C. Florea, D. D. Taralunga, F. Alqahtani, and A. Tolba, “Game-o-meta: Trusted federated learning scheme for p2p gaming metaverse beyond 5g networks,” Sensors , vol. 23, no. 9, p. 4201, 2023. [125] N. Kshetri, “Web 3.0 and the metaverse shaping organizations’ brand and product strategies,” IT Professional , vol. 24, no. 02, pp. 11–15, 2022. [126] S. Mystakidis, “Metaverse,” Encyclopedia , vol. 2, no. 1, pp. 486–497, 2022. [127] R. Shewale, “Roblox statistics for 2024 (active players, revenue usage),” last accessed 19 May 2024. [Online]. Available: https://www.demandsage.com/how-many-people-play-roblox/#: ~:text=Roblox%20has%2070.2%20million%20daily,active%20users%20as%20of%202024 128
[128] Sandbox, “The sandbox partners with snoop dogg to bring legendary rapper into the metaverse,” last accessed 19 May 2024. [Online]. Available: https://www.sandbox.game/en/ blog/the-sandbox-partners-with-snoop-dogg-to-bring-legendary-rapper-into-the-metaverse/347/ [129] Ö. Aydın, E. Karaarslan, and N. Gökçe Narin, “Artificial intelligence, vr, ar and metaverse technologies for human resources management,” VR, AR and Metaverse Technologies for Human Resources Management (June 15, 2023) , 2023. [130] M. R. d. A. Souza, L. Veado, R. T. Moreira, E. Figueiredo, and H. Costa, “A systematic mapping study on game-related methods for software engineering education,” Information and software technology , vol. 95, pp. 201–218, 2018. [131] I. Rodríguez, M. Salamó, and A. Puig, “Design and evaluation of gamification experiences in computer science studies,” in 6th International Conference on Higher Education Advances (HEAd’20) , no. 30-05-2020. Editorial Universitat Politècnica de València, 2020, pp. 1137–1145. [132] T. Nadan, V. Alexandrov, R. Jamieson, and K. Watson, “Is virtual reality a memorable experience in an educational context?” International Journal of Emerging Technologies in Learning (iJET) , vol. 6, no. 1, pp. 53–57, 2011. [133] Y. Slavova and M. Mu, “A comparative study of the learning outcomes and experience of vr in education,” in 2018 IEEE conference on virtual reality and 3D user interfaces (VR) . IEEE, 2018, pp. 685–686. [134] T. Cochrane, “Mobile vr in education: From the fringe to the mainstream,” International Journal of Mobile and Blended Learning (IJMBL) , vol. 8, no. 4, pp. 44–60, 2016. [135] Z. Almahasees, K. Mohsen, and M. O. Amin, “Faculty’s and students’ perceptions of online learning during covid-19,” in Frontiers in Education , vol. 6. Frontiers Media SA, 2021, p. 638470. [136] G.-J. Hwang and S.-Y. Chien, “Definition, roles, and potential research issues of the metaverse in education: An artificial intelligence perspective,” Computers and Education: Artificial Intelligence , vol. 3, p. 100082, 2022. [137] N. A. Dahan, M. Al-Razgan, A. Al-Laith, M. A. Alsoufi, M. S. Al-Asaly, and T. Alfakih, “Metaverse framework: A case study on e-learning environment (elem),” Electronics , vol. 11, no. 10, p. 1616, 2022. 129
[138] N. Clegg, “How the metaverse can transform education,” last accessed 28 May 2024. [Online]. Available: https://about.fb.com/news/2023/04/how-the-metaverse-can-transform-education/ [139] H. Duan, J. Li, S. Fan, Z. Lin, X. Wu, and W. Cai, “Metaverse for social good: A university campus prototype,” in Proceedings of the 29th ACM international conference on multimedia , 2021, pp. 153–161. [140] K. Stendal and S. Balandin, “Virtual worlds for people with autism spectrum disorder: a case study in second life,” Disability and rehabilitation , vol. 37, no. 17, pp. 1591–1598, 2015. [141] D. Pianko, “The metaverse is built on university innovation. higher ed should stake its claim,” last accessed 28 May 2024. [Online]. Available: https://www.edsurge.com/news/ 2022-11-03-the-metaverse-is-built-on-university-innovation-higher-ed-should-stake-its-claim#:~: text=Meta%20itself%2C%20the%20artist%20formerly%20known%20as%20Facebook%2C,students% 20can%20access%E2%80%94wearing%20Meta%20VR%20headsets%2C%20of%20course. [142] Roblox, “A new era of teaching and learning,” last accessed 28 May 2024. [Online]. Available: https://education.roblox.com/ [143] S. W. University, “Establishment of “snowverse” on the metaverse campus of sookmyung women’s university,” last accessed 28 May 2024. [Online]. Available: https://www.sookmyung.ac.kr/en/news/sm-news.do?mode=view&articleNo=83302& article.offset=63&articleLimit=9&srSearchVal=First [144] ——, “”lights are always on at the metaverse library,” snowverse 2.0 opens,” last accessed 28 May 2024. [Online]. Available: https://www.sookmyung.ac.kr/en/news/sm-news.do?mode= view&articleNo=83364&article.offset=45&articleLimit=9 [145] S. MetaCampus, “Welcome to segi metacampus – segi’s 6th campus,” last accessed 28 May 2024. [Online]. Available: https://www.segi.edu.my/segi-metacampus-2/ [146] S. A. B. Mubin and V. Thiruchelvam, “Wonders of the world: Metaverse for education delivery,” in Strategies and Opportunities for Technology in the Metaverse World . IGI Global, 2023, pp. 114–129. [147] Zepeto, “About zepeto,” last accessed 29 May 2024. [Online]. Available: https://web.zepeto.me/ pt/about 130
[148] M. Barath and D. A. Schmidt, “Offices after the covid-19 pandemic and changes in perception of flexible office space,” Sustainability , vol. 14, no. 18, p. 11158, 2022. [149] D. Bennett, “Remote workforce, virtual team tasks, and employee engagement tools in a real-time interoperable decentralized metaverse,” Psychosociological Issues in Human Resource Management , vol. 10, no. 1, pp. 78–91, 2022. [150] K. Zvarikova, J. Cug, and S. Hamilton, “Virtual human resource management in the metaverse: Immersive work environments, data visualization tools and algorithms, and behavioral analytics,” Psychosociological Issues in Human Resource Management , vol. 10, no. 1, pp. 7–20, 2022. [151] R. Nyathani, “Ai-driven hr analytics: Unleashing the power of hr data management,” Journal of Technology and Systems , vol. 5, no. 2, pp. 15–26, 2023. [152] A. Charlwood, “Artificial intelligence and talent management,” Digitalised talent management , pp. 122–136, 2021. [153] E. N. AM, A. Affandi, A. Udobong, S. Sarwani et al. , “Implementation of human resource management in the adaptation period for new habits,” International Journal of Educational Administration, Management, and Leadership , pp. 19–26, 2020. [154] STRIVR, “How top hr organizations create engaging learning experiences in vr,” last accessed 29 May 2024. [Online]. Available: https://www.strivr.com/blog/ how-top-hr-organizations-create-engaging-learning-vr [155] Nsocial, “virtual reality corporate learning. vr job training. interactive learning with virtual reality.” last accessed 29 May 2024. [Online]. Available: https://www.nsocialtr.com/ vr-corporate-learning-virtual-reality-job-training.html [156] D. H. Lim, J. Y. Lee, and S. Park, “The metaverse in the workplace: Possibilities and implications for human resource development,” Human Resource Development Review , p. 15344843231217174, 2023. [157] Talespin, “The largest study of enterprise vr soft skills,” last accessed 29 May 2024. [Online]. Available: https://www.talespin.com/vr-soft-skills-training-study [158] VRdirect, “Virtual reality in human resources,” last accessed 29 May 2024. [Online]. Available: https://www.vrdirect.com/solutions/vr-in-human-resources/ 131
[159] STRIVR, “The xr platform of choice for the world’s leading enterprises,” last accessed 29 May 2024. [Online]. Available: https://www.strivr.com/ [160] Motive.Io, “There’s a better way to do vr training. this is it.” last accessed 29 May 2024. [Online]. Available: https://www.motive.io/ [161] H. Taherdoost, S. Chaeikar, M. Jafari, and N. Shojae Chaei Kar, “Definitions and criteria of cia security triangle in electronic voting system,” International Journal of Advanced Computer Science and Information Technology (IJACSIT) Vol , vol. 1, pp. 14–24, 2013. [162] F. O’Brolcháin, T. Jacquemard, D. Monaghan, N. O’Connor, P. Novitzky, and B. Gordijn, “The convergence of virtual reality and social networks: threats to privacy and autonomy,” Science and engineering ethics , vol. 22, pp. 1–29, 2016. [163] B. Falchuk, S. Loeb, and R. Neff, “The social metaverse: Battle for privacy,” IEEE technology and society magazine , vol. 37, no. 2, pp. 52–61, 2018. [164] S. Tanwar, Q. Bhatia, P. Patel, A. Kumari, P. K. Singh, and W.-C. Hong, “Machine learning adoption in blockchain-based smart applications: The challenges, and a way forward,” IEEE Access , vol. 8, pp. 474–488, 2019. [165] M. Adnan, S. Kalra, J. C. Cresswell, G. W. Taylor, and H. R. Tizhoosh, “Federated learning and differential privacy for medical image analysis,” Scientific reports , vol. 12, no. 1, p. 1953, 2022. [166] P. Shi, H. Wang, S. Yang, C. Chen, and W. Yang, “Blockchain-based trusted data sharing among trusted stakeholders in iot,” Software: practice and experience , vol. 51, no. 10, pp. 2051–2064, 2021. [167] Y. Lu, X. Huang, K. Zhang, S. Maharjan, and Y. Zhang, “Low-latency federated learning and blockchain for edge association in digital twin empowered 6g networks,” IEEE Transactions on Industrial Informatics , vol. 17, no. 7, pp. 5098–5107, 2020. [168] M. A. Khan, S. Abbas, A. Rehman, Y. Saeed, A. Zeb, M. I. Uddin, N. Nasser, and A. Ali, “A machine learning approach for blockchain-based smart home networks security,” IEEE Network , vol. 35, no. 3, pp. 223–229, 2020. [169] J. Weng, J. Weng, J. Zhang, M. Li, Y. Zhang, and W. Luo, “Deepchain: Auditable and privacypreserving deep learning with blockchain-based incentive,” IEEE Transactions on Dependable and Secure Computing , vol. 18, no. 5, pp. 2438–2455, 2019. 132
[170] S. Kaddoura and F. Al Husseiny, “The rising trend of metaverse in education: Challenges, opportunities, and ethical considerations,” PeerJ Computer Science , vol. 9, p. e1252, 2023. [171] B. C. Cheong, “Avatars in the metaverse: potential legal issues and remedies,” International Cybersecurity Law Review , vol. 3, no. 2, pp. 467–494, 2022. [172] S.-M. Park and Y.-G. Kim, “A metaverse: Taxonomy, components, applications, and open challenges,” IEEE access , vol. 10, pp. 4209–4251, 2022. [173] P. Apple, “An apple patent surfacing today covers ways of erasing avatars that are behaving unacceptably in your metaverse abode,” last accessed 5 June 2024. [Online]. Available: https://www.patentlyapple.com/2021/11/ a-weird-apple-patent-surfacing-today-covers-ways-of-erasing-avatars-that-are-behaving-unacceptably-in-your-metaverse-abode. html [174] M. Chen, Y. Jin, T. Goodall, X. Yu, and A. C. Bovik, “Study of 3d virtual reality picture quality,” IEEE Journal of Selected Topics in Signal Processing , vol. 14, no. 1, pp. 89–102, 2019. [175] T. Martens, “A floor that feels like magic? just another marvel from this legendary disney inventor,” last accessed 17 June 2024. [Online]. Available: https://www.latimes.com/lifestyle/ story/2024-01-31/lanny-smoot-disney-inventor-holotile-floor [176] T. Alsop, “Virtual reality (vr) headset average price in the united states from 2019 to 2029,” last accessed 6 July 2024. [Online]. Available: https://www.statista.com/forecasts/1338404/ vr-headset-average-price-united-states [177] D. Dai, “How much is a vr headset?” last accessed 6 July 2024. [Online]. Available: https://pimax.com/blogs/blogs/how-much-is-a-vr-headset [178] X. Li, C. Wen, and J. Wang, “Lyapunov-based fixed-time stabilization control of quantum systems,” Journal of Automation and Intelligence , vol. 1, no. 1, p. 100005, 2022. [179] Y. Jiang, J. Kang, D. Niyato, X. Ge, Z. Xiong, C. Miao, and X. Shen, “Reliable distributed computing for metaverse: A hierarchical game-theoretic approach,” IEEE Transactions on Vehicular Technology , vol. 72, no. 1, pp. 1084–1100, 2022. [180] B. Zolfaghari, G. Srivastava, S. Roy, H. R. Nemati, F. Afghah, T. Koshiba, A. Razi, K. Bibak, P. Mitra, and B. K. Rai, “Content delivery networks: State of the art, trends, and future roadmap,” ACM Computing Surveys (CSUR) , vol. 53, no. 2, pp. 1–34, 2020. 133
[181] F. El Jamiy and R. Marsh, “Survey on depth perception in head mounted displays: distance estimation in virtual reality, augmented reality, and mixed reality,” IET Image Processing , vol. 13, no. 5, pp. 707–712, 2019. [182] M. Xu, W. C. Ng, W. Y. B. Lim, J. Kang, Z. Xiong, D. Niyato, Q. Yang, X. Shen, and C. Miao, “A full dive into realizing the edge-enabled metaverse: Visions, enabling technologies, and challenges,” IEEE Communications Surveys & Tutorials , vol. 25, no. 1, pp. 656–700, 2022. [183] A. Tewari, O. Fried, J. Thies, V. Sitzmann, S. Lombardi, K. Sunkavalli, R. Martin-Brualla, T. Simon, J. Saragih, M. Nießner et al. , “State of the art on neural rendering,” in Computer Graphics Forum , vol. 39, no. 2. Wiley Online Library, 2020, pp. 701–727. [184] D. A. Cordero Jr., “What a wonderful world? The downside of the metaverse phenomenon,” Journal of Public Health , vol. 46, no. 1, pp. e206–e207, 09 2023. [Online]. Available: https://doi.org/10.1093/pubmed/fdad177 [185] N. Xi, J. Chen, F. Gama, M. Riar, and J. Hamari, “The challenges of entering the metaverse: An experiment on the effect of extended reality on workload,” Information Systems Frontiers , vol. 25, no. 2, pp. 659–680, 2023. [186] L. E. Garrido, M. Frías-Hiciano, M. Moreno-Jiménez, G. N. Cruz, Z. E. García-Batista, K. Guerra-Peña, and L. A. Medrano, “Focusing on cybersickness: pervasiveness, latent trajectories, susceptibility, and effects on the virtual reality experience,” Virtual reality , vol. 26, no. 4, pp. 1347–1371, 2022. [187] Y.-W. Chow, W. Susilo, Y. Li, N. Li, and C. Nguyen, “Visualization and cybersecurity in the metaverse: A survey,” Journal of Imaging , vol. 9, no. 1, p. 11, 2022. [188] H. Oh and W. Son, “Cybersickness and its severity arising from virtual reality content: A comprehensive study,” Sensors , vol. 22, no. 4, p. 1314, 2022. [189] I. D. Foundation, “Cybersickness in virtual reality,” last accessed 10 July 2024. [Online]. Available: https://www.interaction-design.org/literature/topics/cybersickness-in-virtual-reality [190] A. Srivastava, S. Bhardwaj, and S. Saraswat, “Scrum model for agile methodology,” in 2017 International Conference on Computing, Communication and Automation (ICCCA) , 2017, pp. 864–869. [191] O. Mamchii, “Most popular sports in the world in 2024,” last accessed 3 August 2024. [Online]. Available: https://bestdiplomats.org/most-popular-sports-in-the-world/ 134
[192] Meta, “Testing and performance analysis,” last accessed 16 August 2024. [Online]. Available: https://developers.meta.com/horizon/documentation/unity/unity-perf/ [193] FistFullOfShrimp, “Unity vr optimization quest 2 settings,” last accessed 10 August 2024. [Online]. Available: https://fistfullofshrimp.com/unity-vr-optimization-quest-2-settings/ 135