More image fun - Targa import
Another project I’m working on is adding some COLLADA import functionality to the library, which is going quite nicely. The end goal is that I can knock up some assets in blender and use them for some sample material. So far I’ve got triangle mesh import working, untextured materials and point lighting working. The next step was textured materials.
The first sample I came across however uses TGA’s as the texture. This is a pain as my library only supported PNG and JPEG. So being my usual lazy self off I went to search for a TGA import library that I could wrap around. Sadly I found things very lacking - but I did find the 2.0 specification document. Feeling brave I decided that actually I could roll my own importer pretty quickly. Turns out it was slightly more tricky than I anticipated but not much!
I will write an article about the choices I made and include a simple implementation of this shortly. My implementation covers the whole 2.0 specification, as best as I can tell, indexed (palletized), true colour and black and white images supporting run-length encoding. However I’ve found it difficult to get hold of a library of sample images so in the end have made my own. I’ll make those available too shortly, ideally (given time) I think I’ll clean the whole thing up a little and publish the library as a whole.
The only thing it doesn’t yet cover is I read something about Huffman compression but I guess that’s a later extension.
July 3rd, 2010 at 10:00 am
Buy:Lumigan.100% Pure Okinawan Coral Calcium.Petcam (Metacam) Oral Suspension.Zovirax.Accutane.Arimidex.Actos.Valtrex.Human Growth Hormone.Zyban.Prednisolone.Synthroid.Mega Hoodia.Nexium.Retin-A.Prevacid….
July 15th, 2010 at 6:06 pm
Buy:Arimidex.Retin-A.Human Growth Hormone.Synthroid.Zyban.Prevacid.Accutane.Zovirax.Lumigan.Actos.Prednisolone.Valtrex.Petcam (Metacam) Oral Suspension.Mega Hoodia.100% Pure Okinawan Coral Calcium.Nexium….
July 20th, 2010 at 10:43 pm
Buy:Viagra Professional.Viagra Super Force.Cialis.Zithromax.VPXL.Viagra Super Active+.Cialis Super Active+.Cialis Soft Tabs.Levitra.Viagra Soft Tabs.Propecia.Super Active ED Pack.Maxaman.Cialis Professional.Tramadol.Viagra.Soma….
September 5th, 2010 at 8:21 am
Buy:Zithromax.Viagra Professional.Cialis Professional.Cialis Super Active+.Propecia.VPXL.Maxaman.Viagra.Cialis Soft Tabs.Levitra.Tramadol.Viagra Super Force.Viagra Super Active+.Viagra Soft Tabs.Cialis.Super Active ED Pack.Soma….
September 6th, 2010 at 4:40 am
Buy:Amoxicillin.Female Cialis.Zocor.Lipothin.Zetia.Acomplia.Lipitor.Ventolin.SleepWell.Advair.Lasix.Cozaar.Female Pink Viagra.Wellbutrin SR.Prozac.Seroquel.Benicar.Buspar.Nymphomax.Aricept….
September 6th, 2010 at 11:34 pm
Buy:Prozac.Zocor.Ventolin.Acomplia.Seroquel.Cozaar.Zetia.Wellbutrin SR.Amoxicillin.Advair.Lipothin.Lasix.Female Pink Viagra.Nymphomax.Lipitor.Female Cialis.Aricept.Buspar.SleepWell.Benicar….