Results 1 to 10 of 10

Thread: TGA Loader

  1. #1

    TGA Loader

    I'm working on a simple TGA loader which can import 24 and 32Bit RGB and RLE encoded images. Additionally, for images that don't have alpha channels, I'm fiddling around with a custom alpha channel creator, which uses callback-functions for calculating custom alpha values, or being able to select an R G or B channel as your alpha channel data.

    Currently only 24bit RLE and RGB encoding is supported, more to follow

    You can pick it up from my website

  2. #2

    TGA Loader

    *bump*

    any progress on this?
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

  3. #3

    TGA Loader

    Check www.delphi3d.net they have a verry good .tga loader.
    Why reinvent the wheel when there are already some verry good OpenSource projects like this.
    The future must be... Fast and OpenSource so...
    <br />Think Open and Lightning Fast!

  4. #4

    TGA Loader

    Quote Originally Posted by Lightning
    Check www.delphi3d.net they have a verry good .tga loader.
    Why reinvent the wheel when there are already some verry good OpenSource projects like this.
    Because it is a tga reader only, and not a tga writer. Because it has some bugs. Because maybe he can write a faster version. Because maybe he can write a cross-platform, cross-compiler version. Because he enjoys it. Lots of reasons. :lol:
    [size=10px]&quot;In science one tries to tell people, in such a way as to be understood by everyone, something that no one ever knew before. But in poetry, it&#39;s the exact opposite.&quot; -- Paul Dirac[/size]

  5. #5

    TGA Loader

    Sorry for the late reply.
    I didn't find any bugs with the delphi3d TGA2 loader wich is also quite fast so you must be talking about the old one, also Zanthos's loader doesn't seem verry advanced from what he says, the special alpha channel he is trying to make is something new though, his website seems to be down so i can't test.
    The future must be... Fast and OpenSource so...
    <br />Think Open and Lightning Fast!

  6. #6

    TGA Loader

    Quote Originally Posted by Lightning
    I didn't find any bugs with the delphi3d TGA2 loader...
    So what? I couldn't find grizzly bears when I visited the Canadian Rockies.

    ... wich is also quite fast so you must be talking about the old one...
    There are bugs in the horizontal and vertical flip routines which can cause entire rows of pixels to be put in the wrong place.
    [size=10px]&quot;In science one tries to tell people, in such a way as to be understood by everyone, something that no one ever knew before. But in poetry, it&#39;s the exact opposite.&quot; -- Paul Dirac[/size]

  7. #7
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    TGA Loader

    Quote Originally Posted by cragwolf
    So what? I couldn't find grizzly bears when I visited the Canadian Rockies.
    Brother, a black bear is enough. And I've met one... briefly... then I un-met him fast! Luckily, he didn't see me... :shock:

    Any updates to this TGA reader/writer as of yet?

    I often wonder why some people never post these projects on a site of some kind where the finder of such items can contact the author if need be, or simply be able to obtain updated copies. I guess thats why sites like Torry's and Delphi Super Pages were made.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  8. #8

    TGA Loader

    If nobody noticed, since the first version Asphyre (PowerDraw) came with TGA loader. 24-bit, 32-bit, RLE, mirrored, flipped TGAs supported. MPL license. Why reinvent the wheel?

  9. #9

  10. #10

    TGA Loader

    Quote Originally Posted by Lifepower
    If nobody noticed, since the first version Asphyre (PowerDraw) came with TGA loader. 24-bit, 32-bit, RLE, mirrored, flipped TGAs supported. MPL license. Why reinvent the wheel?
    Why is it necessary to ask why?

    People like to code. One solution may not be optimal. Sometimes one learns by doing something that has been done before.

    Why write any code at all? I am sure there's someone out there who wrote just about every piece of code to do any particular thing by now.

    I "rewrite the wheel" all the time for a myriad of reasons, including just sating the need to see if I can "climb that mountiain".

Bookmarks

Posting Permissions

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