# US 2019/0244417 A1 · System and method for real time dynamic lighting simulation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0244417 A1
- Document ID: US20190244417A1
- Status: Published application
- Kind: A1
- Application number: 16/388,082
- Filed: 2019-04-18
- Published: 2019-08-08
- Earliest claimed: 2011-04-14
- Assignees: Suntracker Technologies Ltd.
- Applicants: SunTracker Technologies Ltd.
- Inventors: Ian Ashdown; Wallace Jay Scott
- Web page: https://patentgrep.com/patent/US20190244417A1

## CPC

- H05B 47/115: by determining the presence or movement of objects or living beings
- G05B 15/02: electric
- G05B 19/042: using digital processors (G05B19/05 takes precedence)
- G06F 17/11: for solving equations {, e.g. nonlinear equations, general mathematical optimization problems (optimization specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06F 30/13: Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
- G06F 30/20: Design optimisation, verification or simulation (optimisation, verification or simulation of circuit designs G06F30/30)
- G06F 30/23: using finite element methods [FEM] or finite difference methods [FDM]
- G06F 30/3323: using formal methods, e.g. equivalence checking or property checking
- G06T 15/005: {General purpose rendering architectures}
- G06T 15/04: Texture mapping
- G06T 15/506: {Illumination models}
- G06T 15/55: Radiosity
- G06T 15/80: Shading
- H05B 47/11: by determining the brightness or colour temperature of ambient light
- H05B 47/16: by timing means
- F24F 11/30: for purposes related to the operation of the system, e.g. for safety or monitoring
- F24F 11/47: Responding to energy costs
- F24F 2120/10: Occupancy
- F24F 2130/20: Sunlight
- F24S 2201/00: Prediction; Simulation
- G05B 2219/2642: Domotique, domestic, home control, automation, smart house
- G06T 2215/16: Using real world measurements to influence rendering
- Y02B 20/40: Control techniques providing energy savings, e.g. smart controller or presence detection
- H05B: ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- F24F: AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING (removing dirt or fumes from areas where they are produced B08B15/00; vertical ducts for carrying away waste gases from buildings E04F17/02; tops for chimneys or ventilating shafts, terminals for flues F23L17/02)
- F24S: SOLAR HEAT COLLECTORS; SOLAR HEAT SYSTEMS (for producing mechanical power from solar energy F03G6/00)
- Y02B: CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS

## Abstract

Sustainable building lighting and energy modelling and control, and the associated computer graphics, including real-time dynamic lighting simulation, are concerned with: an optimized method for radiance modelling, including its application to predictive daylight harvesting; and the real-time simulation of physically-based electric lighting and daylighting for architectural, horticultural, and theatrical lighting systems visualization. In order to display and analyze in real time a photometrically accurate representation of an environment, thousands of lighting channels may have their intensity settings continually varied such that a user may interactively view the three-dimensional environment without the need for ongoing global illumination calculations. This can be accomplished utilizing texture maps as a multiplicity of canonical radiosity solutions, each representing a lighting channel for dynamic lighting simulation, and storing the solutions in the texture memory of a graphics processing unit.

## Claims

### Claim 1

A system for displaying real-time dynamic lighting simulations, comprising:
one or more processors;
a display device;
one or more graphics processing units (GPUs); and
one or more memory devices storing computer-readable instructions, which, when executed by the one or more processors cause the system to:
encode a texture map as a multiplicity of canonical radiosity solutions, each representing a lighting channel;
store the canonical radiosity solutions in a texture memory of the one or more GPUs;
generate a multiplicity of lighting channel intensity settings;
store the lighting channel intensity settings in the one or more memory devices;
access the canonical radiosity solutions on a per-vertex basis with a vertex shader program;
multiply vertex channel colors associated with the vertices by the lighting channel intensity settings;
sum resultant colors to generate a display vertex color; and
display the vertex color on the display device.

### Claim 2 (depends on 1)

The system of claim 1 wherein the computer-readable instructions, when executed by the one or more processors, cause the system to:
use, for each vertex, a vertex constant color value from the texture map to initialize the display vertex color with one of the multiplicity of canonical radiosity solutions;
wherein said one canonical radiosity solution represents a direct and indirect illuminance distribution within an environment for constant electric light sources.

### Claim 3 (depends on 2)

The system of claim 2 wherein the computer-readable instructions, when executed by the one or more processors, cause the system to:
initialize a vertex channel color texel array index in order to access a spectral radiant exitances array associated with each vertex.

### Claim 4 (depends on 3)

The system of claim 3, wherein the computer-readable instructions, when executed by the one or more processors, cause the system to process one or more active color channels by:
fetching a vertex channel color texel from the texture map;
multiplying the vertex channel color represented by the texel with an associated global channel dimmer setting or sky patch luminance;
adding the vertex channel color to the display vertex color;
incrementing the vertex channel color texel array index; and
processing the next active color channel, if any.

### Claim 5 (depends on 2)

The system of claim 2, comprising, in the one or more GPUs, a multiplicity of GPU processor cores, wherein the computer-readable instructions, when executed by the one or more processors, cause the system to apply an inverse gamma correction to the display vertex color, by:
correcting each component of a red-green-blue triplet with an inverse gamma correction;
setting vertex texture coordinates as required for the vertex shader program;
calculating a vertex position as required for the vertex shader program; and
executing a fragment shader program on a per-pixel basis for an entire displayed image, utilizing the multiplicity of GPU processor cores.

### Claim 6 (depends on 1)

The system of claim 1, wherein the computer-readable instructions, when executed by the one or more processors, cause the system to:
enable textures for a displayed image; and
initialize a fragment color as an input color times a texel color.

### Claim 7 (depends on 6)

The system of claim 6, wherein:
the vertex belongs to an opaque surface; and
the computer-readable instructions, when executed by the one or more processors, cause the system to:
specify an exposure setting to lighten or darken the displayed image; and
multiply the fragment color by the exposure setting.

### Claim 8 (depends on 7)

The system of claim 7, wherein the computer-readable instructions, when executed by the one or more processors, cause the system to:
output a value of the fragment color as required for a fragment shader program.

### Claim 9 (depends on 7)

The system of claim 7, wherein the computer-readable instructions, when executed by the one or more processors, cause the system to:
specify a grayscale display:
calculate the fragment color as a luminance of its red-green-blue values;
calculate the fragment color as a pseudocolor; and
output a value of the fragment color as required for a fragment shader program.

### Claim 10 (depends on 1)

The system of claim 1, wherein the computer-readable instructions, when executed by the one or more processors, cause the system to initialize a fragment color as an input color.

### Claim 11 (depends on 10)

The system of claim 10, wherein:
the vertex belongs to an opaque surface; and
the computer-readable instructions, when executed by the one or more processors, cause the system to:
specify an exposure setting to lighten or darken the displayed image; and
multiply the fragment color by the exposure setting.

### Claim 12 (depends on 11)

The system of claim 11, wherein the computer-readable instructions, when executed by the one or more processors, cause the system to:
specify a grayscale display:
calculate the fragment color as a luminance of its red-green-blue values;
calculate the fragment color as a pseudocolor; and
output a value of the fragment color as required for a fragment shader program.

### Claim 13 (depends on 1)

The system of claim 1, comprising a daylight harvesting modelling system, wherein the computer-readable instructions, when executed by the one or more processors, cause the system to display, on the display device, a real-time dynamic lighting simulation for a building, a space in the building, a horticultural lighting purpose, a greenhouse or a theatre.

### Claim 14

Computer readable memory storing computer-readable instructions, which, when executed by one or more processors cause a lighting modelling system to:
encode a texture map as a multiplicity of canonical radiosity solutions, each representing a lighting channel;
store the canonical radiosity solutions in a texture memory of one or more graphics processing units (GPUs);
generate a multiplicity of lighting channel intensity settings;
store the lighting channel intensity settings;
access the canonical radiosity solutions on a per-vertex basis with a vertex shader program;
multiply vertex channel colors associated with the vertices by the lighting channel intensity settings;
sum resultant colors to generate a display vertex color; and display the vertex color.

### Claim 15 (depends on 14)

The computer readable memory of claim 14 wherein the computer-readable instructions, when executed by the one or more processors, cause the lighting modelling system to:
use, for each vertex, a vertex constant color value from the texture map to initialize the display vertex color with one of the multiplicity of canonical radiosity solutions;
wherein said one canonical radiosity solution represents a direct and indirect illuminance distribution within an environment for constant electric light sources.

### Claim 16 (depends on 15)

The computer readable memory of claim 15 wherein the computer-readable instructions, when executed by the one or more processors, cause the lighting modelling system to:
initialize a vertex channel color texel array index in order to access a spectral radiant exitances array associated with each vertex.

### Claim 17 (depends on 16)

The computer readable memory of claim 16, wherein the computer-readable instructions, when executed by the one or more processors, cause the lighting modelling system to process one or more active color channels by:
fetching a vertex channel color texel from the texture map;
multiplying the vertex channel color represented by the texel with an associated global channel dimmer setting or sky patch luminance;
adding the vertex channel color to the display vertex color;
incrementing the vertex channel color texel array index; and
processing the next active color channel, if any.

### Claim 18 (depends on 15)

The computer readable memory of claim 15, wherein the computer-readable instructions, when executed by the one or more processors, cause the lighting modelling system to apply an inverse gamma correction to the display vertex color, by:
correcting each component of a red-green-blue triplet with an inverse gamma correction;
setting vertex texture coordinates as required for the vertex shader program;
calculating a vertex position as required for the vertex shader program; and
executing a fragment shader program on a per-pixel basis for an entire displayed image, utilizing a multiplicity of processor cores in the one or more GPUs.

### Claim 19 (depends on 14)

The computer readable memory of claim 14, wherein the computer-readable instructions, when executed by the one or more processors, cause the lighting modelling system to:
enable textures for a displayed image; and
initialize a fragment color as an input color times a texel color.

### Claim 20 (depends on 19)

The computer readable memory of claim 19, wherein:
the vertex belongs to an opaque surface; and
the computer-readable instructions, when executed by the one or more processors, cause the lighting modelling system to:
specify an exposure setting to lighten or darken the displayed image; and
multiply the fragment color by the exposure setting.

### Claim 21 (depends on 20)

The computer readable memory of claim 20, wherein the computer-readable instructions, when executed by the one or more processors, cause the lighting modelling system to:
output a value of the fragment color as required for a fragment shader program.

### Claim 22 (depends on 20)

The computer readable memory of claim 20, wherein the computer-readable instructions, when executed by the one or more processors, cause the lighting modelling system to:
specify a grayscale display:
calculate the fragment color as a luminance of its red-green-blue values;
calculate the fragment color as a pseudocolor; and
output a value of the fragment color as required for a fragment shader program.

### Claim 23 (depends on 14)

The computer readable memory of claim 14, wherein the computer-readable instructions, when executed by the one or more processors, cause the lighting modelling system to initialize a fragment color as an input color.

### Claim 24 (depends on 23)

The computer readable memory of claim 23, wherein:
the vertex belongs to an opaque surface; and
the computer-readable instructions, when executed by the one or more processors, cause the lighting modelling system to:
specify an exposure setting to lighten or darken the displayed image; and
multiply the fragment color by the exposure setting.

### Claim 25 (depends on 24)

The computer readable memory of claim 24, wherein the computer-readable instructions, when executed by the one or more processors, cause the lighting modelling system to:
specify a grayscale display:
calculate the fragment color as a luminance of its red-green-blue values;
calculate the fragment color as a pseudocolor; and
output a value of the fragment color as required for a fragment shader program.

### Claim 26 (depends on 14)

The computer readable memory of claim 14, wherein the computer-readable instructions, when executed by the one or more processors, cause the system to display, on the display device, a real-time dynamic lighting simulation for a building, a space in the building, a horticultural lighting purpose, a greenhouse or a theatre.
