CIG-mode Rendering Using Stencil Buffers for Virtual Fitting

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current virtual fitting systems face challenges in efficiently rendering multiple garments simultaneously, particularly in real-time, due to the complexity of interfering garments and the combinatorial explosion of pre-simulation requirements, which limits high-quality simulation and causes artifacts in CIG-mode rendering.

Innovation Solution

A method and system for CIG-mode rendering that uses inner-saver objects (ISOs) to manage stencil buffers, allowing for independent garment simulation (IGS) of outer and inner garments, with specific pixel manipulation steps to render interiors and exteriors effectively, and utilizing OpenGL hardware for real-time processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If multiple garments are rendered simultaneously using traditional methods, then the virtual fitting system can display complete outfits, but the rendering complexity increases exponentially due to interfering garments

Engineering Contradiction:
Improveability to display multiple garments simultaneouslyVSAvoidrendering complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent divides the rendering process into separate passes for different garment layers. The outer garment is rendered first, then inner garments are rendered in subsequent passes using stencil buffers to mask areas already covered by outer garments. This segmentation prevents exponential complexity by processing garments hierarchically rather than simultaneously.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a stencil buffer as an additional rendering dimension layer. This stencil buffer tracks which pixels are already covered by outer garments, allowing the system to efficiently determine where inner garments should be visible without increasing computational complexity proportionally to the number of garment combinations.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Manufacturing precision

If pre-simulation is performed for all garment combinations to ensure high-quality simulation, then the accuracy of garment interaction is improved, but the computational time and resources increase exponentially

Engineering Contradiction:
Improvesimulation accuracyVSAvoidpre-simulation time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary rendering of outer garments and stores their pixel coverage information in stencil buffers before rendering inner garments. This preliminary action eliminates the need for extensive pre-simulation of all garment combinations, as the rendering system efficiently handles interactions through the stencil buffer masking technique during the actual rendering phase.

Inventive Principle:
Principle #10Preliminary action

3Ease of manufacture

If traditional rendering methods are used for CIG-mode, then the system can handle simple cases, but artifacts appear when rendering complex garment combinations

Engineering Contradiction:
Improverendering simplicityVSAvoidrendering quality
Core Design Contradiction:
Ease of manufactureVSReliability

Solution Approach 1:

The patent introduces stencil buffers as an intermediary mechanism between the rendering of outer and inner garments. This intermediary structure accurately tracks pixel coverage and prevents rendering artifacts by ensuring that inner garments are only rendered in areas not already covered by outer garments, maintaining reliability for complex garment combinations while preserving rendering simplicity.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10134200B2Method and system for CIG-mode rendering
Publication Date: 2018.11.20 TG3D STUDIO INC(CN)
  • US10134200B2 patent drawing
  • US10134200B2 patent drawing
  • US10134200B2 patent drawing

AI summary

A method for CIG-mode rendering in a virtual fitting system is provided. The method comprises step for: preparing a three-dimensional body, selecting a first garment for an outer and a second garment for an inner, assigning a plurality of inner-saver objects (ISOs), initializing all pixels of a stencil buffer for the screen; incrementing first pixels of the stencil buffer corresponding to interiors and RGB-drawing of the interiors, and the interiors comprise pixels of the outer or the inner, decrementing second pixels of the stencil buffer corresponding to exteriors and RGB-drawing of the exteriors, incrementing third pixels of the inner-saver objects and void-drawing the inner-saver objects; RGB-drawing forth pixels of the inner, where the stencil values are greater than zero.