View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000128 | FSSCP | OpenGL | public | 2004-03-05 17:10 | 2004-03-16 17:45 |
| Reporter | phreak | Assigned To | phreak | ||
| Priority | high | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0000128: shields don't appear on ships being hit in OGL HT&L | ||||
| Description | pretty self explanatory, it looks like the shields are being transformed in software and rendered to garbage values | ||||
| Tags | No tags attached. | ||||
|
|
It worked for me on a low detail shield setting so I changed render_shield_triangle() in code/ship/shield.cpp to use g3_transfer_vertex() with HT&L and added TMAP_HTL_3D_UNLIT to the flags passed to g3_draw_poly(). It is now working for me with high and low detail settings. I have made other changes to OGL for the Linux stuff and 32-bit support so it could be a combination of the changes. Someone might want to test whether the changes to shield.cpp are all that's needed. I can't use OGL mode on WIN32 since I've got a crappy vidcard on that system and only D3D works. |
|
|
thats what was wrong. figured it was overlooked. fixed |
|
|
Test your damn code people! Whoever put in this line of code in to shield.cpp 593: if (!Cmdline_nohtl) g3_transfer_vertex(&points[j],&pnt); else g3_rotate_vertex(&points[j], &pnt); As well as it not fixing OGL, it actually broke shields for D3D. |
|
|
It was tested. phreak forgot to add the TMAP_HTL_3D_UNLIT flag to the two g3_draw_poly() calls. This gets it working in D3D and OGL. |
|
|
oops. it was working for me at least :rolleyes: i think i changed some logic in the gr_opengl_tmapper() function that affected this edited on: 03-16-04 12:39 |
|
|
ok i added TMAP_HTL_3D_UNLIT to the flags if Cmdline_nohtl is 0 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2004-03-05 17:10 | phreak | New Issue | |
| 2004-03-05 17:10 | phreak | Status | new => assigned |
| 2004-03-05 17:10 | phreak | Assigned To | => phreak |
| 2004-03-07 01:49 | taylor | Note Added: 0000356 | |
| 2004-03-08 21:59 | phreak | Note Added: 0000404 | |
| 2004-03-08 21:59 | phreak | Status | assigned => resolved |
| 2004-03-08 21:59 | phreak | Resolution | open => fixed |
| 2004-03-08 21:59 | phreak | Status | resolved => closed |
| 2004-03-16 11:47 | RandomTiger | Status | closed => feedback |
| 2004-03-16 11:47 | RandomTiger | Resolution | fixed => reopened |
| 2004-03-16 11:47 | RandomTiger | Note Added: 0000479 | |
| 2004-03-16 16:59 | taylor | Note Added: 0000483 | |
| 2004-03-16 17:35 | phreak | Note Added: 0000484 | |
| 2004-03-16 17:39 | phreak | Note Edited: 0000484 | |
| 2004-03-16 17:44 | phreak | Status | feedback => resolved |
| 2004-03-16 17:44 | phreak | Resolution | reopened => fixed |
| 2004-03-16 17:45 | phreak | Status | resolved => closed |
| 2004-03-16 17:45 | phreak | Note Added: 0000485 |