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

Thread: B3D loading functions

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

    B3D loading functions

    Hi folks,

    I managed to convert a Blitz3D model into an M15 model. Attached is a screenshot. I will develop functions that will let you convert models, save them as a M15 but also build it dynamically so the saving step isn't nessescary. I also will develop (hopefully) to manage the animation part. Please b e a little patient.

    Cheers
    Michael
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	dwarf.png 
Views:	146 
Size:	99.6 KB 
ID:	4442  
    Running Windows 7 Home, 64 bit, 8 GB ram, Athlon II X2 255, ATI Radeon HD 4200.

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

    Re: B3D loading functions

    Hi Mike,

    thanks for your work, converted dwarf looks perfect!
    Is B3D format patented, or which license it uses ?


    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

  3. #3

    Re: B3D loading functions

    Nice work Michael, it looks good.

    Basic4GL uses the 'quake' .md2 format for it's 3D models, I wonder if those models could be converted to the M15 format?
    Operating System: Windows 10 Home 64-bit
    CPU: AMD C-70 APU 40nm Technology
    Memory: 4.00GB DDR3 @ 533MHz
    Graphics: 256MB ATI AMD Radeon HD 7290 Graphics

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

    Re: B3D loading functions

    Hi Matthew,

    MD2 fileformat is well documented, I think static geometry without any problem, animations with some extra work too.
    I willl have look at it once TBGL 0.2.2 will be out.


    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

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

    Re: B3D loading functions

    Great job Mike!

    The more formats supported the better for all, good luck guys on the wonderful work!
    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

  6. #6
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,187
    Blog Entries
    2
    Rep Power
    10

    Re: B3D loading functions

    Great
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

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

    Re: B3D loading functions

    Quote Originally Posted by matthew
    Nice work Michael, it looks good.

    Basic4GL uses the 'quake' .md2 format for it's 3D models, I wonder if those models could be converted to the M15 format?
    For sure, static won't be problems at all. The tricky part is to save the animation data and play it back.
    Running Windows 7 Home, 64 bit, 8 GB ram, Athlon II X2 255, ATI Radeon HD 4200.

  8. #8

    Re: B3D loading functions

    Quote Originally Posted by Psch
    ...MD2 fileformat is well documented, I think static geometry without any problem, animations with some extra work too.
    I willl have look at it once TBGL 0.2.2 will be out...
    Quote Originally Posted by Michael Hartlef
    For sure, static won't be problems at all. The tricky part is to save the animation data and play it back.
    If you download and install Basic4GL you'll find a file in the Programs folder called md2viewer, it shows you how to load an md2 file and animate it.

    When I first started using thinBasic I wanted to rewrite the md2viewer but I found it a bit too complicated.
    Operating System: Windows 10 Home 64-bit
    CPU: AMD C-70 APU 40nm Technology
    Memory: 4.00GB DDR3 @ 533MHz
    Graphics: 256MB ATI AMD Radeon HD 7290 Graphics

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

    Re: B3D loading functions

    Hi,

    which freeware programs allow creation of B3D and MD2 models including animation?
    I know about Milkshape, but it is not free.


    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

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

    Re: B3D loading functions

    Blender does, there is a nice exporter available.
    Running Windows 7 Home, 64 bit, 8 GB ram, Athlon II X2 255, ATI Radeon HD 4200.

Page 1 of 2 12 LastLast

Similar Threads

  1. TBGL_LoadTexture and loading
    By Michael Clease in forum TBGL General
    Replies: 13
    Last Post: 03-06-2007, 12:29

Posting Permissions

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