you might convert those .obj-files to TBGL-Native M15 files look here.
hi petr :-)
I have a simple question if you have perhaps a good link or library for me how I can load "objects" (models: poser files, *.obj files, milkshape or other ones) for Powerbasic (for example) as you did it I can imagine for your great tbgl modul. I tried to convert some nehe example for oxygen and I am trying now to load models too, but I have no good stuff or library by hand. and it's a djungle to get a simple overview of them. thanks in advance, good week-end, best regards, frank
you can't always get what you want, but if you try sometimes you might find, you get what you need
you might convert those .obj-files to TBGL-Native M15 files look here.
I think there are missing some Forum-sections as beta-testing and support
Hi Frank,
I do not have OBJ loader written in PB, but I published a MD2 library for PowerBASIC, maybe this could be of interest?
http://www.jose.it-berater.org/smffo...sg9011#msg9011
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
There's no wall to hit!
Obj-Loading is possible in plain thinBasic + TBGL:
The program is intended to load just Obj-Files made with David-Laserscanner - so they have one group only - if you want to try, download for example "David-Angel_OBJ.zip" from here and see. Would be no Problem to extend this script to load OBJ-Files with multiple groups. It's a little longer because it uses FreeImage to load all kinds of image-formats as a texture.
Last edited by ReneMiner; 25-03-2013 at 10:56.
I think there are missing some Forum-sections as beta-testing and support
That is another OBJ file type.
You are referring to this one: http://en.wikipedia.org/wiki/Object_file
Here they are talking about this one: http://en.wikipedia.org/wiki/Wavefront_.obj_file
Last edited by ErosOlmi; 25-03-2013 at 12:48.
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
thank you all for your infos and example (rene) and correct meaning of *.obj (wavefront) files by eros link :-)
thanks petr, I will check your example. I am looking forward for alternative libraries I know there's a lot of more to explore. If I find an interesting library or sdk I will mail here.
regards, frank
you can't always get what you want, but if you try sometimes you might find, you get what you need
Bookmarks