Results 1 to 7 of 7

Thread: Important decision ( done late )

  1. #1
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,129
    Rep Power
    732

    Important decision ( done late )

    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
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  2. #2

    Re: Important decision ( done late )

    Sounds good to me.

  3. #3

    Re: Important decision ( done late )

    Yeah, it sounds alright.
    Operating System: Windows 10 Home 64-bit
    CPU: Intel Celeron N4000 CPU @ 1.10GHz
    Memory: 4.00GB RAM
    Graphics: Intel UHD Graphics 600

  4. #4
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,129
    Rep Power
    732

    Re: Important decision ( done late )

    Thanks guys,

    your words matter
    I will do it this way then.


    Thanks,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  5. #5
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,129
    Rep Power
    732

    Re: Important decision ( done late )

    Developed, will be present in next tB preview

    Thanks,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  6. #6
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,782
    Rep Power
    10

    Re: Important decision ( done late )

    Thanks Petr. I've got your mail.
    Quite soon a new update will be out.

    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  7. #7
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,129
    Rep Power
    732

    Re: Important decision ( done late )

    Thanks Eros,

    that would be nice


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •