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

Offline Kazaa

  • Plutonium Member
  • *******
  • Posts: 8371
      • http://www.thefewsquadron.co.uk
Re: Gun sight image size analysis
« Reply #195 on: July 19, 2010, 03:51:09 PM »
Well, at least nothing important was hurt. :)

 :lol



"If you learn from defeat, you haven't really lost."

Offline Saxman

  • Plutonium Member
  • *******
  • Posts: 9155
Re: Gun sight image size analysis
« Reply #196 on: July 19, 2010, 03:57:21 PM »
Knite,

Currently, the game allows BMP files for gunsights to be 256x256px. With the default setting of 128mil, this means a 256x256 gunsight has a resolution of 2px/mil.

I'm asking for clarification on whether BMP files larger than 256px will be allowed or whether that's going to remain the max size limit. hitech's post was ONLY referring to the size of the sights (in mils) in the game, not the size of the actual BMP files.

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 Baumer

  • Silver Member
  • ****
  • Posts: 1739
      • 332nd Flying Mongrels
Re: Gun sight image size analysis
« Reply #197 on: July 19, 2010, 06:10:32 PM »
Thanks for the update Hitech.

HTC Please show the blue planes some love!
F4F-4, FM2, SBD-5, TBM-3

Offline BulletVI

  • Silver Member
  • ****
  • Posts: 891
      • http://virtuallyinfamous.webs.com
Re: Gun sight image size analysis
« Reply #198 on: July 19, 2010, 06:29:32 PM »
Well, at least nothing important was hurt. :)

 :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl :rofl

Sorry but my side's were splitting with agony on that reply well done Skuzzy 10 out of 10 for brain power and humour there :lol



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 Knite

  • Silver Member
  • ****
  • Posts: 805
Re: Gun sight image size analysis
« Reply #199 on: July 20, 2010, 08:55:23 AM »
Knite,

Currently, the game allows BMP files for gunsights to be 256x256px. With the default setting of 128mil, this means a 256x256 gunsight has a resolution of 2px/mil.

I'm asking for clarification on whether BMP files larger than 256px will be allowed or whether that's going to remain the max size limit. hitech's post was ONLY referring to the size of the sights (in mils) in the game, not the size of the actual BMP files.

Ahh, sorry, I did not know the current max. It just seemed to me that from HT's post, it appeared the max BMP file size would not change, and that the mil file was a sort of "scaler" file that would scale up or down the bmp without changing the system impact (which allowing a larger bmp file would do), so I tried to answer at least semi-intelligently.

;-)
Knite

39th FS "Cobra In The Clouds"

I'm basically here to lower the 39th's score :P

Offline hitech

  • Administrator
  • Administrator
  • *****
  • Posts: 12398
      • http://www.hitechcreations.com
Re: Gun sight image size analysis
« Reply #200 on: July 20, 2010, 09:36:51 AM »
I didn't even remember we had a limit. But the limit was simply to make sure they were a power of 2. Never really thought someone would want more then 256. Any way it now reads.


static int _TexImageOk(grTEX_IMAGE * TexImage)
{
   if(TexImage->Width != TexImage->Height)
   {
      return 0;
   }
   if(TexImage->Width != 16 &&
      TexImage->Width != 32 &&
      TexImage->Width != 64 &&
      TexImage->Width != 128 &&
      TexImage->Width != 256 &&
      TexImage->Width != 512 &&
      TexImage->Width != 1024)
   {
      return 0;
   }
   return 1;
}

Offline BulletVI

  • Silver Member
  • ****
  • Posts: 891
      • http://virtuallyinfamous.webs.com
Re: Gun sight image size analysis
« Reply #201 on: July 20, 2010, 09:53:08 AM »
I didn't even remember we had a limit. But the limit was simply to make sure they were a power of 2. Never really thought someone would want more then 256. Any way it now reads.


static int _TexImageOk(grTEX_IMAGE * TexImage)
{
   if(TexImage->Width != TexImage->Height)
   {
      return 0;
   }
   if(TexImage->Width != 16 &&
      TexImage->Width != 32 &&
      TexImage->Width != 64 &&
      TexImage->Width != 128 &&
      TexImage->Width != 256 &&
      TexImage->Width != 512 &&
      TexImage->Width != 1024)
   {
      return 0;
   }
   return 1;
}

:headscratch: :headscratch: Brain aboot tay explode  :headscratch: :headscratch:

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 Saxman

  • Plutonium Member
  • *******
  • Posts: 9155
Re: Gun sight image size analysis
« Reply #202 on: July 20, 2010, 09:57:45 AM »
I think he's saying the BMP files for gun sights can now be up to 1024x1024px.

I do have a revised Mk.VIII that's 512x512 (scales to 2px/mil). Once the next patch is released I'll put up a download on the Bucs squad site that will set it as the sight for:

P-47D-25
F4F-4
FM-2
SBD-5
TBM-3
F6F-5
All F4Us

with the necessary MIL files to scale it.
« Last Edit: July 20, 2010, 10:09:23 AM by Saxman »
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 BulletVI

  • Silver Member
  • ****
  • Posts: 891
      • http://virtuallyinfamous.webs.com
Re: Gun sight image size analysis
« Reply #203 on: July 20, 2010, 10:00:52 AM »
I think he's saying gun sights can now be up to 1024x1024.

Phew brain now deflating PHEW thanks  :aok :lol
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 Ghosth

  • AH Training Corps (retired)
  • Plutonium Member
  • *******
  • Posts: 8497
      • http://332nd.org
Re: Gun sight image size analysis
« Reply #204 on: July 20, 2010, 10:31:27 AM »
If you don't understand this stuff bullet you might want to just surf elsewhere.

Cause as it is your making yourself look pretty silly.
Not that I'm picking on you, cause I'm not. More in the way of an for your information helpful advice.

Offline BulletVI

  • Silver Member
  • ****
  • Posts: 891
      • http://virtuallyinfamous.webs.com
Re: Gun sight image size analysis
« Reply #205 on: July 20, 2010, 10:55:07 AM »
If you don't understand this stuff bullet you might want to just surf elsewhere.

Cause as it is your making yourself look pretty silly.
Not that I'm picking on you, cause I'm not. More in the way of an for your information helpful advice.


Yes i know but i do want to learn about some of this as i want to like be able to create my own sight's one day and really i have picked up some useful hints and tip in here and dare i say it HiTech Boumer and some of the other's havent really minded me asking and learning from them. Better to learn first than not learn and muck up my game :)
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 Ghosth

  • AH Training Corps (retired)
  • Plutonium Member
  • *******
  • Posts: 8497
      • http://332nd.org
Re: Gun sight image size analysis
« Reply #206 on: July 20, 2010, 12:44:02 PM »
By all means read and learn all you can, I'm 100% in favor of that.

What I'm saying is if you know you don't have anything that will truly add to the discussion, why say something that will make you look like a fool?

Offline BulletVI

  • Silver Member
  • ****
  • Posts: 891
      • http://virtuallyinfamous.webs.com
Re: Gun sight image size analysis
« Reply #207 on: July 20, 2010, 12:47:23 PM »
By all means read and learn all you can, I'm 100% in favor of that.

What I'm saying is if you know you don't have anything that will truly add to the discussion, why say something that will make you look like a fool?

Actually i helped a tiny fraction as i was able to get Boumer a link to a website with some gunsight data he'd never seen before :)
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 Ghosth

  • AH Training Corps (retired)
  • Plutonium Member
  • *******
  • Posts: 8497
      • http://332nd.org
Re: Gun sight image size analysis
« Reply #208 on: July 20, 2010, 02:27:38 PM »
True, and if that had been the only post you'd made, you'd look a whole lot wiser than you do now. Correct?

Suit yourself, I truly was trying to help. But I'll give it up as a lost cause


Offline BulletVI

  • Silver Member
  • ****
  • Posts: 891
      • http://virtuallyinfamous.webs.com
Re: Gun sight image size analysis
« Reply #209 on: July 20, 2010, 03:20:55 PM »
True, and if that had been the only post you'd made, you'd look a whole lot wiser than you do now. Correct?

Suit yourself, I truly was trying to help. But I'll give it up as a lost cause



Not a lost cause me i just check back with this one every day and some times dale has posted sumit and to the others they understand as they have done it for a while where as me im just starting to learn and it may sound silly as i have an over active sense of humour and a few other problems with memory of certain information since a few years back.

Thanks for being thoughtful its appreciated very much  :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 ) :)