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
    6,799
    Blog Entries
    3
    Rep Power
    693

    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 Thumbnails Attached Thumbnails Click image for larger version. 

Name:	TBGL_BitmapToTerrain_1_4.png 
Views:	142 
Size:	12.9 KB 
ID:	7319  
    Attached Files Attached Files
    Last edited by Petr Schreiber; 30-06-2011 at 15:17.
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

  2. #2
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Leverkusen, Germany
    Age
    51
    Posts
    3,281
    Blog Entries
    2
    Rep Power
    340

    Re: TBGL Bitmap To M15

    Cool Petr and Kent,

    I'll check it out!
    Running Windows 7 Home, 64 bit, 8 GB ram, Athlon II X2 255, ATI Radeon HD 4200.

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

    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
    61
    Posts
    3,869
    Rep Power
    398

    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
    6,799
    Blog Entries
    3
    Rep Power
    693

    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 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

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

    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
    61
    Posts
    3,869
    Rep Power
    398

    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
    6,799
    Blog Entries
    3
    Rep Power
    693

    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 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

  9. #9
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,196
    Blog Entries
    2
    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/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  10. #10
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    6,799
    Blog Entries
    3
    Rep Power
    693

    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 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

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

Posting Permissions

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