PDA

View Full Version : Important decision ( done late )



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

Michael Hartlef
11-05-2008, 14:01
Sounds good to me.

matthew
11-05-2008, 18:53
Yeah, it sounds alright.

Petr Schreiber
11-05-2008, 19:09
Thanks guys,

your words matter 8)
I will do it this way then.


Thanks,
Petr

Petr Schreiber
12-05-2008, 16:24
Developed, will be present in next tB preview

Thanks,
Petr

ErosOlmi
12-05-2008, 16:42
Thanks Petr. I've got your mail.
Quite soon a new update will be out.

Eros

Petr Schreiber
12-05-2008, 23:03
Thanks Eros,

that would be nice :)


Petr