# Rendering

### Render Buffer

The Render Buffer is used to generated Effects data onto. For each Model/Group/Submodel, xLights creates a Rectangular Grid to render effects on to. The size of the buffer depends on the model type and settings. 16 strand by 40 pixels Mega Tree will have a 16x40 render buffer.

<figure><img src="/files/7cLsBrPsDxE3cQjGmugc" alt=""><figcaption></figcaption></figure>

The Effect is overlaid onto the render buffer to calculate the color data of the individual pixels or lights.

<figure><img src="/files/sxRZZsOJWyrNDYt8sRGP" alt=""><figcaption><p>Matix Render Buffer</p></figcaption></figure>

<figure><img src="/files/s9ov5KJqoBcRCnMvw2A8" alt=""><figcaption><p>Custom Model Render Buffer</p></figcaption></figure>

### Group Render Buffer

Default Minimal Grid will Draws a 2D grip over the models in the group and attempt to put each pixel in its own box, Up to the Max Grid Size, Normally 400x400.

<figure><img src="https://lh7-rt.googleusercontent.com/slidesz/AGV_vUczyTTS52yvM3s0r22roSTXII8KMXFtsIisgK6_JOQvKRAhHiX905wvuGvDP8yBO5Lum-UbjLGl9rzaET-bOR1fW4sGRMmO_x0cFR49xjeBamL-GypUP5QjdRH3qVWEzC578qELX3UeRoeT9cf04FIf8Hrtsg=s2048?key=1gBjmeJmolgwdkZH-qLraA" alt=""><figcaption></figcaption></figure>

### Model Rendering Low Level Model

<div data-full-width="true"><figure><img src="/files/qj1RWUCRtcLkaSIwtrJs" alt=""><figcaption><p>Credit: Keith Westley</p></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.xlights.org/xlights/chapters/chapter-four-sequencer/rendering.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
