Jump to content

OBD talk:TXMP: Difference between revisions

Line 77: Line 77:
;0x01
;0x01
:This one "just" turns mip mapping on and off.
:This one "just" turns mip mapping on and off.
:For uncompressed pictures, resampling is trivial.
:For uncompressed pictures, resampling is trivial. ==> They are "pre-resampled". It's not done at runtime.
:what about compressed ones.
:what about compressed ones.
;0x02
:unknown
;0x04
:Enabled for skyboxes (anything special about the format?)
;0x08
:unknown
;0x10
;0x10
:This one is enabled for env-mapped textures and env maps themselves.
:This one is enabled for env-mapped textures and env maps themselves.
:Also enabled for skyboxes?
:Also enabled for skyboxes?
;0x08
;0x20
;0x04
:if you use this bit, you get always a white image; never used in Oni (IIRC)
:Enabled for skyboxes (anything special about the format?)
;0x40
:unknown
;0x80
:unknown
;Anything else?
;Anything else?
:There aren't so many values: 0, 1, 17, 28. It's hard to decide against an ID.
:There aren't so many values: 0, 1, 17, 28. It's hard to decide against an ID.
:A bitset ''does'' make some sense because both 1 and 17 use MIP mapping...
:A bitset ''does'' make some sense because both 1 and 17 use MIP mapping...
:Well, IMO they're bitsets. I fixed that a long time ago. [[User:Ssg|Ssg]] 10:59, 13 February 2007 (CET)
==Color depth==
==Color depth==
:Actually, the ''colors'' are parsed according to the store type.
:Actually, the ''colors'' are parsed according to the store type.
1,051

edits