LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-02-2004, 11:45 AM   #1
drdroid
Member
 
Registered: Oct 2003
Location: Here
Distribution: Redhat 9.0
Posts: 124

Rep: Reputation: 15
Question Opening TGA's?


Hey, I haven't been around in a while soooo. Anyone know of any common functions for opening and applying TGA's to textures? I've been searching around but the best I can find is in German And I can't read German... French... But not German The irony.
 
Old 02-02-2004, 12:53 PM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
It sorta depends on what language you're using and what APIs and other libraries you have available...
 
Old 02-02-2004, 12:55 PM   #3
synna
Member
 
Registered: Jan 2004
Posts: 40

Rep: Reputation: 15
Personaly I use OpenIL, to do all the job. OpenIL is cross-plateform library for loading, saving etc... image files. Many file formats are supported and it can be used with OpenGL. you can find it here:

http://openil.sourceforge.net

Otherwise try to check http://nehe.gamedev.net I'm quite sure there's a tutorial about TGA loading (Maybe only for M$).
 
Old 02-03-2004, 08:25 AM   #4
deiussum
Member
 
Registered: Aug 2003
Location: Santa Clara, CA
Distribution: Slackware
Posts: 895

Rep: Reputation: 32
The TGA format is actually a pretty easy one to write your own loader for, if you are so inclined. Just go to http://www.wotsit.org and check out the specification. Or as has already been said, you can find a third party library like OpenIL.
 
Old 02-03-2004, 05:03 PM   #5
drdroid
Member
 
Registered: Oct 2003
Location: Here
Distribution: Redhat 9.0
Posts: 124

Original Poster
Rep: Reputation: 15
Right, sorry, I forgot to mention I'm using opengl... Thanks for the replies.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
opening my cd rom JT13 Linux - General 2 06-08-2005 11:12 PM
Opening Log Exiledhellfire Linux - Newbie 5 05-22-2005 05:08 PM
opening stuff stickfun Slackware 12 04-11-2005 08:25 PM
opening cd-rom linmix Linux - Software 10 02-12-2005 01:42 PM
Program Not opening Neo22589 Linux - Software 22 03-10-2003 10:32 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration