Author Topic: Gun sight image size analysis  (Read 34031 times)

Offline Ardy123

  • Gold Member
  • *****
  • Posts: 3417
Re: Gun sight image size analysis
« Reply #225 on: July 21, 2010, 01:06:20 PM »
Ardy it simple, I have been coading for close to 40 years.  The piece of coad you wrote is

1. Not equivalent to mine. Yours test only for power of 2, mine test for specific size, hence any discussion which is better is moot.

Never said one was better than the other nor was I trying to 'one up you'. I was just trying to make is smaller for the sake of doing so.
heres a more compact way... just cuz I'm lame and like stupid programming challenges...

Quote
3. There are times for efficient code, But 99% of the time straight forward easy to understand code trumps speed.
Agreed, and I admitted to that too, but I wasn't trying to produce production code, I was trying to see if I could make it smaller, thats all.
it is obfuscated and hard to understand, thus hard to maintain

Yeah, that's right, you just got your rear handed to you by a fuggly puppet!
==Army of Muppets==
(Bunnies)

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10899
Re: Gun sight image size analysis
« Reply #226 on: July 21, 2010, 01:19:35 PM »
Style, etc., aside, your first line doesn't do what you think. &&.
Easy in-game again.
Since Tour 19 - 2001

Offline bustr

  • Plutonium Member
  • *******
  • Posts: 12436
Re: Gun sight image size analysis
« Reply #227 on: July 21, 2010, 02:05:20 PM »
Seems like something my assembley language teacher used to ding me over.

Ardy,

After HiTech was gracious enough to respond to your excellent followup, is there possibly another approach you could have used to introduce your skillset and enquire to the efficiency of HiTech's coad structure? Other wise, your initial post appeared to be more of a veiled challenge than a dialogue. After working at a company during the late 90's that had an internal COADing group, and having to herd a room full of them through Y2K reverse engineering for a year. COADers are a bit like swordsman. Very talented, creative, resorcefull and territorial. Add to the younger ones "aggresive". Especially in their own territory.

Ardy I'm so old I had to learn Assembly on the 8086 to graduate from tech school. Programers now have to know so much more and be that much more talented to compete. I'm always impressed with what successful working programers have had to go through to be employed today. But, manners are forever... :salute
bustr - POTW 1st Wing


This is like the old joke that voters are harsher to their beer brewer if he has an outage, than their politicians after raising their taxes. Death and taxes are certain but, fun and sex is only now.

Offline BulletVI

  • Silver Member
  • ****
  • Posts: 891
      • http://virtuallyinfamous.webs.com
Re: Gun sight image size analysis
« Reply #228 on: July 21, 2010, 02:43:04 PM »

from just reading the last phew post i can now determin that if hitch want's any lengthing COADing done or a better way to do it he shall ask for help within the comunity. altho your post Ardy want meant to offend oranything maybe you could have reworded it a bit better as i believe hitech may have taken some offence in it. Remember Ardy Ace's High II is his Brain Child and like any other Father if he feels his child is threatened or made a fool of he shall always be ready to defend his child. :)  :salute
You Don't See Me But You Hear Me Coming Then Darkness

HUH Computer's GIVE ME A SPANNER AND A WRENCH ANY DAY OF THE WEEK.  ( Mr Fix It ) :)

Offline Babalonian

  • Platinum Member
  • ******
  • Posts: 5817
      • Pigs on the Wing
Re: Gun sight image size analysis
« Reply #229 on: July 21, 2010, 03:38:18 PM »
Coad warz

-Babalon
"Let's light 'em up and see how they smoke."
POTW IIw Oink! - http://www.PigsOnTheWing.org

Wow, you guys need help.

Offline bustr

  • Plutonium Member
  • *******
  • Posts: 12436
Re: Gun sight image size analysis
« Reply #230 on: July 21, 2010, 04:15:53 PM »
Skuzzy,

Please for COAD's sake smack me over the head with a Numpte stick.

I swear everywhere I go in the Forum now bullets are following me................ :huh

Just one tiny weenie bash on the O'l noggin....... :pray
bustr - POTW 1st Wing


This is like the old joke that voters are harsher to their beer brewer if he has an outage, than their politicians after raising their taxes. Death and taxes are certain but, fun and sex is only now.

Offline BulletVI

  • Silver Member
  • ****
  • Posts: 891
      • http://virtuallyinfamous.webs.com
Re: Gun sight image size analysis
« Reply #231 on: July 21, 2010, 04:30:07 PM »
Skuzzy,

Please for COAD's sake smack me over the head with a Numpte stick.

I swear everywhere I go in the Forum now bullets are following me................ :huh

Just one tiny weenie bash on the O'l noggin....... :pray


OUTCH THAT WAS SAIR OOOHHH A+E TIME Thats E,R To you Americans :lol  :rofl


BYE BYE :lol  :x  :banana:  :rofl :rofl :rofl :rofl
You Don't See Me But You Hear Me Coming Then Darkness

HUH Computer's GIVE ME A SPANNER AND A WRENCH ANY DAY OF THE WEEK.  ( Mr Fix It ) :)

Offline Babalonian

  • Platinum Member
  • ******
  • Posts: 5817
      • Pigs on the Wing
Re: Gun sight image size analysis
« Reply #232 on: July 21, 2010, 05:27:32 PM »
I think grandpa needs his meds and a trip to the bahamas.  Ardy... you need a woman.  HiTech... go make babies or something, you work too hard.
-Babalon
"Let's light 'em up and see how they smoke."
POTW IIw Oink! - http://www.PigsOnTheWing.org

Wow, you guys need help.

Offline Saxman

  • Plutonium Member
  • *******
  • Posts: 9155
Re: Gun sight image size analysis
« Reply #233 on: July 22, 2010, 06:26:41 PM »
Saxman's Mk.VIII Gunsight Package is tested in game and is now available for download here!

Ron White says you can't fix stupid. I beg to differ. Stupid will usually sort itself out, it's just a matter of making sure you're not close enough to become collateral damage.

Offline Ack-Ack

  • Radioactive Member
  • *******
  • Posts: 25260
      • FlameWarriors
Re: Gun sight image size analysis
« Reply #234 on: July 22, 2010, 07:10:20 PM »
Noticed an issue with the sights when I was trying out the 256 one you created a couple of days ago.  If you raise the gun sight, the last vertical line will stretch to the bottom of the gun sight.  I'll post a screenshot of it when I got home from work so you can see better what I'm talking about.

Also, just wanted to say thanks again for taking the time to redo the gunsights for the new update.

ack-ack
"If Jesus came back as an airplane, he would be a P-38." - WW2 P-38 pilot
Elite Top Aces +1 Mexican Official Squadron Song

Offline Saxman

  • Plutonium Member
  • *******
  • Posts: 9155
Re: Gun sight image size analysis
« Reply #235 on: July 22, 2010, 07:12:41 PM »
I just checked these from my end and wasn't having a problem.
Ron White says you can't fix stupid. I beg to differ. Stupid will usually sort itself out, it's just a matter of making sure you're not close enough to become collateral damage.

Offline RTHolmes

  • Plutonium Member
  • *******
  • Posts: 8260
Re: Gun sight image size analysis
« Reply #236 on: July 22, 2010, 09:13:58 PM »
Noticed an issue with the sights when I was trying out the 256 one you created a couple of days ago.  If you raise the gun sight, the last vertical line will stretch to the bottom of the gun sight.  I'll post a screenshot of it when I got home from work so you can see better what I'm talking about.

that sounds a bit like what you see in the video clips Dogg posted (most obvious in the RAF site video):

Most gunsight reticules showed larger the the reflector glass.  Here is what I mean as a example:

Type 98 gunsight:  http://www.youtube.com/watch?v=NXsVg8F91t8

Mk. VIII gunsight:  http://www.youtube.com/watch?v=G7KvpWloagE

RAF TypeI Mk,II gunsight:  http://www.youtube.com/watch?v=Blem3FlkaMc
71 (Eagle) Squadron

What most of us want to do is simply shoot stuff and look good doing it - Chilli

Offline Baumer

  • Silver Member
  • ****
  • Posts: 1739
      • 332nd Flying Mongrels
Re: Gun sight image size analysis
« Reply #237 on: July 22, 2010, 10:31:24 PM »
Noticed an issue with the sights when I was trying out the 256 one you created a couple of days ago.  If you raise the gun sight, the last vertical line will stretch to the bottom of the gun sight.  I'll post a screenshot of it when I got home from work so you can see better what I'm talking about.

Also, just wanted to say thanks again for taking the time to redo the gunsights for the new update.

ack-ack

Ack-Ack that is/was an issue before the update (kind of). If you don't want the lines to stretch there needs to be 2 rows/columns of black pixels around the edge of the bitmap.
HTC Please show the blue planes some love!
F4F-4, FM2, SBD-5, TBM-3

Offline Saxman

  • Plutonium Member
  • *******
  • Posts: 9155
Re: Gun sight image size analysis
« Reply #238 on: July 22, 2010, 10:40:42 PM »
Neither the earlier 256 version nor the 512 version of the Mk.VIII in the ZIP file fill the entire BMP, so even if this issue still occurs this sight should be fine.
Ron White says you can't fix stupid. I beg to differ. Stupid will usually sort itself out, it's just a matter of making sure you're not close enough to become collateral damage.

Offline AKDogg

  • Gold Member
  • *****
  • Posts: 2308
      • http://aksquad.net/
Re: Gun sight image size analysis
« Reply #239 on: July 22, 2010, 11:00:38 PM »
btw saxman, the f4u-1 did not use a mk.VIII sight.  F4u-1 used the N-3B sight.  All the other hogs used the Mk.VIII mod 6-8 sight.
AKDogg
Arabian knights
#Dogg in AW
http://aksquad.net/