View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005144 | The Dark Mod | Graphics | public | 06.02.2020 15:40 | 09.02.2020 11:47 |
Reporter | stgatilov | Assigned To | stgatilov | ||
Priority | high | Severity | normal | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | SVN | ||||
Target Version | TDM 2.08 | Fixed in Version | TDM 2.08 | ||
Summary | 0005144: Fix render tools on GL Core profile | ||||
Description | While the game itself runs well on Core profile now, all the debug stuff does not. This includes text entity, various debug boxes/lines from the game, and horde of renderer cvars which show something. | ||||
Additional Information | Discussion on internal forums: https://forums.thedarkmod.com/index.php?/topic/20248-immediate-rendering-with-gl-core-context/ | ||||
Tags | No tags attached. | ||||
Implemented ImmediateRendering helper class, which emulates old-style calls when : r8567 Added helper for drawing like in immediate mode with GL core profile. r8569 ImmediateRendering: support 2D texcoord, store color as 8-bit. r8574 Fixed bug in ImmediateRendering::glColor4ub (broke r_showVertexColor). r8576 Now ImmediateRendering can transfer vertex data to VBO in chunks. It collects geometrical data inside, and sometimes draws all of it by creating a temporary VBO and uploading the data to it. If r_immediateRenderingEmulate is 0, then emulation is disabled and deprecated GL calls are done directly. Note that you cannot set it to 0 if Core profile is active. This list of commits changes render tools to use the new helper class. r8566 Moved RB_ShowTrace and RB_DrawExpandedTriangles to tr_rendertools.cpp. r8568 Fixed a bunch of debug tools using ImmediateRendering. r8571 Fixed r_showLightCount and r_showShadowCount. r8572 testImage and testVideo commands work. r8576 Now ImmediateRendering can transfer vertex data to VBO in chunks. The final commit is: r8577 Do not try to run the still-broken render tools on Core profile. Here is the list of stuff which I did not manage to fix: //stgatilov: this one uses qglArrayElement to fetch vertices from VBO RB_ShowSilhouette(); //stgatilov: these ones use qglDrawPixels to display FBO contents RB_ShowDepthBuffer(); RB_ShowIntensity(); RB_TestGamma(); RB_TestGammaBias(); |
|
Date Modified | Username | Field | Change |
---|---|---|---|
06.02.2020 15:40 | stgatilov | New Issue | |
06.02.2020 15:40 | stgatilov | Status | new => assigned |
06.02.2020 15:40 | stgatilov | Assigned To | => stgatilov |
06.02.2020 15:41 | stgatilov | Relationship added | related to 0005143 |
07.02.2020 03:58 | stgatilov | Additional Information Updated | |
09.02.2020 11:46 | stgatilov | Note Added: 0012186 | |
09.02.2020 11:47 | stgatilov | Note Edited: 0012186 | |
09.02.2020 11:47 | stgatilov | Status | assigned => resolved |
09.02.2020 11:47 | stgatilov | Resolution | open => fixed |
09.02.2020 11:47 | stgatilov | Fixed in Version | => TDM 2.08 |