Petr Schreiber
11-05-2008, 13:49
Hi all,
in latest 1.6.0.7 preview I introduced some changed to TBGL_RenderMatrix3D, but now I realize I think it was not done in the "right" way. It can lead to breaking visual output of some special older scripts, which relied on aspect ratio "stretching", especialy those with glow/render to texture.
My proposal is:
TBGL_RenderMatrix3D
( without parameters, as till now ) will work as it did before.
To make it work differentely, I propose following syntax:
TBGL_RenderMatrix3D( aspectRatioType[, aspectRatio] )
type: %TBGL_VIEWPORT( sync aspect ratio with viewport size), %TBGL_SCREEN( sync aspect ratio with screen size, as now ), %TBGL_CUSTOM ( user defined )
aspectRatio: specified only for %TBGL_CUSTOM
What do you think?
Petr
in latest 1.6.0.7 preview I introduced some changed to TBGL_RenderMatrix3D, but now I realize I think it was not done in the "right" way. It can lead to breaking visual output of some special older scripts, which relied on aspect ratio "stretching", especialy those with glow/render to texture.
My proposal is:
TBGL_RenderMatrix3D
( without parameters, as till now ) will work as it did before.
To make it work differentely, I propose following syntax:
TBGL_RenderMatrix3D( aspectRatioType[, aspectRatio] )
type: %TBGL_VIEWPORT( sync aspect ratio with viewport size), %TBGL_SCREEN( sync aspect ratio with screen size, as now ), %TBGL_CUSTOM ( user defined )
aspectRatio: specified only for %TBGL_CUSTOM
What do you think?
Petr