HeXen: Herisarch's mana cubes
In Beta6.6, the Heresiarch’s mana cubes randomly disappear and re-appear, either individually or all at once.
Apologies for the vague description, but I could see any obvious pattern to their disappearing/reappearing.
#1 Updated by danij almost 13 years ago
I've done some investigation into this problem and it appears this is merely a symptom of larger problem which as yet I've been unable to resolve.
How to recreate:
Start jHexen, MAP01
Open the console and enter:
spawnmobj SORCBOSS -2867 -552 floor; god; makecam 0;
move the player to open area in the south west corner of the map where the polyobjects are in the archived map. In this area should now be Heresiarch.
Now, position the player between the Heresiarch and either the north>south or south>north linedefs on the east or west of this area. You should notice that depending on where the player is in this area and the view angle difference between this linedefs will determine whether the mana cubes are visible or not.
The mana cubes are being clipped as a result of drawing the linedef behind the camera C_AddViewRelSeg in rend_main.c: Rend_RenderSubsector
This would indicate that the test in Rend_MarkSegsFacingFront is determining incorrectly that the segs of this linedef are front facing.