Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: TBGL Bitmap To M15 [ UPDATED to v1.4 ]

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

    TBGL Bitmap To M15 [ UPDATED to v1.4 ]

    Hi all,

    here you can download the latest "TBGL Bitmap To Terrain" tool.

    It takes as input bitmap with heightfield, optionally also texture and produces M15 file.
    You can see how much complex will the model be and set up level of detail before the process starts.

    ! Big thanks to Mr. Kent Sarikaya for testing and suggestions !

    I have attached two simple source data bitmaps so you can try how it works


    Bye,
    Petr
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Petr Schreiber; 30-06-2011 at 15:17.
    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: TBGL Bitmap To M15

    Cool Petr and Kent,

    I'll check it out!

  3. #3
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: TBGL Bitmap To M15

    Thank you Petr, he did all the work believe me. I just had fun playing with it. It is addicting. Just draw away and you have a nice terrain, it works great. Petr is good, I tell you!!

    One thing that Petr mentioned is the level of detail. You want to use like 1/8 or 1/16 probably, so make sure you do set that option. It makes a big difference in the polycount and yet the model still looks great. And the program is really fast in doing the computations, really neat stuff!!
    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

  4. #4
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: TBGL Bitmap To M15

    Oops, Petr, even though I specify where the texture is located it, it still tried to look in a texture folder and says it can't find the texture.
    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

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

    Re: TBGL Bitmap To M15

    Hi Kent,

    if you want to get it viewed using old thinEdge_Viewer.exe, then M15 must be in Models folder and texture in Textures

    [Models]
    - Terrain_Heightmap.m15
    [Textures]
    - Terrain_Heightmap_Texture.bmp
    In script, you can specify it as you want.

    ... ok, beacause it is you I have updated viewer so it will work even with texture in same dir as model, please download here : Latest downloads


    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

  6. #6
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: TBGL Bitmap To M15

    Thanks Petr, I forgot about the viewer wanting things in the texture folder. Thanks for the fix to the viewer!!
    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

  7. #7
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: TBGL Bitmap To M15

    Petr, when you have some free time...

    The Divide Height by selection box does not serve any purpose with heightmaps. It would be much nicer if that box was changed to height scale.
    This way the user can adjust it up or down.

    The level of detail box is fine the way it is.

    As you can tell I have been doing lots of tests with it and found it very stable, fast and very useful tool!!
    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

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

    Re: TBGL Bitmap To M15 [ UPDATED to v1.1 ]

    Thanks Kent,

    please download version 1.1 which features multiply factor


    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

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

    Re: TBGL Bitmap To M15 [ UPDATED to v1.1 ]

    What about including your M15 file viewer in zip file.
    This way very easy to get an idea of you nice work!
    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

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

    Re: TBGL Bitmap To M15 [ UPDATED to v1.1 ]

    Good idea Eros,

    I added check box to show model when conversion was finished.


    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

Page 1 of 2 12 LastLast

Similar Threads

  1. TBGL OBJ to M15 converter [ UPDATED to v 1.5 ]
    By Petr Schreiber in forum TBGL Modelling, 3D, other SW integration
    Replies: 35
    Last Post: 18-08-2011, 16:37

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
  •