OS4 DepotLogo by Browallia 
(anonymous IP: 13.59.127.63,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Development » Library » Graphics » glpng.lha

Glpng

Description: Load PNG graphics files as an OpenGL textures
Download: glpng.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 174kb
Version: 1.44
Date: 08 May 08
Author: Ben Wyatt, AmigaOS 4.0 compile by Spot / Up Rough
Submitter: Spot / Up Rough
Email: spot/triad se
Homepage: http://www.fifi.org/doc/libglpng-dev/glpng.html
Requirements: Might require MiniGL 2.0, not sure.
Category: development/library/graphics
Replaces: development/library/graphics/glpng.lha
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 3668
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 14  (Current version)
14  (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
This is a library for OpenGL to load PNG graphics files as an OpenGL texture as
easily as possible. It also has a number of options for generating the alpha
channel and mipmaps. It is implemented using modified versions of the LibPNG
1.0.2 and ZLib 1.1.3 libraries.

 This software is provided 'as-is', without any express or implied warranty. In
no event will the author be held liable for any damages arising from the use of
this software.

 Permission is hereby granted to use, copy, modify, and distribute this source
code, or portions hereof, for any purpose, without fee, subject to the following
restrictions:


The origin of this source code must not be misrepresented. You must not claim
that you wrote the original software. If you use this software in a product, an
acknowledgment in the product documentation would be appreciated but is not
required.
Altered versions must be plainly marked as such and must not be misrepresented
as being the original source.
This notice must not be removed or altered from any source distribution.

 Installation for MSDEV

 Copy glpng.h to your include/GL folder and copy glpng.lib and glpngd.lib to
your lib folder. Then just do #include <GL/glpng.h> and with a bit of luck,
MSDEV will automatically link with glpng.lib (release lib) or glpngd.lib (debug
lib).
 Installation for Any Other Compiler

 Copy glpng.h to your include/GL folder. Then you'll have to build the library
yourself with the included source code. Included are makefiles for Linux and
SGI. If you need to modify the source code to make it work on your system,
please get in contact so I can make future versions compatible.
 Compiling with LibPNG or ZLib

 If you are using LibPNG or ZLib in your project there may be problems if you
link with the glpng library. To solve this, include glpng.c in your project and,
if you're using MSDEV, modify glpng.h to not automatically link with glpng.lib
or glpngd.lib.
 OpenGL DLL Dynamic Loading using glsetup

 To use glpng with glsetup, include glpng.c, LibPNG and ZLib in your project. In
glpng.c, change #include <GL/gl.h> to include the glsetup include and modify
glpng.h to not automatically link with glpng.lib or glpngd.lib.



Copyright (c) 2004-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment