3D to 2D Mesh Transformation for Unified Virtual Scene Rendering
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In game engine rendering systems, the mixed rendering of two-dimensional and three-dimensional elements is ineffective due to their use of different rendering systems, leading to poor adaptation, incompatible functional components, and inefficient processing.
Innovation Solution
Transforming three-dimensional elements into two-dimensional elements and rendering them alongside original two-dimensional elements, ensuring unified rendering modes and maintaining the rendering effect of three-dimensional elements, thereby improving the mixed rendering effect and reducing CPU processing time.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If three-dimensional elements and two-dimensional elements are rendered using different rendering systems, then each element type can be processed with its native rendering pipeline, but the mixed rendering effect deteriorates due to poor adaptation and incompatibility
Solution Approach 1:
The patent creates a two-dimensional copy of the three-dimensional element by sampling its mesh data and generating corresponding two-dimensional mesh. This copy is then rendered using the two-dimensional rendering system, enabling unified processing while preserving the visual characteristics of the original three-dimensional element. The copying approach resolves the contradiction by allowing the three-dimensional element to be processed in the two-dimensional pipeline without losing its essential rendering properties.
2Productivity
If three-dimensional elements are transformed into two-dimensional elements, then unified rendering mode is achieved and processing efficiency improves, but the rendering effect of three-dimensional elements may be lost
Solution Approach 1:
The patent transforms three-dimensional mesh data into two-dimensional mesh by changing the dimensional parameters while preserving the visual characteristics. The transformation process samples the three-dimensional element at specific frames and generates two-dimensional representations that maintain the essential rendering properties. This parameter change approach enables unified rendering processing while preserving the rendering effect quality of the original three-dimensional elements.
3Adaptability or versatility
If mixed rendering is performed on two-dimensional and three-dimensional elements, then both element types can be displayed together, but the rendering effect deteriorates due to incompatible functional components
Solution Approach 1:
The patent segments the rendering process into distinct phases: first transforming three-dimensional elements into two-dimensional representations, then rendering all elements (original two-dimensional and transformed two-dimensional from three-dimensional sources) using the unified two-dimensional pipeline. This segmentation allows each element type to be processed appropriately while maintaining overall rendering quality and compatibility.
Data Source
AI summary
This application provides a rendering method performed by an electronic device. The method includes: sampling an animation of a target three-dimensional element in the virtual scene to obtain a mesh sequence frame corresponding to the animation of the target three-dimensional element, the animation of the target three-dimensional element comprising a current frame and at least one historical frame, and each historical frame comprising the target three-dimensional element; obtaining mesh data corresponding to the target three-dimensional element from the mesh sequence frame; creating a transformed two-dimensional element corresponding to the target three-dimensional element through transforming the mesh data corresponding to the target three-dimensional element; and rendering the transformed two-dimensional element corresponding to the target three-dimensional element.


