Results 1 to 6 of 6

Thread: freeimage for powerbasic

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

    freeimage for powerbasic

    Guys, I found code for freeimage to be used with powebasic. I thought maybe one of you guys could then easilly port it to thinBasic.
    We can then use all sorts of image files easilly.

    http://freeimage.sourceforge.net/sou...tml#PowerBasic

    There is a c++ example of using any format as a texture in opengl. I just put in a png into the same code and it worked automatically. REally cool example to see how easy it is.

    http://www.codesampler.com/usersrc/usersrc_6.htm
    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

  2. #2

    Re: freeimage for powerbasic

    Thanks Kent, but I have no time for this. Maybe you can do it with C++. Would be a good training for you.

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

    Re: freeimage for powerbasic

    Hi kryton9,

    good idea,
    I had some unhappy events here so I am a bit paralyzed for any creative stuff for some time.
    But I am bookmarking this thread and will have a look when my mind will be clear.


    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

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

    Re: freeimage for powerbasic

    The best places where to look at for Power Basic souces is Power Basic form: http://www.powerbasic.com/support/fo...assCookie=true
    Maybe not so user friendly but for sure a great source of capable people.

    If nothing there, the second place to look at is José Roca web site at http://www.jose.it-berater.org/ and in particular his forum at http://www.jose.it-berater.org/smfforum/index.php
    José always make a great and professional job, all for free. In particular his knowledge of in/out of COM interfaces is far behind the common everage. You will found there a lot or COM wrapper for Power Basic.

    Regarding FreeImage header and interface: http://www.jose.it-berater.org/smffo...php?topic=82.0
    The biggest problem with FreeImage library is that it uses a lot of callbacks to handle many functionalities so not so easy to port into thinBasic directly but a wrapper dll module I think will be needed.

    Regards
    Eros
    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

  5. #5

    Re: freeimage for powerbasic

    Quote Originally Posted by Psch
    Hi kryton9,

    good idea,
    I had some unhappy events here so I am a bit paralyzed for any creative stuff for some time.
    But I am bookmarking this thread and will have a look when my mind will be clear.


    Thanks,
    Petr
    I hope it is something that can be fixed. Best wishes from my side.

  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: freeimage for powerbasic

    @Petr As Mike said, hope you are well and that it all turns out OK!

    @Mike I was thinking of making it a project for me to do in c++, but when I saw the existing powerbasic wrapper
    I thought it would be really easy for you guys with powerbasic to make it a dll. But apprently that is not the case from
    what Eros is saying.

    @Eros I will check out the site for sure. I have seen his posts on other forums and he is a wiz at that sort of stuff for sure!!
    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

Similar Threads

  1. FreeImage: Header
    By Petr Schreiber in forum Experimental modules or library interface
    Replies: 1
    Last Post: 10-12-2009, 23:02

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
  •