Voxel File Streaming for 3D Game Scene Updates
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current game technologies face challenges in efficiently storing and loading voxel files for 3D game scenes due to memory constraints, leading to fluency issues and user experience problems, as the large memory requirements for voxels and indexes exceed the allocated memory in mobile devices.
Innovation Solution
The method involves dividing the game scene into region blocks, storing voxel files on a magnetic disk according to the update order, and reading them into memory in a streaming manner, allowing for efficient loading and updating of scenes by prioritizing memory usage and reducing the number of disk reads.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If all voxel files and indexes are stored in memory, then the fluency of game process is improved, but the memory occupation increases excessively
Solution Approach 1:
The patent divides the scene into multiple region blocks and stores corresponding voxel files on magnetic disk according to update order. Only necessary region blocks are loaded into memory when needed, rather than loading all voxel files at once. This segmentation allows the system to maintain game fluency by having required data readily available in memory while keeping overall memory occupation low by storing most data on disk.
Solution Approach 2:
The patent pre-arranges the storage order of voxel files on magnetic disk according to the update order of region blocks. This preliminary organization ensures that when a scene update is needed, the required voxel files are already positioned for efficient retrieval and loading into memory, improving game fluency without requiring excessive memory capacity.
2Quantity of substance
If memory requested by game application program is increased, then more voxel files can be stored, but the memory limit constraint remains
Solution Approach 1:
The patent introduces magnetic disk storage as an intermediary between permanent storage and memory. Voxel files are stored on magnetic disk in an update-oriented manner, and only necessary files are transferred to memory when needed. This intermediary storage layer allows the system to overcome memory limit constraints by providing additional storage capacity on disk while maintaining fast access to required data through selective loading.
3Productivity
If voxel files are stored on magnetic disk according to update order, then the number of disk reads is reduced, but the storage organization complexity increases
Solution Approach 1:
The patent pre-organizes voxel files on magnetic disk according to the update order of region blocks before game execution. This preliminary action ensures that during game runtime, the system can sequentially access voxel files in the required update order without needing to perform complex searches or random accesses, thereby reducing the number of disk reads. The storage organization complexity is paid once during setup but yields continuous performance benefits.
Data Source
AI summary
A scene update control method and apparatus, an electronic device, and a storage medium are provided. A scene is divided into a plurality of region blocks, each region block including a plurality of position coordinate pairs. A voxel file of a region block includes all voxels on the region block, and voxel files of the plurality of region blocks are stored on a magnetic disk according to an order in which the plurality of region blocks are to be updated in the scene. The voxel files of the plurality of region blocks are read from the magnetic disk and stored to a memory in advance. The scene is updated based on the voxel files of the plurality of region blocks from the memory.


