View Issue Details

IDProjectCategoryView StatusLast Update
0004993The Dark ModGraphicspublic06.05.2019 02:54
Reportergrayman Assigned Toduzenko  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.07 
Target VersionTDM 2.07Fixed in VersionTDM 2.07 
Summary0004993: r_showportals 1 doesn't do its job correctly
DescriptionWe've talked about this before, so now I'm filing a report with an attached map with a series of visportals in line, extending away from the player.

When the mission starts, what I expect to see is 7 open (green) portals in front of me.

What I see instead, is the closest portal only, and it's designated closed (red).

As I walk down the hall, the closest red portal snaps into view when I get close to it. This continues until I reach the end of the hall.

SVN (Trunk) behaves the same way.

There are other instances where a portal is red when I'm away from it, yellow when I get closer, and green when I'm right on top of it, but let's start with this example.
TagsNo tags attached.
Attached Files
badportals.jpg (974,604 bytes)
portals.map (9,455 bytes)   
Version 2
// entity 0
{
"classname" "worldspawn"
"editor_drMapPos1" "1738.55 1171.14 -520.531"
"editor_drMapAngle1" "14.7001 87.8977 0"
"editor_drMapPos2" "414.798 255.441 -264.933"
"editor_drMapAngle2" "2.10002 84.5976 0"
"editor_drMapPos3" "-749.97 -1606.21 -470.066"
"editor_drMapAngle3" "-3.29998 6.59757 0"
"editor_drMapPos4" "1014.05 -953.679 -556.857"
"editor_drMapAngle4" "-10.2 355.498 0"
"editor_drMapPos5" "987.599 3513.79 -319.877"
"editor_drMapAngle5" "-61.1999 172.198 0"
"editor_drMapPos6" "-1032.5 -2840 739.5"
"editor_drMapAngle6" "-77.0999 175.798 0"
"editor_drMapPos7" "952.822 285.005 1366.04"
"editor_drMapAngle7" "-74.8 149.373 0"
"editor_drMapPos8" "976 424 320"
"editor_drMapAngle8" "-3 15.3467 0"
"editor_drMapPos9" "409.146 547.464 392.83"
"editor_drMapAngle9" "-16.8 284.947 0"
"editor_drMapPos10" "3134.38 -1495.39 -94.4922"
"editor_drMapAngle10" "-9.3 278.7 0"
"editor_drLastCameraPos" "152.184 38.2936 60.8354"
"editor_drLastCameraAngle" "-16.5 12.6 0"
// primitive 0
{
brushDef3
{
( 0 0 1 -136 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 1 0 -128 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 1 0 0 -1024 ) ( ( 0.0078125 0 127.5 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 -1 0 0 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( -1 0 0 0 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 0 -1 128 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
}
}
// primitive 1
{
brushDef3
{
( 0 0 1 -128 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 1 0 -136 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 1 0 0 -1024 ) ( ( 0.0078125 0 127.5 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 0 -1 0 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( -1 0 0 0 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 -1 0 128 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
}
}
// primitive 2
{
brushDef3
{
( 0 0 1 -128 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 1 0 -128 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 1 0 0 -1032 ) ( ( 0.0078125 0 127.5 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 0 -1 0 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 -1 0 0 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( -1 0 0 1024 ) ( ( 0.0078125 0 127.5 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
}
}
// primitive 3
{
brushDef3
{
( 0 1 0 -128 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 1 0 0 -1024 ) ( ( 0.0078125 0 127.5 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 0 -1 -8 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 -1 0 0 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( -1 0 0 0 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 0 1 0 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
}
}
// primitive 4
{
brushDef3
{
( 0 0 1 -128 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 1 0 0 -1024 ) ( ( 0.0078125 0 127.5 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 0 -1 0 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 -1 0 -8 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( -1 0 0 0 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 1 0 0 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
}
}
// primitive 5
{
brushDef3
{
( 0 0 1 -128 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 1 0 -128 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 0 -1 0 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 0 -1 0 0 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( -1 0 0 -8 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
( 1 0 0 0 ) ( ( 0.0078125 0 0 ) ( 0 0.0078125 0.5 ) ) "textures/darkmod/wood/boards/worn_01" 0 0 0
}
}
// primitive 6
{
brushDef3
{
( 0 0 1 -128 ) ( ( -0.0078125 0 1 ) ( 0 -0.0078125 15.0625 ) ) "textures/common/nodraw" 0 0 0
( 0 -1 0 0 ) ( ( 0.0078125 0 112.9375 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
( -1 0 0 896 ) ( ( 0.0078125 0 0.5 ) ( 0 0.0078125 0.5 ) ) "textures/editor/visportal" 0 0 0
( 0 0 -1 0 ) ( ( -0.0078125 0 1 ) ( 0 -0.0078125 112.9375 ) ) "textures/common/nodraw" 0 0 0
( 0 1 0 -128 ) ( ( 0.0078125 0 15.0625 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
( 1 0 0 -904 ) ( ( 0.0078125 0 126.5 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
}
}
// primitive 7
{
brushDef3
{
( 0 0 1 -128 ) ( ( -0.0078125 0 1 ) ( 0 -0.0078125 14.0625 ) ) "textures/common/nodraw" 0 0 0
( 0 -1 0 0 ) ( ( 0.0078125 0 113.9375 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
( -1 0 0 768 ) ( ( 0.0078125 0 0.5 ) ( 0 0.0078125 0.5 ) ) "textures/editor/visportal" 0 0 0
( 0 0 -1 0 ) ( ( -0.0078125 0 1 ) ( 0 -0.0078125 113.9375 ) ) "textures/common/nodraw" 0 0 0
( 0 1 0 -128 ) ( ( 0.0078125 0 14.0625 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
( 1 0 0 -776 ) ( ( 0.0078125 0 126.5 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
}
}
// primitive 8
{
brushDef3
{
( 0 0 1 -128 ) ( ( -0.0078125 0 1 ) ( 0 -0.0078125 13.0625 ) ) "textures/common/nodraw" 0 0 0
( 0 -1 0 0 ) ( ( 0.0078125 0 114.9375 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
( -1 0 0 640 ) ( ( 0.0078125 0 0.5 ) ( 0 0.0078125 0.5 ) ) "textures/editor/visportal" 0 0 0
( 0 0 -1 0 ) ( ( -0.0078125 0 1 ) ( 0 -0.0078125 114.9375 ) ) "textures/common/nodraw" 0 0 0
( 0 1 0 -128 ) ( ( 0.0078125 0 13.0625 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
( 1 0 0 -648 ) ( ( 0.0078125 0 126.5 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
}
}
// primitive 9
{
brushDef3
{
( 0 0 1 -128 ) ( ( -0.0078125 0 1 ) ( 0 -0.0078125 12.0625 ) ) "textures/common/nodraw" 0 0 0
( 0 -1 0 0 ) ( ( 0.0078125 0 115.9375 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
( -1 0 0 512 ) ( ( 0.0078125 0 0.5 ) ( 0 0.0078125 0.5 ) ) "textures/editor/visportal" 0 0 0
( 0 0 -1 0 ) ( ( -0.0078125 0 1 ) ( 0 -0.0078125 115.9375 ) ) "textures/common/nodraw" 0 0 0
( 0 1 0 -128 ) ( ( 0.0078125 0 12.0625 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
( 1 0 0 -520 ) ( ( 0.0078125 0 126.5 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
}
}
// primitive 10
{
brushDef3
{
( 0 0 1 -128 ) ( ( -0.0078125 0 1 ) ( 0 -0.0078125 11.0625 ) ) "textures/common/nodraw" 0 0 0
( 0 -1 0 0 ) ( ( 0.0078125 0 116.9375 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
( -1 0 0 384 ) ( ( 0.0078125 0 0.5 ) ( 0 0.0078125 0.5 ) ) "textures/editor/visportal" 0 0 0
( 0 0 -1 0 ) ( ( -0.0078125 0 1 ) ( 0 -0.0078125 116.9375 ) ) "textures/common/nodraw" 0 0 0
( 0 1 0 -128 ) ( ( 0.0078125 0 11.0625 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
( 1 0 0 -392 ) ( ( 0.0078125 0 126.5 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
}
}
// primitive 11
{
brushDef3
{
( 0 0 1 -128 ) ( ( -0.0078125 0 1 ) ( 0 -0.0078125 10.0625 ) ) "textures/common/nodraw" 0 0 0
( 0 -1 0 0 ) ( ( 0.0078125 0 117.9375 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
( -1 0 0 256 ) ( ( 0.0078125 0 0.5 ) ( 0 0.0078125 0.5 ) ) "textures/editor/visportal" 0 0 0
( 0 0 -1 0 ) ( ( -0.0078125 0 1 ) ( 0 -0.0078125 117.9375 ) ) "textures/common/nodraw" 0 0 0
( 0 1 0 -128 ) ( ( 0.0078125 0 10.0625 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
( 1 0 0 -264 ) ( ( 0.0078125 0 126.5 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
}
}
// primitive 12
{
brushDef3
{
( 0 0 1 -128 ) ( ( -0.0078125 0 1 ) ( 0 -0.0078125 9.0625 ) ) "textures/common/nodraw" 0 0 0
( 0 -1 0 0 ) ( ( 0.0078125 0 118.9375 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
( -1 0 0 128 ) ( ( 0.0078125 0 0.5 ) ( 0 0.0078125 0.5 ) ) "textures/editor/visportal" 0 0 0
( 0 0 -1 0 ) ( ( -0.0078125 0 1 ) ( 0 -0.0078125 118.9375 ) ) "textures/common/nodraw" 0 0 0
( 0 1 0 -128 ) ( ( 0.0078125 0 9.0625 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
( 1 0 0 -136 ) ( ( 0.0078125 0 126.5 ) ( 0 0.0078125 0.5 ) ) "textures/common/nodraw" 0 0 0
}
}
}
// entity 1
{
"classname" "info_player_start"
"name" "info_player_start_1"
"origin" "72 80 0"
"angle" "0.000000"
}
// entity 2
{
"classname" "atdm:ambient_world"
"name" "ambient_world"
"origin" "512 64 68"
"light_center" "0 0 0"
"light_radius" "544 112 108"
"_color" "0.08 0.08 0.08"
}
portals.map (9,455 bytes)   

Activities

duzenko

duzenko

16.02.2019 07:55

developer   ~0011607

Appreciate the effort behind the test map
The legacy incompatibility between show portals and subviews has grown too annoying with the recent moves of both skybox and lightgem to subviews.
r_skipSubviews 1 is the work around for 2.07 but this bug needs to be resolved anyway.
duzenko

duzenko

16.02.2019 12:14

developer   ~0011609

Last edited: 16.02.2019 12:15

Svn 7966 - temporary workaround for subview/portal view count conflict
Actual fix is blocked by bad rendering when framedata double buffering is off

duzenko

duzenko

16.02.2019 12:21

developer   ~0011610

http://forums.thedarkmod.com/topic/19892-need-help-with-smpframedata/
grayman

grayman

16.02.2019 17:49

viewer   ~0011611

Perfect!

Even the "red->yellow->green as you get closer" transition is now fixed.

thx
STiFU

STiFU

17.02.2019 09:18

developer   ~0011612

Mappers need a working showportals right? Maybe consider offering a patch for download?
duzenko

duzenko

17.02.2019 19:35

developer   ~0011615

Revision: 7969
Moved parts of the show portal code to frontend so that it allows SMP and subviews
VanishedOne

VanishedOne

18.02.2019 01:33

reporter   ~0011616

A patch for mappers would be appreciated, yes. I just came here after encountering this bug.
STiFU

STiFU

19.02.2019 17:14

developer   ~0011623

Reminder sent to: duzenko

Do you think these two commits could be merged into a local 2.07 working copy without issues? If so, would you mind attaching appropriate binaries to this issue so mappers can use them?
duzenko

duzenko

19.02.2019 18:27

developer   ~0011624

The users in the AMD bugs forum thread said my build worked for them.
I could build another one and attach here but it 'feels' rather awkward.
I would prefer an official 2.07 R2/SP1 but I still need to hear about the MESA linux issue.
stgatilov

stgatilov

06.05.2019 02:54

administrator   ~0011787

Changed target: it is fixed in 2.07-hotfix (just released).

Issue History

Date Modified Username Field Change
15.02.2019 20:45 grayman New Issue
15.02.2019 20:45 grayman Status new => assigned
15.02.2019 20:45 grayman Assigned To => duzenko
15.02.2019 20:45 grayman File Added: badportals.jpg
15.02.2019 20:46 grayman File Added: portals.map
16.02.2019 07:55 duzenko Note Added: 0011607
16.02.2019 12:14 duzenko Note Added: 0011609
16.02.2019 12:15 duzenko Note Edited: 0011609
16.02.2019 12:15 duzenko Note Edited: 0011609
16.02.2019 12:21 duzenko Note Added: 0011610
16.02.2019 17:49 grayman Note Added: 0011611
17.02.2019 09:18 STiFU Note Added: 0011612
17.02.2019 19:35 duzenko Note Added: 0011615
17.02.2019 19:35 duzenko Status assigned => resolved
17.02.2019 19:35 duzenko Fixed in Version => TDM 2.08
17.02.2019 19:35 duzenko Resolution open => fixed
18.02.2019 01:33 VanishedOne Note Added: 0011616
19.02.2019 17:14 STiFU Note Added: 0011623
19.02.2019 18:27 duzenko Note Added: 0011624
06.05.2019 02:53 stgatilov Fixed in Version TDM 2.08 => TDM 2.07
06.05.2019 02:53 stgatilov Target Version TDM 2.08 => TDM 2.07
06.05.2019 02:54 stgatilov Note Added: 0011787