Apolyton Civilization Site Forums
  Clash of Civilizations
  Map graphics

Post New Topic  Post A ReplyPost A Reply In A New Window

profile | register | preferences | faq | search next newest topic | next oldest topic bottom of page
Author
Topic:   Map graphics Format for Better Printing
Dominique
Warlord
Bonn, Germany
May 99
posted June 23, 1999 09:39   Click Here to See the Profile for DominiqueClick Here to Email Dominique  send a private message to Dominique Visit Dominique's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
I'll simply post my idea of what the map graphics should be like and will wait for ideas / criticism / flames raining down on me

Whether or not a "tileless" movement system will be used, the map graphics will be tiled.

I propose a tile size of 93 x 47 (at maximum zoom), scalable downwards (I have to rely on you coding cracks for a good, fast scaling algorithm). Alternatively, and with better visual results, all map gfx could be stored at, say, 3 different zoom levels.


Tiles are in diamond shape basically, but they should have some vertical offset so that it's possible to draw some pixels above the upper border, thus creating a 3D effect by overlapping. Problem is that with this either the tiles will have to be masked OR the map has to be drawn top-to-bottom in any case. You coders tell what's feasable (I tend to favor the "top-to-bottom" way, since it's easier to handle units this way, too).

There will be circumstances in which neighbouring tiles influence each other (namely coastlines). There are 3 approaches to this:

a) we have to draw a separate tile image for every combination of bordering tiles (i.e. you need to have one ocean square bordering land to the north, one with north&norteast... all in all 2^8 = 256 tiles for just one terrain combination).

b) we draw only the 8 variations (north, northeast, east...) and layer them. Reduces images to 8 per terrain combination, but uses more cpu power.

c) we build each and every tile in a way that it is actually larger than the diamond and blend it with the neighbouring tiles (once again using an alpha channel). There would be "dominant" tiles which overlay neighbours and "submissive" tiles which only can be influenced but don't extend any pixels to their neighbours (e.g. ocean would be "submissive", so as a result coastal ocean would show some coastline border, while the coastal land tile wouldn't show any water.)I haven't seen this method in any game yet, but I think it would offer the best results because all terrain types could be combined, not only those for which special combo-tiles exist. One would have to check, however, if neighbouring tiles are of same or different type, however, to avoid bad blending between tiles of the same type.

Tiles have to be drawn in a way that even in grayscale, the predominant character of the terrain is clearly recognizable, which would give us a host of possibilities for creating statistical maps (grayscale maps with colors showing e.g. population density).

Units follow the terrain tile layout with basic diamond shape (but a regular (negative) vertical offset so the "stand up".

Cities / Landmarks should be handled as "static units" in respect to graphics routines.

Each tile / unit / city / landmark needs an invisible "hard mask" (1 bit) to determine whether the mouse actually touches it. An optional "soft mask" (8 bit greyscale) would provide smooth edges for all non-tile images.

If I had it my way, we'd use a tileless movement system and optionally show the ZoC of a unit by drawing a translucent disc in player color beneath the unit.

This method of tinting the map gfx could be used to show other data, as well, like:

- accessible terrain this turn
- actual size (power or real volume) of a unit
- support (areas around cities / provinces)
- detection (are in which the unit can see without "fog of war").


Mark_Everson
Clash of Civilizations
Project Lead

Canton, MI, USA
b.02-15-99
posted June 23, 1999 17:53   Click Here to See the Profile for Mark_EversonClick Here to Email Mark_Everson  send a private message to Mark_EversonSend a Message to UIN: 30578681 Visit Mark_Everson's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Dominique:

Your proposals seem quite good to me. I like your suggestion c with coastal squares handling and square border blending.

Two points:

I think if practical we should also allow for a top-down 'diamond-shaped' view as an alternate, as we discussed before.

I believe we should at least start on the first alpha version using a per-square movement basis rather than tileless. We can put in the tileless info, but restrict movement to the center of each square until we're sure how to handle all the issues that come along with a tileless system.

-Mark

Dominique
Warlord
Bonn, Germany
May 99
posted June 23, 1999 21:30   Click Here to See the Profile for DominiqueClick Here to Email Dominique  send a private message to Dominique Visit Dominique's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Yes, I know we decided to have an alternative "flat" map, too. Most of the points are valid for a "flat" map, too, however, with the possible exception of graphics not being larger than the actual tile (although we might get real problems if we try to suff all unit images in a square tile).

Graphics aren't that much influenced by the decision in favor / against tileless movement (exception: translucent circle).

Peter Dobrovka
Chieftain
Germany
May 99
posted June 24, 1999 00:35   Click Here to See the Profile for Peter DobrovkaClick Here to Email Peter Dobrovka  send a private message to Peter Dobrovka Visit Peter Dobrovka's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Smooth blending between tiles?
What about this kind of tile diamond graphics:

It it a bit tricky to make these borders fit but it look very good and is very simple for the game engine.

Peter



3DTT - the 3D sequel to Transport Tycoon - demo 4.0 now available on WAY-X-Homepage
Path of Mankind. Turnbased Civ-like game - demo 15 coming soon

[This message has been edited by Peter Dobrovka (edited June 24, 1999).]

Dominique
Warlord
Bonn, Germany
May 99
posted June 27, 1999 19:15   Click Here to See the Profile for DominiqueClick Here to Email Dominique  send a private message to Dominique Visit Dominique's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Yes, Peter, that's in the general direction I meant it.
Alexander's Horse
Troll Machine
What are you lookin at? GRRRR!!!
May 99
posted June 27, 1999 22:52   Click Here to See the Profile for Alexander's HorseClick Here to Email Alexander's Horse  send a private message to Alexander's HorseSend a Message to UIN: 60999310 Visit Alexander's Horse's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Dominique

Are you going to summarise the "game atmosphere" thread on the Civ3 site?

Peter Dobrovka
Chieftain
Germany
May 99
posted June 29, 1999 15:36   Click Here to See the Profile for Peter DobrovkaClick Here to Email Peter Dobrovka  send a private message to Peter Dobrovka Visit Peter Dobrovka's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Is there some decision within sight?

Peter

------------------
3DTT - the 3D sequel to Transport Tycoon - demo 4.0 in June 1999
Path of Mankind. Turnbased Civ-like game - demo 15 coming soon

Mark_Everson
Clash of Civilizations
Project Lead

Canton, MI, USA
b.02-15-99
posted July 05, 1999 15:41   Click Here to See the Profile for Mark_EversonClick Here to Email Mark_Everson  send a private message to Mark_EversonSend a Message to UIN: 30578681 Visit Mark_Everson's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Dominique:

I'll check out doing tiffs with Java when I get back from my break (about July 20th) if nobody else has done it by then.

Paul Crocker
Warlord
Slidell, LA, USA
Jul 1999
posted September 11, 1999 11:43   Click Here to See the Profile for Paul CrockerClick Here to Email Paul Crocker  send a private message to Paul Crocker
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
MCA and I are making some progress with the Map Generation Model, and I'm discovering that my contributions are more thought intensive than labor intensive at the moment. As a result, I'm interested in investigating the possibilities for me to help out with the graphics...

I'm assuming that Dominique is no longer the Duke for graphics since he hasn't posted in months, so I'm not sure who to address my questions to. I'll simply post them here:

1. Are we creating the graphics (map and units) in Java or is there some GUI that we can use to make the job easier?

2. I see from earlier postings that TIFF format seems be the way we were headed, but the large number of threads makes it difficult to determine what the final specifications were re: graphics. Any comments on this?

I'm not sure if my programming background is sufficient to take on this job in full, but I could certainly use a GUI or some commercial software package to perform lots of the "grunt work" involved in creating the TIFF's once someone gives me some guidelines and points me in the right direction. Looking forward to hearing from

Mark_Everson
Clash of Civilizations
Project Lead

Canton, MI, USA
b.02-15-99
posted September 11, 1999 13:39   Click Here to See the Profile for Mark_EversonClick Here to Email Mark_Everson  send a private message to Mark_EversonSend a Message to UIN: 30578681 Visit Mark_Everson's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Paul:

Yep, Dominique is toast as far as I can tell. I, however unqualified, appear to be the
default sucker for this at the moment. Volunteers?

1. Designers can use whatever toolset they like to do their images. We won't be making
anything special for it.

2. Yeah, I think Tiff is still the concensus. If you have any strong opinons speek up

I found a Sun API, the Java Advanced Imaging API that looks, upon cursory inspection, to
handle 24-bit tiffs. The main page for it is at http://www.javasoft.com/products/java-media/jai/index.html
A piece of the manual that shows the tiff stuff is at: http://www.javasoft.com/products/java-media/jai/forDevelopers/jai1_0guide/ Acquisition.doc.html#61287 .

I haven't had time to check it out in terms of speed etc. But I think its safe to just go with TIFFs as the standard at this point unless you or someone really raises serious objections. Dominique seemed to know this stuff pretty well.

On your doing part of the job... Just let me know what you need and we will bumble through as usual . I think with some sexy graphics in a demo and on the web page we will be able to suck in some graphical artist types. Your thoughts on this appreciated too.

If you would like to be provisional duke for graphical stuff until someone who really wants the job shows, you're Very welcome to it.

Mark

[This message has been edited by Mark_Everson (edited September 11, 1999).]

Peter Dobrovka
Chieftain
Germany
May 99
posted September 13, 1999 04:17   Click Here to See the Profile for Peter DobrovkaClick Here to Email Peter Dobrovka  send a private message to Peter Dobrovka Visit Peter Dobrovka's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
What does it mean, "Dominique is toast"?
Did he have an accident?

Peter

Mark_Everson
Clash of Civilizations
Project Lead

Canton, MI, USA
b.02-15-99
posted September 13, 1999 11:28   Click Here to See the Profile for Mark_EversonClick Here to Email Mark_Everson  send a private message to Mark_EversonSend a Message to UIN: 30578681 Visit Mark_Everson's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Peter:

Unfortunately I have no idea what happened to Dominique. I got no responses to emails for over a month, and just gave up. I Hope it is nothing as serious as an accident. There have been lots of people over time that have just disappeared without a word in my limited experience with the internet. I just assumed he had decided to blow off Clash.

L o k i
Clash of Civilizations
Project Lead

Canton, MI, USA
b.02-15-99
posted December 28, 1999 01:59   Click Here to See the Profile for L o k iClick Here to Email L o k i  send a private message to Mark_Everson Visit L o k i's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
I knew this would happen. I'll catch on quickly.
[This message has been edited by L o k i (edited December 28, 1999).]
Kull
Clash of Civilizations
Diplomacy & Web Editor

El Paso, TX USA
Mar 99
posted December 28, 1999 02:28   Click Here to See the Profile for KullClick Here to Email Kull  send a private message to Kull Visit Kull's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Loki: This is the REAL old Map Graphics thread! I bumped up the current one (authored by Paul Crocker), so you may want to move your posting over there. All these similar threads can be confusing, so I recommend you explore them via the "Map Graphics" page on the Clash Web Site. It should help you navigate through the chaos!

Apolyton Civilization Site Forums
> > > Clash of Civilizations Forum

next newest topic | next oldest topictop of page

All times are EDT

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A ReplyPost A Reply In A New Window
Hop to:

Contact Us
Apolyton Civilization Site

Powered by: Ultimate Bulletin Board, Version 5.44a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.

Front Page | Civilization III | Dinosaurs | Civilization II | Call to Power | Call to Power II | Alpha Centauri | Alternative Civs | Misc | Links | About ACS | GameStats
GameLeague | Scenario League | HAC | Civilization Scenario Collection | Spanish CivII Site | Clash of Civs | CtP Maps | Art of War | WesW's Ctp1/2 Site