Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: TBGL, whats in the kitchen ?

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

    TBGL, whats in the kitchen ?

    Hi,

    as there were no messages from TBGL world, you might be curious what is going on.
    First thing is that I have a bit busy time, but second is that I am prepairing quite big performance jump for TBGL.

    While display lists always provided very good performance, the pure model rendering was not that fast.
    On onboard GeForce6150 LE ( yes, that LE stands for low end ) it usually rendered about 70 000 polygons at 25FPS, but not more.

    As I am reworking the bone system, I am doing some change in the way models are handled. Here I managed to achieve 2 goals so far - increase efficiency of model storage and increase speed.

    The model rendering code has passed phase 1 of optimization, which targeted on minimizing traffic between program and graphic driver. Results are very promising so far - for models with more textures the speed gain is about 2x, for single texture models up to 2.8x.

    On my particular PC it means jump from ~70 000 polygons to up to 210 000 polygons at 25FPS in ideal case, which is a budget you can build a solid detail on.

    I attach two screens of the same scene - it is about 226 models rendered at 30FPS with TBGL I have in the works. Current TBGL would do the same scene at framerate about 10, which is not good

    I still have to do all possible checking with older scripts to make sure this new optimization is possible, but I think you can look forward to hi-speed version in time horizon of 1 or 2 weeks.

    The animation part will take some time still, but I am working on that in parallel too.


    Bye,
    Petr

    ADDED COMPARSION OLD-NEW TO THIS POST + choice of number of humans to not torture cards too much
    Attached Images Attached Images
    Attached Files Attached Files
    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
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: TBGL, whats in the kitchen ?

    emmmm .... better I stay calm ...

    where is my blue pill? oops, sorry, red pill!

    ;D


    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

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

    Re: TBGL, whats in the kitchen ?

    ;D

    Here I attach EXE of the new "technology", not a DLL yet as it is not ready to ship, that will come later as I said
    Eros, you do not need pills to enter the Matrix, so do not play tricks on us

    Just use arrows to rotate camera, and F1 key will tell you how much polygons you would be able to spit at 25FPS.


    Petr

    Attachement removed, please see new one in the first post of the thread

    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

  4. #4
    thinBasic MVPs
    Join Date
    May 2007
    Location
    UK
    Posts
    1,427
    Rep Power
    159

    Re: TBGL, whats in the kitchen ?

    thanks for the information.

    I was thinking that seeing as you are optimising and improving your code it would be a good idea to have a new standard script with a standard model do to bench marking with, if we had it before you release the new version we could supply our result to you for comparison.

    It could include the processor type and speed and the graphic card details.

    [code=thinbasic]
    USES "Registry"
    DIM CPUid AS STRING
    DIM CPUSpeed AS DWORD
    DIM sMsg as STRING

    CPUid = Registry_GetValue("HKEYLM", "HARDWARE\DESCRIPTION\System\CentralProcessor\0", "ProcessorNameString")
    CPUspeed = Registry_GetDWORD("HKEYLM", "HARDWARE\DESCRIPTION\System\CentralProcessor\0", "~MHZ")

    sMsg += "CPU type" + $TAB + CPUid + $CRLF
    sMsg += "CPU speed" + $TAB + STR$(CPUspeed) + $CRLF

    MSGBOX 0, sMsg

    [/code]
    Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
    Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
    Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
    Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370

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

    Re: TBGL, whats in the kitchen ?

    Hi Abraxas,

    you read my mind

    Current TBGL_Benchmark is good to differentiate cards, but it does not show many improvements between versions on the same PC as it is based on bottlenecking the card by rebinding texture each 4 vertices.

    For testing now I use that guy ( single texture, ~800 polys ) and also model of turtle ( 5000 polys, 4 textures, all types of polygons ).

    I was thinking the benchmarks could be separate for model rendering speed, animation, ...

    Thanks a lot for your CPU info code, it is really good! I did know there is a info in registry but did not know where

    Here is the code for comparsion with current TBGL attached.


    Petr

    Attachement removed
    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,777
    Rep Power
    10

    Re: TBGL, whats in the kitchen ?

    I get around 15 FPS from the EXE version.
    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,128
    Rep Power
    732

    Re: TBGL, whats in the kitchen ?

    My brother can see weak performance and my friend too - all have ATi Radeons.

    I am afraid my "great" optimization is GeForce only - I get 30 FPS on very slow GeForce.

    And I was not using specific extensions, just vertex arrays in special way, which is OpenGL 1.1.

    Why ATi, why


    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

  8. #8
    thinBasic MVPs
    Join Date
    May 2007
    Location
    UK
    Posts
    1,427
    Rep Power
    159

    Re: TBGL, whats in the kitchen ?

    on my work computer its around 3-5 fps for both versions
    Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
    Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
    Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
    Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370

  9. #9

    Re: TBGL, whats in the kitchen ?

    Quote Originally Posted by ErosOlmi
    I get around 15 FPS from the EXE version.
    Quote Originally Posted by Abraxas
    on my work computer its around 3-5 fps for both versions
    Lol, on my new computer I get 1.72 FPS.
    Operating System: Windows 10 Home 64-bit
    CPU: Intel Celeron N4000 CPU @ 1.10GHz
    Memory: 4.00GB RAM
    Graphics: Intel UHD Graphics 600

  10. #10
    thinBasic MVPs
    Join Date
    May 2007
    Location
    UK
    Posts
    1,427
    Rep Power
    159

    Re: TBGL, whats in the kitchen ?

    whats the spec on that monster matthew?
    Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
    Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
    Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
    Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370

Page 1 of 3 123 LastLast

Similar Threads

  1. TBGL - look into the kitchen
    By Petr Schreiber in forum TBGL module by Petr Schreiber
    Replies: 2
    Last Post: 07-08-2009, 08:38

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
  •