Autor Beitrag
GSE
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: Mi 28.07.04 18:08 
hi,

ich hab mir von dieser Seite die tga2.pas geladen, da ich einen tga-loader brauch(te), der 8-Bit tga's laden kann, das Problem ist, dass ich (leider) nicht weiß wie ich aus dem PixelArray in der Data-Property eine textur mache (d.h. dass ich sie über glBindTexture) binden kann (also den Index (GLUInt) der textur kriege) (gluBuild2DMipMaps funktioniert entweder nciht oder ich bin zu dumm, da ich da ja keinen Index zurückkriege)? Kann mir das jemand erklären? (in der Hilfedatei zur Unit steht auch nichts Dementsprechendes :cry: )

Danke, schon im Voraus.

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)