View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000605 | FSSCP | OpenGL | public | 2005-10-26 06:19 | 2005-10-26 19:57 |
| Reporter | StratComm | Assigned To | taylor | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Summary | 0000605: JPG textures may display incorrectly in OGL | ||||
| Description | I've only seen this as an issue with TBP data, but I suspect it's more widespread. Basically when a JPG file is used for a blue texture (in this particular example) it is getting loaded as orange. This apparently only happens in OGL mode, and I don't know how card-specific it is. I'll be attaching a screenshot that shows what happens; the whole ship should be that bluish color, and the part that is not has a jpg texture. I'll also upload the texture itself, should it be relevant, but it's part of TBP's official data set. | ||||
| Additional Information | This is a bug brought up by another user. See the following thread for his details: http://dynamic.gamespy.com/~freespace/forums/showthread.php?s=&postid=747302#post747302 | ||||
| Tags | No tags attached. | ||||
|
2005-10-26 06:19
|
|
|
2005-10-26 06:20
|
|
|
|
I've seen this too but never could decide if it was an TBP issue or not. Pretty sure it's not but hasn't been all that high on the todo list. I'm assuming that this is an RGB->BGR issue where 24-bit TGAs were made to work with BGR but the JPGs are coming out 24-bit RGB. Everything is normally BGR which is what we tell OGL to use which would explain why it's orange in this case. I'll have a quick look at the jpeg decoder and see what I can do about it. |
|
|
Yep, that was it. Easily fixed with a RGB->BGR conversion. I need to double check that D3D didn't break before commit though. That probably won't happen until tomorrow. |
|
|
Works well in D3D too so this is going in shortly. Reopen if the problem isn't fixed 100% or if D3D ends up showing some issue with this change. Fixered. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2005-10-26 06:19 | StratComm | New Issue | |
| 2005-10-26 06:19 | StratComm | File Added: screen0218.jpg | |
| 2005-10-26 06:20 | StratComm | File Added: sharlin_fin4_lod0.jpg | |
| 2005-10-26 11:19 | taylor | Status | new => assigned |
| 2005-10-26 11:19 | taylor | Assigned To | => taylor |
| 2005-10-26 11:22 | taylor | Note Added: 0003665 | |
| 2005-10-26 13:56 | taylor | Note Added: 0003666 | |
| 2005-10-26 19:57 | taylor | Status | assigned => resolved |
| 2005-10-26 19:57 | taylor | Resolution | open => fixed |
| 2005-10-26 19:57 | taylor | Note Added: 0003667 |