# US 2008/0278482 A1 · Method to Render a Root-Less Scene Graph With a User Controlled Order of Rendering

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

- Number: US 2008/0278482 A1
- Document ID: US20080278482A1
- Status: Published application
- Kind: A1
- Application number: 12/096,151
- Filed: 2006-12-07
- Published: 2008-11-13
- Earliest claimed: 2005-12-08
- Assignees: Aurorum Science Park 6
- Inventors: Khashayar Farmanbar; Tomas Karlsson
- Web page: https://patentgrep.com/patent/US20080278482A1

## CPC

- G06T 17/005: {Tree description, e.g. octree, quadtree}
- G06T 15/00: Three-dimensional [3D] image rendering
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A scene graph is provided which represents data and a set of processes thus providing an enhanced approach to the previously known scene graph concept. With this approach the scene graph becomes a rendering description of the data rather than a world description. Previously known scene graphs represent a structure of objects and their attributes. The scene graph has a notation of the traversing order, which together with the types of nodes, the nodes position, node functionality and node state determine the rendering order. Thus, any effects supported by the underlying rendering pipeline can be expressed directly in the scene graph by the user. An API is provided for the scene graph, controlling the actual rendering order and optimization to the user. The scene graph is extensible allowing the user to experiment and express new rendering algorithms in the scene graph semantic.

## Claims

### Claim 1

A method for rendering a scene graph, which comprises 3D graphical data in a computerized system, that comprises a CPU and a GPU, the method comprises:
assembling nodes defined by a user to a scene graph, setting a first node as start of traversal of the scene graph,
determining if nodes in the scene graph are to be traversed,
sending scene graph data down a rendering pipeline based on an order defined by the user in the scene graph, and
adding a second node to the scene graph, the second node comprises an algorithm for 3D graphical presentation, which second node has a third node as a child and the third node comprises a state that restricts the third node's children from being traversed, wherein the rendering order is changed in a controlled manner by the user.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
traversing the scene graph in the changed order defined by the user without updating the system software traversing the scene graph.

### Claim 3 (depends on 2)

The method according to claim 2, further comprising:
sending the scene graph data down the rendering pipeline in the changed order defined by the user without updating the system software traversing the scene graph.

### Claim 4 (depends on 3)

The method according to claim 3, wherein traversing the scene graph and sending scene graph data down the rendering pipeline, is performed in the changed order defined by the user without the system software optimizing the order of rendering in the CPU.

### Claim 5 (depends on 4)

The method according to claim 4, further comprising:
updating states in nodes, such as geometry and animation, wherein processes are started and executed in the CPU, wherein updating states of nodes is performed as an update pass initiated by a method accessible to the user in an application programming interface, and
handling node data in the GPU as a result of a call to a render method, and that at least partly in parallel as updating states in nodes in the CPU, wherein the method supports an asynchronous multiprocessor approach.

### Claim 6 (depends on 5)

The method according to claim 5, wherein updating states in nodes is multithreaded.

### Claim 7 (depends on 4)

The method according to claim 4, wherein while performing a render pass, sending data down the rendering pipe line in sets of data, where each set of data is sent as a result of that a draw node is encountered during traversal of the scene graph, and the set of data is derived from nodes above the draw node.

### Claim 8 (depends on 4)

The method according to claim 4, further comprising:
evaluating if components of a node previously were sent down the rendering pipe line, and if previously sent, the components of the node are not sent again.

### Claim 9 (depends on 4)

The method according to claim 4, further comprising:
handling lazy evaluation of a node, and
deciding if data related to a state of the node is to be sent down the rendering pipe line depending on if the same data was previously sent from another node, and if previously sent the data is not sent again.

### Claim 10 (depends on 9)

The method according to claim 9, wherein handling lazy evaluation is enabled by an appearance node, on a higher level in the scene graph than the evaluated node.

### Claim 11 (depends on 10)

The method according claim 10, wherein the state in the handling lazy evaluation relates to a texture.

### Claim 12 (depends on 11)

The method according to claim 11, wherein handling lazy evaluation is enabled by a shader node on a higher level in the scene graph than the evaluated node, and the data relates to a shader program.

### Claim 13 (depends on 4)

The method according to claim 4, further comprising:
accessing the scene graph states by means of a bridge between the scene graph and the rendering pipe line using uniforms.

### Claim 14 (depends on 13)

The method according to claim 13, further comprising:
automatically using uniforms, wherein states of the scene graph also exists as uniforms.

### Claim 15 (depends on 4)

The method according to claim 4, wherein defining the order in the scene graph is performed as top-bottom to left-right, in a depth first recursive manner.

### Claim 16 (depends on 4)

The method according to claim 4, wherein determining if a child of a node is to be traversed, is performed on a node that is extended with a restriction based on at least one state, the extension being performed before the node is added to the scene graph.

### Claim 17 (depends on 4)

The method according to claim 4, further comprising:
sending data to the GFO by means of a peer level, and
connecting data and states of nodes to processes in the rendering pipe line.
