Render Engine (dwRenderEngine): Tile Background Color


I’m using driveworks 3.5.

My goal is to render 3D shapes on top of an image created from .png file. I will render only on certain parts of this image and I would like to keep those parts as separate NDC coordinate systems.
Therefore, I created three tiles:

    1. full screen tile to render background 2D image
    1. smaller tile in the left side of the image area
    1. another smaller tile in the right side of the image area

Everything is working as expected (coordinate systems, positioning, rendering) except the tile background color which apparently ignores the alpha value.

My tiles and functions set background color to {value,value,value,0.0f}. I expected that to make the tile background transparent. Instead, tile background color corresponds to the one made of color values and it covers my image.

How can I set tile background to be transparent and not overlay on top of my full screen background image?

Dear @dmatic ,
Please post Drive AGX platform related topics at DRIVE AGX General - NVIDIA Developer Forums. I am moving currently to get attention.

Hi @dmatic ,
May I know which API/functions you are using for it? Thanks.

I plan on rendering lines, linestrips and triangles (3D) in separate coordinate systems (two tiles each with range -1,1) using dwRenderEngine_render().

(Image is rendered using render image 2D)

For creating tiles I am using:
dwRenderEngine_initTileState(), then setting params and then _addTile().

As said in Alpha Blending on DRIVE AGX, alpha blending isn’t supported.