Page 1 of 4 123 ... LastLast
Results 1 to 10 of 36

Thread: TBGL Font Creator [ UPDATED Feb 23 2013 ]

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

    TBGL Font Creator [ UPDATED Feb 23 2013 ]

    Hi all,

    This tool allows you to create BMP texture in power of two size from 256x256 to 4096x4096 for use with TBGL_LoadBMPFont.

    Sizes 256x256 and 512x512 are safe for any hardware today, for the bigger ones better to check first for supported texture size.


    Hope you will like it,
    Petr

    Updates
    1.1 - saves to TGA with alpha, color fades for font
    1.3 - allows elemental shading and outlining
    1.4 - application has fixed size window, ability to export 256x256, 512x512, 1024x1024, 2048x2048 and also 4096x4096 bitmaps
    1.5 - user can specify shadow offset
    1.6 - added support for symbol fonts (thanks Rene for noticing problem)
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Petr Schreiber; 25-02-2013 at 21:15.
    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,813
    Rep Power
    10

    Re: TBGL Font Creator

    No Petr, I DO NOT LIKE !!!!

    I do not like that you waited so long to give this 41Kb perl to the world !!!
    You will be punished! Be prepared!

    ;D ;D ;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
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,813
    Rep Power
    10

    Re: TBGL Font Creator

    I was so upset that ... > >

    ;D I have created a dedicated forum !!! ;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

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

    Re: TBGL Font Creator

    ;D

    Eros - worst is I started to code that program before 2 hours.
    TBGL_LoadBMPFont is in TBGL since 2005 aaargh

    Thanks for new forum branch !


    Bye,
    Petr

    P.S. In the meantime I am getting ready for the punishment. Must locate nearest gunstore ...
    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
    thinBasic MVPs
    Join Date
    May 2007
    Location
    UK
    Posts
    1,427
    Rep Power
    160

    Re: TBGL Font Creator

    Ive been using this because it does alpha channels.

    Attached Files Attached Files
    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

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

    Re: TBGL Font Creator

    Hi Abraxas,

    nice one, I didn't knew about this.

    I used other good one, but it was not localised to english so it could be bothering for someone.
    I think it could be good to create "TBGL certified" tools with no need to be scared of license and other stuff too, so will try to improve TBGL Font Creator in future.


    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

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

    Re: TBGL Font Creator

    Hmm,

    so you must be sad TBGL loads just not alphed BMPs for fonts...
    I have modified TBGL_LoadBMPFont code to take both BMP and TGA now, it will be present in next TBGL ( 0.2.1 ) release.


    Bye,
    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 kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,865
    Rep Power
    404

    Re: TBGL Font Creator

    Petr, this is most excellent. A valuable tool and wonderful new addition. I am so glad you are on summer break and have time to create wonders for us!!
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  9. #9

    Re: TBGL Font Creator

    Excellent Programme Petr.

    Some Months ago someone on the Basic4GL Forum wrote a Font Conversion Programme which would convert TTF Fonts to a 256x256 PNG Charset. You can read about it here.

    But it was written in GFA Basic and didn't work on some peoples Computers. :P

    Is there any chance that you could add the option to save the Texture in the PNG Format?
    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
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,146
    Rep Power
    735

    Re: TBGL Font Creator



    Thanks a lot for the replies!

    Matthew, PNG fileformat seems to be my destiny, like Prince of Persia was chased by Dahaka beast, I wake up at night crying "PNG!"
    B4GL proggie looks very cool!

    Writing of the PNG file should be easier than reading, I will see what I can do.
    TGA with alpha should be easy, and will be probably done first.

    I have also planed few post process features for the bitmap, will see how fast it will go.


    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

Page 1 of 4 123 ... LastLast

Members who have read this thread: 2

Tags for this Thread

Posting Permissions

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