View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004431 | The Dark Mod | Coding | public | 01.12.2016 11:53 | 15.09.2017 03:57 |
| Reporter | duzenko | Assigned To | duzenko | ||
| Priority | normal | Severity | normal | Reproducibility | have not tried |
| Status | resolved | Resolution | fixed | ||
| Product Version | SVN | ||||
| Target Version | TDM 2.06 | Fixed in Version | TDM 2.06 | ||
| Summary | 0004431: Get rid of deprecated OpenGL functions | ||||
| Description | Deprecated functions prevent using of NSight which indicates that it's time to refactor the rendering code and replace deprecated functions with their modern counterparts. Here's a short log of NSight (18.05.17): glTexEnvi glColor3f glColor4fv glBegin glTexCoord2f glVertex2f glEnd | ||||
| Tags | No tags attached. | ||||
|
RB_STD_T_RenderShaderPasses(1), RB_ARB2_CreateDrawInteractions: commented out color pointer as not used (?) RB_ARB2_CreateDrawInteractions_simple (terrain blending), RB_STD_T_RenderShaderPasses(new particles): replaced color pointer with attrib[3] RB_STD_T_RenderShaderPasses(old particles): left color pointer unchanged as part of fixed-pipeline not executing as long as new particles are enabled GL progs .vfp modified: soft_particle, interaction, interaction_direct Tested: court yard in A House of Locked Secrets part 2. Terrain blended properly, fire smoke looking good. Only tested on Intel, should be also tested on Nvidia/AMD |
|
| Replaced the fixed-pipeline alfa test in depth stage with depth_alpha.vfp. | |
| Replaced qglTexCoordPointer with qglVertexAttribPointerARB in RB_T_FillDepthBuffer (perforated surfaces only, others' texcoords are skipped entirely) | |
|
Replaced TexCoordPointer with VertexAttribPointer in RB_STD_T_RenderShaderPasses (old and new). Old stages are rendered via a passthrough shader. |
|
| Replaced normal with attrib[2] | |
| Replaced the last of qglColorPointer with qglVertexAttribPointerARB. | |
| Replaced qglVertexPointer with qglVertexAttribPointerARB(0, ...) | |
| Fixed underwater clipping and enhanced interaction vertex blending | |
| Removed glClientActiveTextureARB | |
| Added support for GLSL, rewrote the depth shader from ARB to GLSL as proof of concept. | |
| Replaced tg_screen texgen's with glsl | |
| Replaced fog and blend texgen's with shaders | |
|
Fixed skybox for material flags TG_SKYBOX_CUBE, TG_WOBBLESKY_CUBE |
|
|
Using a uniform instead of qglColor in depth stage. Nsight is happy now (tested with Down by the river) |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 01.12.2016 11:53 | duzenko | New Issue | |
| 01.12.2016 11:53 | duzenko | Status | new => assigned |
| 01.12.2016 11:53 | duzenko | Assigned To | => duzenko |
| 01.12.2016 21:06 | nbohr1more | Relationship added | related to 0003684 |
| 11.02.2017 09:54 | duzenko | Description Updated | |
| 25.03.2017 07:37 | duzenko | Relationship added | related to 0004498 |
| 15.04.2017 08:40 | duzenko | Note Added: 0008795 | |
| 15.04.2017 08:50 | duzenko | Note Edited: 0008795 | |
| 17.04.2017 10:36 | duzenko | Note Added: 0008802 | |
| 23.04.2017 08:09 | duzenko | Relationship added | related to 0004511 |
| 24.04.2017 18:11 | duzenko | Note Added: 0008810 | |
| 29.04.2017 19:54 | duzenko | Note Added: 0008813 | |
| 07.05.2017 19:50 | duzenko | Note Added: 0008849 | |
| 08.05.2017 20:08 | duzenko | Note Added: 0008852 | |
| 09.05.2017 10:09 | duzenko | Description Updated | |
| 09.05.2017 10:10 | duzenko | Note Added: 0008856 | |
| 11.05.2017 12:42 | duzenko | Note Added: 0008859 | |
| 13.05.2017 07:23 | duzenko | Note Added: 0008860 | |
| 15.05.2017 09:30 | duzenko | Note Added: 0008861 | |
| 16.05.2017 18:43 | duzenko | Note Added: 0008865 | |
| 18.05.2017 16:22 | duzenko | Note Added: 0008869 | |
| 18.05.2017 16:23 | duzenko | Description Updated | |
| 21.05.2017 10:27 | duzenko | Note Added: 0008870 | |
| 21.05.2017 10:28 | duzenko | Note Edited: 0008870 | |
| 27.05.2017 11:14 | duzenko | Note Added: 0008876 | |
| 27.05.2017 11:15 | duzenko | Note Edited: 0008876 | |
| 15.09.2017 03:57 | nbohr1more | Status | assigned => resolved |
| 15.09.2017 03:57 | nbohr1more | Resolution | open => fixed |
| 15.09.2017 03:57 | nbohr1more | Product Version | TDM 2.06 => SVN |
| 15.09.2017 03:57 | nbohr1more | Fixed in Version | => TDM 2.06 |
| 15.09.2017 03:57 | nbohr1more | Target Version | SVN => TDM 2.06 |