Jump to content
The Dark Mod Forums

Can no longer see edges of selections


Recommended Posts

As recently as pre-1.8.1, I relied on the ability to see a highlighted selection in the camera view, like this:

 

post-3633-0-65609100-1406324021_thumb.jpg

 

This was quite useful when looking for a particular brush using the "Find Brush" feature, typing in the brush number, and backing out of the map in the camera view until the highlighted edges of the sought brush were visible. Then I could fly the camera to the brush and do what I needed to do there.

 

The same technique worked for finding entities.

 

Now, in final-1.8.1, this behavior has changed, such that highlighted edges of whatever's selected are hidden by objects closer to the camera, like this:

 

post-3633-0-36517700-1406324030_thumb.jpg

 

This makes the "Find Brush or Entity" feature much less useful, because when backing out of the map in the camera view, the sought object's highlighted edges are hidden. So I can't see it.

 

Can we get back the previous behavior? Was it removed for a particular reason, or just the side effect of fixing something else?

  • Like 1
Link to comment
Share on other sites

grayman, which version was exactly the one that was working ok? I can try to narrow down the commit that broke that behaviour in 1.8.1.

 

Depending on how much time it takes to stabilise 2.0.0 and how much work the fix for this issue is, it might be possible that this problem will be addressed in the 1.8.x branch as well.

Link to comment
Share on other sites

Since I had overwritten my 1.8.1pre version with the final 1.8.1 version, and only later discovered this problem, I had to go back through the DR 1.8.1 beta test thread and find a link to a 1.8.1pre version. The only one I could find was the Feb 12 build, so that's the one I'm currently using. I'm pretty sure there were pre builds later than that, and I know I was using the last of those before I clobbered it. Whichever version came before the final version exhibited the behavior I need.

 

Thanks.

Link to comment
Share on other sites

Ok, got the revision, it has been introduced in a29b8ee725582665a792388a4ffc433f296c78e0, which is the commit allowing selected patches to be visible from behind. Investigating now what exactly caused the side effect on brushes.

 

edit: well ok it's pretty obvious since this block has been removed from $CAM_OVERLAY:

 

// Second pass for hidden lines
OpenGLState& hiddenLine = appendDefaultPass();
hiddenLine.setColour(0.75, 0.75, 0.75, 1);
hiddenLine.setRenderFlags(RENDER_CULLFACE| RENDER_DEPTHTEST| RENDER_OFFSETLINE| RENDER_LINESTIPPLE);
hiddenLine.setSortPosition(OpenGLState::SORT_OVERLAY_FIRST);
hiddenLine.setDepthFunc(GL_GREATER);
hiddenLine.m_linestipple_factor = 2;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 6 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...