# Transparency

Transparency refers to passing light through a 2D surface. It is enabled by setting the “transmission” component of an object’s color (using `Set_Color`).

The transmission value controls the light that should be transmitted through the surface. “faces=(transmission=black)” describes a perfectly opaque surface, “faces=(transmission=white)” describes a perfectly clear material, while “faces=(transmission=green)” describes a surface that is opaque to red and blue, but transparent to green. The image below depicts the borromean rings, with the blue one being drawn with transparency:

Transparency example

Blending objects with the color of underlying objects is a basic (and obvious) requirement to produce a scene with transparent objects. However, if a transparent object has faces that overlap with one another, or if multiple (and therefore potentially overlapping) transparent objects are present in the scene, they can only be drawn accurately if their faces are sorted with respect to one another. In addition to the basic blending requirement, HOOPS/3dGS by default will perform extra work to sort the faces of the transparent objects. This results in a more accurate picture, but at the cost of rendering speed. The developer can control both the transparency sorting algorithm and the blending method used to handle the transparent objects by setting several “transparency options” in `Set_Rendering_Options`.

For a detailed discussion of the advantages and costs for different sorting algorithms see the transparency section.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Visualize 3DF in your own language, or choose a sample question below to start a conversation:

What is HOOPS Visualize 3DF?
What are the latest release notes for HOOPS Visualize 3DF?
How do I start evaluating HOOPS Visualize 3DF?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...