Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: General Battuta on October 30, 2015, 10:07:15 am

Title: Disable wireframe selection in FRED?
Post by: General Battuta on October 30, 2015, 10:07:15 am
Currently ships are wireframes when I select them in FRED, but normal otherwise. How do I disable this behavior? It makes it really hard to select turrets.
Title: Re: Disable wireframe selection in FRED?
Post by: Spoon on October 30, 2015, 11:29:42 am
I'd like to know too, I remember this being changed somewhere between march-april and I'm not sure why this became a thing. (I havent checked with a more recent build, but since Battuta is talking about it now, I assume that it has stuck around.)
Title: Re: Disable wireframe selection in FRED?
Post by: mjn.mixael on October 30, 2015, 05:50:04 pm
Oh man.. yes please.
Title: Re: Disable wireframe selection in FRED?
Post by: AdmiralRalwood on October 30, 2015, 06:31:50 pm
Currently ships are wireframes when I select them in FRED, but normal otherwise. How do I disable this behavior? It makes it really hard to select turrets.
...You can select turrets?

I'd like to know too, I remember this being changed somewhere between march-april and I'm not sure why this became a thing. (I havent checked with a more recent build, but since Battuta is talking about it now, I assume that it has stuck around.)
Originally, ships would render as both a model and with an overlayed wireframe when selected. At some point, they stopped being able to render both simultaneously, so it was changed so that when trying to render both, FRED should just rendered the wireframe (so that you could actually tell when a ship has been selected). Unfortunately, there is no option governing this behavior; if you want it to change, you need to change the source code.

This is, perhaps, not ideal...
Title: Re: Disable wireframe selection in FRED?
Post by: General Battuta on October 30, 2015, 08:16:35 pm
If you press K in FRED with a ship selected it'll cycle through turrets. This is really handy as a visual reference, but really hard to do right now.
Title: Re: Disable wireframe selection in FRED?
Post by: Black Wolf on October 30, 2015, 08:20:34 pm
+1 from me. Precise positioning of ships is made harder with the wireframe-only option.
Title: Re: Disable wireframe selection in FRED?
Post by: karajorma on October 30, 2015, 10:26:42 pm
I'd agree too. You should be able to tell which ship is selected when the name changes colours. If that isn't enough, perhaps we can just draw a wireframe box around it or something.
Title: Re: Disable wireframe selection in FRED?
Post by: X3N0-Life-Form on October 31, 2015, 11:15:40 am
If that isn't enough, perhaps we can just draw a wireframe box around it or something.
That would be ideal.
Title: Re: Disable wireframe selection in FRED?
Post by: chief1983 on November 02, 2015, 09:39:29 am
When the model was rendered too, wasn't the model highlighted, with brighter lighting options?  I would have probably sacrificed the wireframe overlay and just stuck with the highlighted model if that's the case.  That or the highlighting I'm thinking was just dense white wireframe :P
Title: Re: Disable wireframe selection in FRED?
Post by: AdmiralRalwood on November 02, 2015, 07:51:03 pm
When the model was rendered too, wasn't the model highlighted, with brighter lighting options?  I would have probably sacrificed the wireframe overlay and just stuck with the highlighted model if that's the case.  That or the highlighting I'm thinking was just dense white wireframe :P
The highlighting you're thinking of was almost certainly just the wireframe overlay; you can restore the old behavior by getting rid of the flags that were added to the line during the deferred lighting and soft shadows merge, and it's really not very obvious that a given ship is selected with just the name changing color. Some way to restore the old behavior of rendering both the model and the wireframe would be ideal, but I don't know if that's doable without a much deeper understanding of the rendering functions.
Title: Re: Disable wireframe selection in FRED?
Post by: General Battuta on November 02, 2015, 07:53:53 pm
I'd rather have just the name highlighting than have to put up with the wireframe.

Except, ****, does this mean it won't be able to highlight the turret you have selected? Uh oh. That's a huge loss of functionality :(
Title: Re: Disable wireframe selection in FRED?
Post by: AdmiralRalwood on November 02, 2015, 08:16:48 pm
I'd rather have just the name highlighting than have to put up with the wireframe.

Except, ****, does this mean it won't be able to highlight the turret you have selected? Uh oh. That's a huge loss of functionality :(
Pretty much. Going back to both model and wireframe would be ideal; going back to just model would not.
Title: Re: Disable wireframe selection in FRED?
Post by: chief1983 on November 02, 2015, 10:20:49 pm
Then is there a way to do something like I described?  Highlight the selection with, say, stronger ambient lighting?  Color shift to neon yellow?  Inverted texture colors?
Title: Re: Disable wireframe selection in FRED?
Post by: Doko on December 04, 2015, 10:13:02 pm
I'm not sure if this will help or make coders angry at me for bumping but please try to fix this at some point. It's a really useful FRED feature that I would love to see back in play.