Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » FreeStars » Efficient Algorithm for Scanning planets/fleets/etc.
Re: Efficient Algorithm for Scanning planets/fleets/etc. Thu, 25 October 2007 07:01 Go to previous message
PaulCr

 
Chief Warrant Officer 3
Stars! V.I.P

Messages: 187
Registered: February 2007
Location: An Island that kinda look...
I've not tried this but how about drawing the scanned area, should work but I don't know about the speed.
Draw them at 100% in colour 100, then 99% in colour 99 etc. To check if a ship can be seen you just need to look at the colour at it's location which gives the % cloaking that can be seen at that point, ie if it's colour 65 then ships upto 65% cloaking can be seen, ships higher than 65% can't

Report message to a moderator

 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New stars! server clone proposal
Next Topic: 3D tool
Goto Forum:
  


Current Time: Mon Apr 29 04:11:01 EDT 2024