# US 8,279,222 B2 · Processing graphics data for a stereoscopic display

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

- Number: US 8,279,222 B2
- Document ID: US8279222B2
- Status: Granted
- Kind: B2
- Application number: 12/048,969
- Filed: 2008-03-14
- Published: 2009-09-17
- Granted: 2012-10-02
- Earliest claimed: 2008-03-14
- Assignees: Seiko Epson Corporation
- Inventors: Vasanth Swaminathan; Graham Sellers
- Web page: https://patentgrep.com/patent/US8279222B2

## CPC

- A63F 13/537: using indicators, e.g. showing the condition of a game character on screen
- A63F 13/5252: using two or more virtual cameras concurrently or sequentially, e.g. automatically switching between fixed virtual cameras when a character changes room or displaying a rear-mirror view in a car-driving game
- H04N 13/275: from three-dimensional [3D] object models, e.g. computer-generated stereoscopic image signals
- A63F 2300/209: characterized by low level software layer, relating to hardware management, e.g. Operating System, Application Programming Interface
- A63F: CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Processing graphics data for display on a stereoscopic display. In one example embodiment, a method of processing graphics data for display on a stereoscopic display includes several acts. First, a first projection matrix call from a graphics application to a graphics library is intercepted. Next, it is determined that the first projection matrix call produces a perspective projection matrix. Then, the first projection matrix call is forwarded to the graphics library. Next, a first drawing call with a first viewpoint from the graphics application to the graphics library is intercepted. Then, a second drawing call with a second viewpoint is generated. Next, a third drawing call with a third viewpoint is generated. Finally, the second and third drawing calls are forwarded to the graphics library.

## Claims

### Claim 1

A method of processing graphics data for display on a stereoscopic display, the method comprising the acts of:
a) intercepting a first projection matrix call from a graphics application to a graphics library;
b) determining that the first projection matrix call produces a perspective projection matrix;
c) forward the first projection matrix call to the graphics library;
d) intercepting a first drawing call with a first viewpoint from the graphics application to the graphics library;
e) generating a second drawing call with a second viewpoint;
f) generating a third drawing call with a third viewpoint; and
g) forwarding the second and third drawing calls to the graphics library; and wherein
the act e) comprises the acts of:
mapping a Z coordinate of each vertex of a polygon of the first drawing call from a range of −1 to 1 to a range of 0 to 1;
multiplying each mapped Z coordinate by a first separation value to calculate the offset value of the vertex; and
modifying the X and Y coordinates of each vertex as a function of the corresponding offset value of the vertex to place the vertex in the second viewpoint; and
the act f) comprises the acts of:
mapping a Z coordinate of each vertex of a polygon of the first drawing call from a range of −1 to 1 to a range of 0 to 1;
multiplying each mapped Z coordinate by a second separation value to calculate the offset value of the vertex; and
modifying the X and Y coordinates of each vertex as a function of the corresponding offset value of the vertex to place the vertex in the third viewpoint.

### Claim 2 (depends on 1)

The method as recited in claim 1, wherein the act b) comprises determining that the first projection matrix call is a call to a perspective function of the graphics library.

### Claim 3 (depends on 2)

The method as recited in claim 2, wherein the graphics library is OpenGL and the perspective function is glFrustum.

### Claim 4 (depends on 1)

The method as recited in claim 1, wherein the second viewpoint is left of the first viewpoint and the third viewpoint is right of the first viewpoint.

### Claim 5 (depends on 1)

The method as recited in claim 1, further comprising the acts of:
h) intercepting a second projection matrix call from the graphics application to the graphics library;
i) determining that the second projection matrix call produces an orthographic projection matrix;
j) intercepting a fourth drawing call with the first viewpoint from the graphics application to the graphics library; and
k) forwarding the fourth drawing call to the graphics library.

### Claim 6 (depends on 5)

The method as recited in claim 5, wherein the act i) comprises determining that the second projection matrix call is a call to an orthographic function of the graphics library.

### Claim 7 (depends on 6)

The method as recited in claim 6, wherein the graphics library is OpenGL and the perspective function is glOrtho.

### Claim 8 (depends on 5)

The method as recited in claim 5, wherein the act i) comprises testing a projection matrix generated as a result of the second projection matrix call and determining that the projection matrix is an orthographic projection matrix.

### Claim 9 (depends on 8)

The method as recited in claim 8, wherein the graphics library is OpenGL and the second projection matrix call is one of glLoadIdentity, glLoadMatrix, glMultMatrix, glRotate, glTranslate, or glScale.

### Claim 10

A method of processing graphics data for display on a stereoscopic display, the method comprising the acts of:
a) intercepting a first drawing call with a first viewpoint from a graphics application to a graphics library;
b) transforming all vertices of a polygon of the first drawing call through a projection matrix;
c) determining that not all Z coordinates of the transformed vertices of the polygon are within a predetermined threshold of each other;
d) generating a second drawing call with a second viewpoint;
e) generating a third drawing call with a third viewpoint; and
f) forwarding the second and third drawing calls to the graphics library; and wherein
the act d) comprises the acts of:
mapping a Z coordinate of each vertex of a polygon of the first drawing call from a range of −1 to 1 to a range of 0 to 1;
multiplying each mapped Z coordinate by a first separation value to calculate the offset value of the vertex; and
modifying the X and Y coordinates of each vertex as a function of the corresponding offset value of the vertex to place the vertex in the second viewpoint; and
the act e) comprises the acts of:
mapping a Z coordinate of each vertex of a polygon of the first drawing call from a range of −1 to 1 to a range of 0 to 1;
multiplying each mapped Z coordinate by a second separation value to calculate the offset value of the vertex; and
modifying the X and Y coordinates of each vertex as a function of the corresponding offset value of the vertex to place the vertex in the third viewpoint.

### Claim 11 (depends on 10)

The method as recited in claim 10, wherein the second viewpoint is left of the first viewpoint and the third viewpoint is right of the first viewpoint.

### Claim 12 (depends on 10)

The method as recited in claim 10, further comprising the acts of:
g) intercepting a fourth drawing call with a first viewpoint from a graphics application to a graphics library;
h) transforming all vertices of a polygon of the fourth drawing call through a projection matrix;
i) determining that all Z coordinates of the transformed vertices of the polygon are within a predetermined threshold of each other; and
j) forwarding the fourth drawing call to the graphics library.

### Claim 13

One or more non-transitory computer-readable media having computer-readable instructions thereon which, when executed, implement a method of processing graphics data for display on a stereoscopic display, the method comprising the acts of:
a) intercepting a first projection matrix call from a graphics application to a graphics library;
b) determining that the first projection matrix call produces a perspective projection matrix;
c) forwarding the first projection matrix call to the graphics library;
d) intercepting a first drawing call with a first viewpoint from the graphics application to the graphics library;
e) generating a second drawing call with a second viewpoint;
f) generating a third drawing call with a third viewpoint; and
g) forwarding the second and third drawing calls to the graphics library; and wherein
the act e) comprises the acts of:
mapping a Z coordinate of each vertex of a polygon of the first drawing call from a range of −1 to 1 to a range of 0 to 1;
multiplying each mapped Z coordinate by a first separation value to calculate the offset value of the vertex; and
modifying the X and Y coordinates of each vertex as a function of the corresponding offset value of the vertex to place the vertex in the second viewpoint; and
the act f) comprises the acts of:
mapping a Z coordinate of each vertex of a o on of the first drawing call from a range of −1 to 1 to a range of 0 to 1;
multiplying each mapped Z coordinate by a second separation value to calculate the offset value of the vertex; and
modifying the X and Y coordinates of each vertex as a function of the corresponding offset value of the vertex to place the vertex in the third viewpoint.

### Claim 14 (depends on 13)

A real-time 3D graphics device comprising:
a processor; and
one or more computer-readable media as recited in claim 13, the one or more computer-readable media having computer-readable instructions thereon which are configured to be executed by the processor.

### Claim 15 (depends on 14)

The real-time 3D graphics device as recited in claim 14, wherein the real-time 3D graphics device comprises a dedicated video-game machine.

### Claim 16

One or more non-transitory computer-readable media having computer-readable instructions thereon which, when executed, implement a method of processing graphics data for display on a stereoscopic display, the method comprising the acts of:
a) intercepting a first drawing call with a first viewpoint from a graphics application to a graphics library;
b) transforming all vertices of a polygon of the first drawing call through a projection matrix;
c) determining that not all Z coordinates of the transformed vertices of the polygon are within a predetermined threshold of each other;
d) generating a second drawing call with a second viewpoint;
e) generating a third drawing call with a third viewpoint; and
f) forwarding the second and third drawing calls to the graphics library; and wherein
the act d) comprises the acts of:
mapping a Z coordinate of each vertex of a polygon of the first drawing call from a range of −1 to 1 to a range of 0 to 1;
multiplying each mapped Z coordinate by a first separation value to calculate the offset value of the vertex; and
modifying the X and Y coordinates of each vertex as a function of the corresponding offset value of the vertex to place the vertex in the second viewpoint; and
the act e) comprises the acts of:
mapping a Z coordinate of each vertex of a polygon of the first drawing call from a range of −1 to 1 to a range of 0 to 1;
multiplying each mapped Z coordinate by a second separation value to calculate the offset value of the vertex; and
modifying the X and Y coordinates of each vertex as a function of the corresponding offset value of the vertex to place the vertex in the third viewpoint.

### Claim 17 (depends on 16)

A real-time 3D graphics device comprising:
a processor; and
one or more computer-readable media as recited in claim 16, the one or more computer-readable media having computer-readable instructions thereon which are configured to be executed by the processor.

### Claim 18 (depends on 17)

The real-time 3D graphics device as recited in claim 17, wherein the real-time 3D graphics device comprising a dedicated video-game machine.
