Page 4 of 4 FirstFirst ... 234
Results 31 to 38 of 38

Thread: Vampyre Imaging Library 0.24.0

  1. #31

    Pixel format

    Any particular reason for BGR(A) pixel format instead of RGB(A)?

  2. #32

    Vampyre Imaging Library 0.24.0

    I assume BGR(A) is used so it can match the Windows BMP format more easily :-)
    cheers,
    Paul

  3. #33

    Vampyre Imaging Library 0.24.0

    Quote Originally Posted by paul_nicholls
    I assume BGR(A) is used so it can match the Windows BMP format more easily :-)
    cheers,
    Paul
    Yes, and D3D textures, GDI, TGA images, etc.
    Some RGBA formats are supported too though.
    Vampyre Imaging Library
    Earth Under Fire (PGD Big Boss 3rd place)
    Domains Of Chaos (PGD Multiplexity 5th place)

  4. #34

    Vampyre Imaging Library 0.24.0

    OpenGl can use this texture format easily. Caused me some trouble though, since I belong in the "If after umpteenth try it doesn't work, READ THE MANUAL AT LAST!" category. ops:

  5. #35

    Re: Vampyre Imaging Library 0.24.0

    I can't use any jpeg images as textures with OpenGL, LoadGLTexture always returns 0 as the handle?
    If you develop an idiot proof system, the nature develops better idiots.

  6. #36

    Re: Vampyre Imaging Library 0.24.0

    Some more information please, it works for me.
    Library version, OS, compiler, maybe upload on of your jpegs that doesn't work.
    Other formats work ok for you?
    Vampyre Imaging Library
    Earth Under Fire (PGD Big Boss 3rd place)
    Domains Of Chaos (PGD Multiplexity 5th place)

  7. #37

    Re: Vampyre Imaging Library 0.24.0

    That was on 0.26.0, I had forgotten to update... With 0.26.2 it works just fine.
    If you develop an idiot proof system, the nature develops better idiots.

  8. #38

    Re: Vampyre Imaging Library 0.24.0

    This is strange... When I use the 0.26.2 version with Delphi 2007 and 2009 they both complain about memory leaks I don't even have to load any images I just have to include them in my project... I didn't have this with the old version I used.

    EDIT: The actual memory leaks are not caused by Vampyre, but they are still strange and point to classes that could possible not have memory leaks (ie. TObject descendant with one LongWord public variable and a few methods etc.)...
    If you develop an idiot proof system, the nature develops better idiots.

Page 4 of 4 FirstFirst ... 234

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
  •