← Back to projects
Programs Application Projects Senior High 2023.08 -

Eternal RDFZ

(幻立红白,Huàn Lì Hóng Bái)

The Virtual Campus project of RDFZ, based on the Unity3D engine and the Mirror networking engine.

Project Founder, Leader & Unity Client Lead Developer

Links

Eternal RDFZ is a virtual campus project for RDFZ (The High School Affiliated to Renmin University of China) developed on the Unity engine. It aims to recreate the entire RDFZ campus at 1:1 accuracy with high-quality visuals, and on that foundation build a digital platform that integrates utility, social interaction, and collectibility. It is both an open virtual social world where users can explore, interact, and leave their mark, and a practical campus navigation tool that helps different groups quickly understand the campus.

The project began in August 2023, initiated by me and Shao Yichen, with Teacher Shi Yining as the advisor. Over more than two years, it grew from the initial "foolhardy courage" of two people into a team project of more than ten students. Student work covered the entire pipeline from surveying, modeling, programming, network architecture, and music production to publicity; teachers provided only venue and equipment support and necessary guidance on development direction. This is RDFZ's first student-completed, most complete virtual campus project. Development continued from the first semester of sophomore year through the second semester of junior year, and was handed over to younger students for maintenance at the start of senior year.

To date, approximately 100 students have used the platform; since 2024 it has been used multiple times as display content for receiving visiting foreign guests (e.g., the October 2024 visit by the principal of a Swedish sister school, and the May 2025 visit by teachers and students from a US sister school), and Principal Mi Qi has mentioned it multiple times as a case study in education work lectures. Starting in 2026, due to school network restrictions, the online server has been shut down.

Core Features

Eternal RDFZ is built on the virtual campus model of RDFZ and serves diverse audiences and users through three main functional dimensions: utility, social interaction, and collectibility.

(1) Utility

The project is first and foremost a campus navigation tool that helps different groups quickly understand the campus layout and facilities.

Feature Module Description
Character Roaming Mode Uses Opsive Character Controller, providing first-/third-person perspectives; players can freely walk, run, and jump around campus, and interact with some scene elements
Sandbox View Mode Overlooks the entire campus; can zoom and rotate; click buildings to view detailed information
Drone Simulation Mode Simulates drone flight based on PID using the physics engine, providing a high-altitude overlook perspective
Navigation System Specify a destination and the system generates an optimal path guide
Real-time Minimap Helps users locate themselves and quickly explore their surroundings
Day-Night and Weather System Uses Enviro 3 to simulate realistic campus environmental changes (sunrise, sunset, rain, snow), enhancing immersion

For new students and visitors, this software can help them familiarize themselves with the campus in advance; for school leaders and administrative staff, it can be used for campus publicity displays, admissions introductions, and planning demonstrations; for current teachers and students, it can also provide certain campus navigation functions.

(2) Social Interaction

The project is also an open virtual social world that allows multi-user online interaction and lets users leave their mark on the virtual campus.

Feature Module Description
Multiplayer Online System Based on the Mirror networking engine, users join an online server (the "online world") to roam, chat, and interact in real time in the same virtual campus
Sticker Message System Users can paste message stickers anywhere on campus; other users passing by can view, like, and comment on them
Multi-Server Architecture Each server (online world) has independent data, forming multiple "virtual worlds"; users can freely enter and exit

For current students, this software lets them "meet online" on campus and leave commemorations; for graduates, it helps them cross geographical barriers and "return to school in the cloud" and "reunite in the cloud"; for all RDFZ people, it is an ever-growing emotional connection space that spans graduating classes.

(3) Collectibility ("Digital Cultural Creativity")

The most unique significance of the project lies in its collectible value—it is not only a "tool" but also a "digital asset" that can be preserved and passed down. The software digitally preserves campus scenes; when real-world scenery changes or disappears—such as when the landmark peach tree's trunk broke (June 2025)—the virtual campus model may even become an "out-of-print copy." For everyone who loves RDFZ, this is a spiritual sustenance to which they can "go back and take a look" at any time.

From the original intention behind making this project, what matters most is actually not how powerful its utility is, but the sentiment behind it. From my collector's desire, having a complete 3D model of RDFZ on my own computer is satisfying in itself, even if it has no specific functions.

Technical Details of the Engineering Section

Deep Integration of the Online System and the Mode System

The online architecture of Eternal RDFZ adopts a three-tier structure: master server + game server + client. The master server is deployed in the cloud and is responsible for account management, user information storage, and distribution of the game server list; there can be multiple game servers, each equivalent to an independent "room" or "cloud instance," responsible for synchronizing real-time interactions between players and reporting status to the master server when active. After startup, the client first completes login authentication and obtains the room list from the master server, then establishes a connection with the selected game server through the Mirror networking engine; afterward, synchronization data such as player positions, actions, drone attitudes, and sticker publications flows between the client and the game server. Sticker data, virtual time, and weather of different game servers are independent of one another, but player identity is uniformly guaranteed by the master server, so players can freely enter and exit among servers while remaining consistent.

The project uses Mode as a parent class; character roaming, sandbox view, drone simulation, sticker pasting, and other modes are all dynamically generated and destroyed as prefabs. When a player switches modes, this operation is synchronized as a network message to the game server, which then broadcasts it to all clients in the same room, ensuring that all players see a consistent scene state—for example, after a player enters drone mode, other players can also see their drone entity and interact with it. The sticker system is likewise attached to this framework: sticker publication, likes, and comments are all synchronized through the game server, with data serialized as JSON on the game server, and stickers in different rooms do not interfere with one another. The effect of this design is that each game server is like an independently running "cloud campus instance" with its own time, weather, and message data, while player identity is linked through the master server, forming a metaverse-style structure of "unified identity, separate worlds."

The Path from Manual Surveying to Modeling

The building models in the scene follow the complete path of "manual surveying → Blender modeling." The surveying stage used tape measures, laser rangefinders, and paper and pen as basic tools, where the team divided into groups to measure the office building, library, laboratory building, high school building, and others one by one, establishing a coordinate system with the corner of the steps west of the office building's main entrance as the origin, and using vector addition to extrapolate the positions of the buildings outward; Wei Ningxiao was responsible for recording, clearly drawing the cross-sectional outline of each entire building. The measured dimension data was imported into Blender, where modeling students such as Lu Mingxuan completed the white models, then gradually produced textures and interior details. Eventually the building models were merged into a complete campus scene in Blender, then imported into Unity for scene construction and interactive development.

Pathfinding and Minimap

The pathfinding system is based on the A* algorithm and was optimized by Wang Chujun on the basis of early code blueprints provided by the author. Users can click on the minimap to select a destination, and the system generates a path guide. The minimap displays the player's position and orientation in real time. Because later efforts shifted to the online system, the pathfinding function ultimately supported navigation only to a number of fixed points on the map and was not fully rolled out.

Day-Night and Weather System

The day-night system uses the Enviro 3 dynamic skybox plugin, controlling the scene's light direction, color temperature, and skybox to achieve time changes; the weather system switches between rain, snow, clear, and other states and adjusts the corresponding visual effects. An early version had a bug where "the sun hung high in the night sky at 5 a.m." (the logic for hiding the sun at night was not handled), which was later fixed. Each game server maintains its own independent virtual time and weather, so different "cloud instances" present different environmental states.

Character System and Digital Human Attempts

The character controller initially used Unity samples, then was replaced with Opsive Ultimate Character Controller for more complete control functions. The virtual character's appearance went through multiple iterations: Mixamo free models (Western faces felt incongruous) → anime-style asset packs (art style too two-dimensional) → photographing school uniforms and painting textures in Blender for replacement, ultimately producing a student figure wearing a school uniform, with support for customization of gender, hairstyle, shoes, and more.

Backend and Data Storage

The backend is based on FastAPI (handled by Wang Chujun and Liang Xiuqi), responsible for account registration and login, user information, server lists, and more. Sticker data is temporarily stored in JSON form on the game server; publication, viewing, comments, and likes are synchronized through Mirror. The master server was temporarily deployed on the author's personal Alibaba Cloud server, and the game server was deployed on the laboratory's public network server; the school information center had promised to provide a virtual machine, but it was still not fully ready as of the project handover. Later, for security reasons, the laboratory's public network server was shut down.

Multilingual and UI Framework

A multilingual system was designed early in the project, supporting Chinese-English switching, so foreign guest receptions (such as visits by teachers and students from Swedish and US sister schools) could directly use the English interface. The UI interaction framework uniformly manages interface switching across modes, but the public beta version still had bugs of UI cross-talk between modes (e.g., the sticker interface popping up in drone mode, sandbox buttons remaining).

Audio and Video

The background music was originally produced by Chen Junqiao, in an Ambient + Stutter style.

Project Team Roster

Project Founders

  • Shan Tiyu (Class 9, Grade 2023; now in the IT Major Category at BUAA)
  • Shao Yichen (Class 17, Grade 2023; now at Yuanpei College, PKU)
  • Ma Yuan (Class 4, ICC Grade 2023; now at UIUC)

Advisors

  • Shi Yining (General Technology Teaching Group, RDFZ)
  • Peng Huiqun (Information Technology Teaching Group, RDFZ)

Core Production Team Members

Programming

Name Roles
Shan Tiyu (Class 9, Grade 2023) Overall programming lead, Unity main programmer
Wang Chujun (Class 9, Grade 2023; now at School of Electronics Engineering and Computer Science, PKU) Some Unity functions, website frontend and backend main programmer
Liang Xiuqi (Class 9, Grade 2023; now at Xu Teli College, BIT) Website frontend and backend
Ma Yuan (Class 4, ICC Grade 2023) Optimization and maintenance, bug fixing, server management
Yang Yicheng (Class 6, Grade 2024) Optimization and maintenance, mobile adaptation

Surveying and Modeling

Name Roles
Lu Mingxuan (Class 9, Grade 2023; now at Department of Computer Science, THU) Overall modeling lead, chief modeling technical advisor; leader of Field Surveying Group 3; office building (exterior, interior), laboratory building (exterior), high school building (exterior), comprehensive building (exterior), library (exterior), Yifu Building (exterior), temporary building (exterior), dormitory building (exterior), air dome (exterior), art palace—swimming pool (exterior), unified modeling of small structures
Shan Tiyu (Class 9, Grade 2023) Overall surveying technical lead; East Gate (exterior); overall campus scene; digital human texture design
Shao Yichen (Class 17, Grade 2023) Early surveying; Research South Building (exterior)
Wang Chujun (Class 9, Grade 2023) ICC—Junior High Building (exterior)
Zhang Xihang (Class 9, Grade 2023; now at Beihang University Hangzhou International Campus) Early surveying; modeling; laboratory building (interior)
Xie Chenxuan (Class 3, Grade 2023) Early surveying; South Gate (exterior)
Wei Ningxiao (Class 11, Grade 2023) Early surveying; high school building (interior, unfinished)
Ding Yutong (Class 12, Grade 2023) Early surveying; Research North Building (exterior)
Huang Xixuan (Class 4, Grade 2023; now at Beijing Institute of Technology Xu Teli College) Basketball court south of Yifu Building, flagpole

Original Soundtrack

Name Roles
Chen Junqiao (Class 22, Grade 2023; now at RUC) Music

Publicity

Name Roles
Huang Xixuan (Class 4, Grade 2023) Publicity
Zhang Xiwen (Class 4, ICC Grade 2024) Official account operations

Other Members of the Early Project Group (Club)

  • Guan Ziyan (Class 1, ICC Grade 2023)
  • Cao Junqi (Class 6, ICC Grade 2023)
  • Liu Jingzhe (Class 7, ICC Grade 2023)
  • Yin Ling (Class 8, ICC Grade 2023)
  • Wei Ziyue (Class 8, ICC Grade 2023)
  • Zhao Shaochen (Class 9, ICC Grade 2023)
  • Zou Zhihong (Class 3, Grade 2023)—temporary building (surveying and early modeling)
  • Jia Miaowei (Class 6, Grade 2023)
  • Zhong Jingyi (Class 7, Grade 2023)
  • Song Junxi (Class 12, Grade 2023)—temporary building (surveying and early modeling)
  • Zhong Ziming (Class 16, Grade 2023)
  • Yang Tianqi (Class 18, Grade 2023)—library (surveying and early modeling)
  • Niu Rui (Class 18, Grade 2023)—library (surveying)
  • Liu Shengxin (Class 19, Grade 2023)

Project Timeline

Time Event
2023.08 Project officially launched
2023.09.18 First club meeting; group surveying launched
2023.11 Lu Mingxuan completes the first white model, of the office building
2024.06 ARdfz development; basic modeling of all campus buildings completed
2024.08 ARdfz released; Sanya ARdfzSanya completed
2024.09 Sophomore research-based learning course begins
2024.10 Visit by the principal of a Swedish sister school
2024.11 URP → HDRP migration; Mirror networking testing
2025.02 First internal test; sticker feature completed
2025.04 School-uniform character model completed
2025.05.15 Research project final defense
2025.05 Visit by teachers and students from a US sister school
2025.05.17 Central garden research display
Late 2025.05 Grade-level display
2025.06.01 Public beta begins
2025.09 Senior-year handover; Yang Yicheng becomes next club president

Project gallery

Project Logo
Project Logo
Promotional Release Image
Promotional Release Image
Series of Scenic Postcards (Pre-rendered)
Series of Scenic Postcards (Pre-rendered)
Overall System Architecture
Overall System Architecture
Full-campus 3D Model (Without Shading)
Full-campus 3D Model (Without Shading)
Time & Weather System
Time & Weather System
Panorama Mode
Panorama Mode
Drone Simulation Mode
Drone Simulation Mode
Virtual Character Roaming Mode
Virtual Character Roaming Mode
Mini-map
Mini-map
Navigation System
Navigation System
Multiplayer Online System
Multiplayer Online System
Sticker System
Sticker System
New Year Fireworks Event
New Year Fireworks Event
Character Appearance Editor
Character Appearance Editor
A Photo of the Project Team
A Photo of the Project Team