Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > Scenario League / Civ2-Creation -Archive > How does the map drawing work?
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:12
Question  Old Post 30-12-2000 05:59 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
How does the map drawing work? Remove this text

I have got mindeye's HiRes tiles (which btw look really nice!), and I am wondering how to choose base tiles for drawing. In terrain1.gif there is what looks like 2 desert, 6 plains and 4 grasslands; what is the way to draw then so that it looks good?
(this is made slightly difficult by the fact that I don't have windows installed, even though I do own a copy of civ2.)

You may have an educated guess as to why I am interested...

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:12
Post  Old Post 30-12-2000 06:39 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Browse Apolyton AD-FREE

A little thought shows that there is only two of each, and that the extra ones were hills mountains and forrests. But how do you choose among the last two?

St Leo is offline St Leo
King of Scenario League
Member of the Apolyton Social Democratic Party
Jul 2005
time: 00:12
Wink  Old Post 30-12-2000 09:33 Visit St Leo<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Normal CivII only uses the first column with mountains and forests obtaining a background graphic from terrain1.gif and a foreground graphic from terrain2.gif. ToT, on the other hand, has three columns and randomly(?) picks among them.

P.S. HiRes hurts my eyes.

------------------
St. Leo
http://www.sidgames.com/hosted/ziggurat/
http://www.sidgames.com/forums/

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:12
Post  Old Post 31-12-2000 00:14 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton buy from Amazon

ok, find X errors. What is wrong with this picture:

http://hjem.get2net.dk/thue_janus_k...n/snapshot1.png

(Yes I know the costs and river mouths is not yet drawn. I also know that in some cases the overlap is not drawn correctly.)

I think the desert/grassland borders look wrong, how are they done in civ 2? Could anybody post a screenshot from HiRes showing some desert?
[This message has been edited by Thue (edited December 30, 2000).]
[This message has been edited by Thue (edited January 01, 2001).]

St Leo is offline St Leo
King of Scenario League
Member of the Apolyton Social Democratic Party
Jul 2005
time: 00:12
Wink  Old Post 31-12-2000 04:00 Visit St Leo<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Got spare money?

The bottom left tile in terrain1.gif is used to dither all of the non-ocean background tiles at their boundaries. I would guess that the rhombus is subdivided into four triangles (or the rectangle is split into four) and the black dots in each region are replaced by what would have been there if the terrain adjacent to the triangle was also the terrain in that triangle.

------------------
St. Leo
http://www.sidgames.com/hosted/ziggurat/
http://www.sidgames.com/forums/

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:12
Thumbs up  Old Post 31-12-2000 04:38 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

That makes sense and is easy to do - thanks!

ps (unrelated): why do you use the smiley in all your posts, even when it does not have any relation to the content of the post?

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:12
Post  Old Post 31-12-2000 05:02 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Units adrawing (and moving, but I con't show that here...)
HTTP://hjem.get2net.dk/thue_janus_k...n/snapshot2.png
[This message has been edited by Thue (edited January 01, 2001).]

St Leo is offline St Leo
King of Scenario League
Member of the Apolyton Social Democratic Party
Jul 2005
time: 00:12
Wink  Old Post 01-01-2001 00:35 Visit St Leo<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Tired of ads?

BTW, are you going to just rotate the map 45* from the the CivI perspective or change to the pure CivII projection?

------------------
St. Leo
http://www.sidgames.com/hosted/ziggurat/
http://www.sidgames.com/forums/

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:12
Post  Old Post 01-01-2001 08:00 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Increase the size of your Attachments

As you know current unmodified freeciv works as civ 1. What I have done is simply to rotate the view, and that will be it for some time.
However, with some effort the rest of freeciv can be converted to civ 2 style tiling, resulting in a non-rotated view. (I have though that through pretty well.) But that is a seperate effort.

Btw, I think I know why my screenshots look slightly wrong; I had assumed that moving one tile north would be done by drawing the tile one tile-height further up; turns out it is actually one tile height minus two pixels. (You can see how the black edges are slightly misaligned.)

On dithering: Mindseye conferms you are right, but I may choose to implement my own instead of using that.

Here is a screenshot; because of the height miscalculation I couldn't get the dithering working, so I made a quick hack to try my own. Why is when I realized the height mismatch . The dithering will work better later. http://hjem.get2net.dk/thue_janus_k...en/snapshot.png
[This message has been edited by Thue (edited January 01, 2001).]

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:12
Post  Old Post 02-01-2001 10:06 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Get a bigger avatar today!

Ok - I reduced the distance between vertical tile with 2 pixels. I tried using that tile St. Leo suggested for dithering, but I couldn't find a really obvious way to do it. Are you sure it is correct?

Btw, I only use one of the tile types. It would be nice to know what the pattern is in civ 2 if there is any. And it would be nice if someone would post a civ 2 HiRes screenshot with lots of desert.

Oh, and should I dither on the top of jungle? swamp? arctic? tundra?
I could also implement dithering between coasts with land om top, which I currently don't do. It seem like civ 2 doesn't do that. http://hjem.get2net.dk/thue_janus_kristensen/try1.png
[This message has been edited by Thue (edited January 01, 2001).]
[This message has been edited by Thue (edited January 01, 2001).]
[This message has been edited by Thue (edited January 01, 2001).]

St Leo is offline St Leo
King of Scenario League
Member of the Apolyton Social Democratic Party
Jul 2005
time: 00:12
Wink  Old Post 01-01-2001 23:39 Visit St Leo<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Help yourself to an AD-FREE life

*.gif version
*.jpg version
*.png version

------------------
St. Leo
http://www.sidgames.com/hosted/ziggurat/
http://www.sidgames.com/forums/

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:12
Thumbs up  Old Post 02-01-2001 03:23 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Enter the AD-FREE zone

It turns out I should have read St. Leo's description of the dithering closer

They actually don't just draw when dithering, but do color averaging of some kind too.

Btw, it turns out that civ 2 doesn't move two pixels as I had presumed, as far as I can see from leo's screenshot, which is strange as it prduces better results. I will leave it in freeciv for now...
[This message has been edited by Thue (edited January 01, 2001).]

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:12
Post  Old Post 02-01-2001 06:59 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton, buy Civilization 2

it works very well now! And what can't be seen is that I implemented the drawing efficiently, or at least it is so fast I can't fell the delay. http://hjem.get2net.dk/thue_janus_k...sen/perfect.png
[This message has been edited by Thue (edited January 11, 2001).]

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:12
Post  Old Post 03-01-2001 04:16 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Got spare money?

Lotsa things. Note the flags. The freight blocks most of it's flag, so I may invert it.

Shadowstrike is offline Shadowstrike
Emperor
The Glorious Land of Canada
Jul 2000
time: 00:12
Post  Old Post 03-01-2001 04:36
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Got spare money?

I suggest reducing the flag size.

St Leo is offline St Leo
King of Scenario League
Member of the Apolyton Social Democratic Party
Jul 2005
time: 00:12
Wink  Old Post 03-01-2001 23:07 Visit St Leo<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Increase Your PM Length

Thue, if you want to go for full Civ2 compatibility you are going to have to reduce the size of that flag. For that flag to look right you would have to allow for a larger graphics format.

------------------
St. Leo
http://www.sidgames.com/hosted/ziggurat/
http://www.sidgames.com/forums/

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:12
Post  Old Post 04-01-2001 00:39 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Remove this text

Perhaps if I cut down the size somewhat and position it the same place where the civ 2 shield is placed.
(They are on that screenshot mostly because it was easy to do using the flags from the standard freeciv tilesets, not because I intented to let them stay there.)
[This message has been edited by Thue (edited January 03, 2001).]

Jing is offline Jing
Freeciv Developer
Toronto, ON
May 2000
time: 21:12
Thumbs up  Old Post 04-01-2001 05:44
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Support Apolyton

WOW! Great work, Thue. And I absolutely love the HiRes tileset.

About the last message, the Freeciv shields look much better anyway.

deepone is offline deepone
Settler

May 2000
time: 05:12
Thumbs up  Old Post 06-01-2001 18:46 Visit deepone's homepage!
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Support Apolyton buy from Amazon

I agree...
Looks real nice!
And shields are nicer...

------------------

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:12
Post  Old Post 13-01-2001 16:43 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Put an end to popups!

Is it just me or is the ocean gfx in terrain1.gif never used? Im my engine I always paint the coast tiles on top and looking at civ 2 screenshots I think they do the same.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:12.
Apolyton Time is 00:12.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0500 seconds (90.57% PHP - 9.43% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net