SoOffscreenRenderAreaSetTile Method |
Defines the maximum sub-image (tile) size for rendering and the number of pixels on the border of each sub-image that are not written on the final image.
Namespace: OIV.Inventor
is dimension of the tile.
is the number of pixels on the edge of the tile which will not be included in the final image.
The default value is two pixels. Edge pixels are usually required to avoid visual "artifacts" at the subimage boundaries. One source of artifacts is that when OpenGL clips lines, it draws a line between the points where the line exits and re-enters the visible region. This additional segment is not part of the actual geometry. A two pixel border will hide this undesired segment unless the line width is greater than two, in which case you may need to specify a larger number of edge pixels.