Thanks so much Griff. If you hadn't taken this on then I'd have gotten there eventually but it wouldn't have been anywhere near as good... Like a kid at Christmas
Edit: forgot to mention - it's possible to change the wireframe glow colour if the ship suddenly goes hostile, the shader isn't doing that at the moment but it could be added in if you fancy the idea?
Oh yes please. Even with my 'rainbow' approach I ended up leaving the out red as being too much/confusing but that would be an excellent use of it.
At one stage I imagined the wireframe as an alternative to the targeting box but in some scenarios multiple ships just appear as shadows... black shadows .. in space... with beam lasers
re-upped a new version of the ox with a second version where the glow colour switches to red if the entity turns hostile
this needed a new shader uniform added in shipdata-overrides.plist and some changes in the fragment shader,the rest of the ocp is the same as before
fixed one of the rockhermit wireframe texture files, i thnk it was the dock one, the shipdata plist had a typo in the filename meaning oolite couldn't find the file
to remove the blinking effect from the red glow when hostile, edit line 145 in the fragment shader