
Unit Depictions on Screen
Moderator: Shannon V. OKeets
-
- Posts: 22165
- Joined: Wed May 18, 2005 11:51 pm
- Location: Honolulu, Hawaii
- Contact:
RE: Modding unit bitmaps
3rd and last in the series. Here is page 4, which contains the rest of the Japanese air units. I had shown page 5 previously (it has about half the Japanese planes). The unit in the top left is not US (I think it is Brazilian).


- Attachments
-
- Page04.jpg (136.34 KiB) Viewed 709 times
Steve
Perfection is an elusive goal.
Perfection is an elusive goal.
RE: Modding unit bitmaps
Not the NZ ones, but the Canadian.ORIGINAL: Shannon V. OKeets
Here is page 3, with the rest of the US carrier based air units plus their bombers and ATRs. At teh bottom are the NZ (I think) the red plane is not Japanese.
The red one is the Mexican Air Force.
Bitmaps vs vectors
Wouldn't vector-based graphics be a better choice rather than bitmap graphics in the situation where you have to zoom in and out and maintain crisp images and in terms of memory?[&:]
-
- Posts: 22165
- Joined: Wed May 18, 2005 11:51 pm
- Location: Honolulu, Hawaii
- Contact:
RE: Bitmaps vs vectors
I don't know.ORIGINAL: rtamesis
Wouldn't vector-based graphics be a better choice rather than bitmap graphics in the situation where you have to zoom in and out and maintain crisp images and in terms of memory?[&:]
CWIF used bitmap images exclusively for the units and map which included zooming and scrolling both. Conversion of all that existing code to run using another format never even entered my head for consideration.
I did look into DirectX (vector based?) as a possibility for the graphics and found several good reasons to not use it for this application.
Steve
Perfection is an elusive goal.
Perfection is an elusive goal.
RE: Bitmaps vs vectors
ORIGINAL: Shannon V. OKeets
I don't know.ORIGINAL: rtamesis
Wouldn't vector-based graphics be a better choice rather than bitmap graphics in the situation where you have to zoom in and out and maintain crisp images and in terms of memory?[&:]
CWIF used bitmap images exclusively for the units and map which included zooming and scrolling both. Conversion of all that existing code to run using another format never even entered my head for consideration.
I did look into DirectX (vector based?) as a possibility for the graphics and found several good reasons to not use it for this application.
I believe that WMF files - a vectored format - has native support in Windows. "All" that would be required is to convert the bitmaps to vectored images, and there are programs available that can do that. That, and test the wmf files to ensure that they actually work...
Considering all the work already done, I don't really envision this happening, though.
-
- Posts: 22165
- Joined: Wed May 18, 2005 11:51 pm
- Location: Honolulu, Hawaii
- Contact:
RE: Bitmaps vs vectors
page 6 of the counters - the USSR air force.


- Attachments
-
- Page06.jpg (156.9 KiB) Viewed 709 times
Steve
Perfection is an elusive goal.
Perfection is an elusive goal.
-
- Posts: 22165
- Joined: Wed May 18, 2005 11:51 pm
- Location: Honolulu, Hawaii
- Contact:
RE: Bitmaps vs vectors
Page 7, the last of the USSR planes and the British fighters and carrier based air units.


- Attachments
-
- Page07.jpg (130.37 KiB) Viewed 709 times
Steve
Perfection is an elusive goal.
Perfection is an elusive goal.
-
- Posts: 22165
- Joined: Wed May 18, 2005 11:51 pm
- Location: Honolulu, Hawaii
- Contact:
RE: Bitmaps vs vectors
3rd and last in the series. More Brtish carrier based air and their naval air, plus the start of their land based bombers. As I recall, most of these naval air units required a lot of repositioning to get them to fit within the frame and still leave room for the numbers.


- Attachments
-
- Page08.jpg (148.5 KiB) Viewed 709 times
Steve
Perfection is an elusive goal.
Perfection is an elusive goal.
RE: Bitmaps vs vectors
Ahhh Beautiful ! Now I've had my WIF FIX. Thanks Steve [:)]
BTW Everyone have a Safe and Happy New Year !!!!!
BTW Everyone have a Safe and Happy New Year !!!!!
-
- Posts: 22165
- Joined: Wed May 18, 2005 11:51 pm
- Location: Honolulu, Hawaii
- Contact:
RE: Bitmaps vs vectors
Another trio of Air Unit Bitmap pages. This is page 10 (Page 9 had been shown previously).
This page starts with teh German carrieri based air units, followed by the navao air, land based bombers, and lastly the start of the ATRs.

This page starts with teh German carrieri based air units, followed by the navao air, land based bombers, and lastly the start of the ATRs.

- Attachments
-
- Page10.jpg (130.75 KiB) Viewed 709 times
Steve
Perfection is an elusive goal.
Perfection is an elusive goal.
-
- Posts: 22165
- Joined: Wed May 18, 2005 11:51 pm
- Location: Honolulu, Hawaii
- Contact:
RE: Bitmaps vs vectors
This is page 11 which concludes the German air units with the U1, U2, and U3. Then there are the French, Belgian, Czech (?), Swiss (?), and some Italian fighters.


- Attachments
-
- Page11.jpg (136.03 KiB) Viewed 710 times
Steve
Perfection is an elusive goal.
Perfection is an elusive goal.
-
- Posts: 22165
- Joined: Wed May 18, 2005 11:51 pm
- Location: Honolulu, Hawaii
- Contact:
RE: Bitmaps vs vectors
3rd and last in the series. The rest of the Italians and the others are either Czech or Swedish. Patrice will know which are which.


- Attachments
-
- Page12.jpg (135.1 KiB) Viewed 709 times
Steve
Perfection is an elusive goal.
Perfection is an elusive goal.
RE: Bitmaps vs vectors
Those planes are Swedish not CzechORIGINAL: Shannon V. OKeets
This is page 11 which concludes the German air units with the U1, U2, and U3. Then there are the French, Belgian, Czech (?), Swiss (?), and some Italian fighters.
![]()
-
- Posts: 22165
- Joined: Wed May 18, 2005 11:51 pm
- Location: Honolulu, Hawaii
- Contact:
RE: Bitmaps vs vectors
Czech, Finnish, Polish, Greek, Yugoslavian, Hungarian, Rumanian, Turkish, NZ (?), Spanish, Chinese, the other Spanish, and then units from other modules/add-ons.


- Attachments
-
- Page13.jpg (155.39 KiB) Viewed 709 times
Steve
Perfection is an elusive goal.
Perfection is an elusive goal.
-
- Posts: 22165
- Joined: Wed May 18, 2005 11:51 pm
- Location: Honolulu, Hawaii
- Contact:
RE: Bitmaps vs vectors
Page 14 of the unit bitmaps, the last of the air units - from WIF addons. That's the Australian combat naval units.


- Attachments
-
- Page14.jpg (107.25 KiB) Viewed 709 times
Steve
Perfection is an elusive goal.
Perfection is an elusive goal.
-
- Posts: 22165
- Joined: Wed May 18, 2005 11:51 pm
- Location: Honolulu, Hawaii
- Contact:
RE: Bitmaps vs vectors
Skipping ahead to page 21, which has most of the minor country naval units. Those are convoys and ASW escorts at the bottom. Each bitmap of a generic naval unit is used repeatedly during the game, as units of those types are created. However, because the bitmapped images are anti-aliased, I need one for each country, including the minor countries that have convoys (or naval transports, submarines, etc.).


- Attachments
-
- Page21.jpg (97.31 KiB) Viewed 709 times
Steve
Perfection is an elusive goal.
Perfection is an elusive goal.
-
- Posts: 22165
- Joined: Wed May 18, 2005 11:51 pm
- Location: Honolulu, Hawaii
- Contact:
RE: Bitmaps vs vectors
4th and last in the series, page 22. These are remaining generic naval units: ASW escorts, ASW carriers, Amphibious units, Naval Transports, Submarines, and Task Forces.
2145 unit bitmaps (not counting the medium resolution ones).

2145 unit bitmaps (not counting the medium resolution ones).

- Attachments
-
- Page22.jpg (60.27 KiB) Viewed 710 times
Steve
Perfection is an elusive goal.
Perfection is an elusive goal.
RE: Bitmaps vs vectors
Yeah ! That's it ! I'm about to pass out from MWIF Overload ! [:D] Thanks for posting these.........
-
- Posts: 22165
- Joined: Wed May 18, 2005 11:51 pm
- Location: Honolulu, Hawaii
- Contact:
RE: Bitmaps vs vectors
Well, it took 3 weeks, but I have revised the unit movement code so it now displays naval units at sea in the Sea Box Sections. Or at least it does for this lone convoy unit. I need to work through the bugs in moving naval units before I can show a full complement of naval units in a sea area.
The convoy is in the Allied 0 Sea Box of the Baltic Sea (convoys must be in a 0 box). It shows up correctly in the Units Under Cursor panel and also in the Units Review panel (lower right corner of screen shot).
I still need to remove about 50 references to SeaAreaValue in the code, but that number is down from 480 when I started 3 weeks ago. Of course, each removal has to be replaced with new code that references the sea area box hex on the map. Most of the really difficult bits have been modified and I have a bunch of utility functions and procedures in place that handle the conversion from (SeaAreaValue, Sea Area #) to (Column, Row), where the latter are map coordinates for a Sea Box Section within the sea area.
By the way, I was jumping around shouting "Victory at Sea" for a while when this display came up correctly.

The convoy is in the Allied 0 Sea Box of the Baltic Sea (convoys must be in a 0 box). It shows up correctly in the Units Under Cursor panel and also in the Units Review panel (lower right corner of screen shot).
I still need to remove about 50 references to SeaAreaValue in the code, but that number is down from 480 when I started 3 weeks ago. Of course, each removal has to be replaced with new code that references the sea area box hex on the map. Most of the really difficult bits have been modified and I have a bunch of utility functions and procedures in place that handle the conversion from (SeaAreaValue, Sea Area #) to (Column, Row), where the latter are map coordinates for a Sea Box Section within the sea area.
By the way, I was jumping around shouting "Victory at Sea" for a while when this display came up correctly.

- Attachments
-
- BalticCon..372007.jpg (194.49 KiB) Viewed 709 times
Steve
Perfection is an elusive goal.
Perfection is an elusive goal.
RE: Bitmaps vs vectors
Good news ! [:D]