Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: That darned elusive circle...  (Read 2974 times)

accoro

  • Bay Watcher
    • View Profile
That darned elusive circle...
« on: July 29, 2011, 01:11:11 pm »

Circles - how do you mine out circular rooms? I am terrible at this, I always end up with diamond shaped rooms. Halps :(
Logged
Stand there pondering all the great mysteries of the DF universe.  The last thing going through his head being of course the Atom Smasher.

Graebeard

  • Bay Watcher
  • The reasonable penguin
    • View Profile
Re: That darned elusive circle...
« Reply #1 on: July 29, 2011, 01:21:40 pm »

There are a few methods you can use.  This thread has some helpful templates and an auto hot key program I've used a lot.

You can also open up MS Paint, select the oval tool, zoom all the way in, and draw a circle by holding shift while you drag the mouse.  Just fill in corners as needed.
Logged
At last, she is done.

Calathar

  • Bay Watcher
    • View Profile
Re: That darned elusive circle...
« Reply #2 on: July 29, 2011, 01:59:47 pm »

It might be worth mentioning that with vanilla DF, while not full screened and at the default zoom, the vertical pixel count for each tile doesn't equal the horizontal pixel count.  So if this is the case for you, you won't ever get rooms that appear circular, even if you are digging out the correct tiles. 
Logged

MiniMacker

  • Bay Watcher
  • Side-effects include nausia, tantrum and insanity.
    • View Profile
Re: That darned elusive circle...
« Reply #3 on: July 29, 2011, 09:02:17 pm »

Something to take note of is that a square is "technically" round in Dwarf Fortress, since it takes the same amount of time for something to go diagonally as it takes for it to go in any other direction.

Which must mean that circles are squares.

But squares are also circles.


Spoiler (click to show/hide)
« Last Edit: July 30, 2011, 02:34:12 am by MiniMacker »
Logged
It isn't a new Dwarf Fortress version until we're made to fear some kind of regular creature.  Carp, Elephants, Unicorns, Badgers, and now Mosquitos.  I've got 5 dorfBucks on the next one being plagues of groundhogs.

Starver

  • Bay Watcher
    • View Profile
Re: That darned elusive circle...
« Reply #4 on: July 29, 2011, 09:29:31 pm »

If DF squares are more like RL circles, then DF 'circles' are more like diamondesque four-pointed stars IRL.

Don't know if it copies/displays well on everyone's machine/browser, but character 2726 works well as an example (for those that don't want to run their own plotting program or spreadsheet graph of the problem) and follows below:
Logged

Guedez

  • Bay Watcher
    • View Profile
Re: That darned elusive circle...
« Reply #5 on: July 29, 2011, 10:52:43 pm »

If DF squares are more like RL circles, then DF 'circles' are more like diamondesque four-pointed stars IRL.

Don't know if it copies/displays well on everyone's machine/browser, but character 2726 works well as an example (for those that don't want to run their own plotting program or spreadsheet graph of the problem) and follows below:


i give you 10 urists for finding out the existence of this character
Logged

Aoi

  • Bay Watcher
    • View Profile
Re: That darned elusive circle...
« Reply #6 on: July 29, 2011, 11:05:19 pm »

Great. In addition to Dwarfy physics, we've also concluded they use non-Euclidian geometry. When will the madness end?!
Logged
Stench Guzman: Fix this quote, please.
Now celebrating: Two and a half years misquoted. Seriously man. Just fix it. -_-

Starver

  • Bay Watcher
    • View Profile
Re: That darned elusive circle...
« Reply #7 on: July 29, 2011, 11:12:31 pm »

Great. In addition to Dwarfy physics, we've also concluded they use non-Euclidian geometry. When will the madness end?!
That could be difficult to answer if there's an infinite area but a finite border or a finite area with an infinite border.  (Or a finite (and toroidal) area with no border, but we aren't playing Asteroids here... :) )

Logged

Graebeard

  • Bay Watcher
  • The reasonable penguin
    • View Profile
Re: That darned elusive circle...
« Reply #8 on: July 29, 2011, 11:19:12 pm »

It's things like this why I want the philosopher back so bad.  Imagine if you had this guy running around your fort.
Logged
At last, she is done.

Urist_McArathos

  • Bay Watcher
  • Nobody enjoys a good laugh more than I do.
    • View Profile
Re: That darned elusive circle...
« Reply #9 on: July 29, 2011, 11:24:17 pm »

It might be worth mentioning that with vanilla DF, while not full screened and at the default zoom, the vertical pixel count for each tile doesn't equal the horizontal pixel count.  So if this is the case for you, you won't ever get rooms that appear circular, even if you are digging out the correct tiles.

The default does come with an alternate tileset that has perfectly square tiles.  You still have to take care to get "circular" rooms, but that will help correct the ridiculous "diamondy" nature of the default set.
Logged
Current Community/Story Projects:
On the Nature of Dwarves

Graebeard

  • Bay Watcher
  • The reasonable penguin
    • View Profile
Re: That darned elusive circle...
« Reply #10 on: July 29, 2011, 11:26:02 pm »

You know, this used to really bother me.  If I'd known there were square tilesets when I started I probably would have used them.  Now I'm so used to it, though, that square rooms just look wrong.
Logged
At last, she is done.

Lezard

  • Bay Watcher
  • Detests !!Caravans!! for their terrifing antics.
    • View Profile
Re: That darned elusive circle...
« Reply #11 on: July 30, 2011, 12:38:37 am »

Something to take note of is that a square is "technically" round in Dwarf Fortress, since it takes the same amount of time for something to go diagonally as it takes for it to go in any other direction.

Which must mean that circles are squares.

But squares are also circles.


Spoiler (click to show/hide)

I just threw up....
Logged
Currently I have "The Breached Anus of brides"  sounds like a disastrous honey moon.
Exactly. Ethics in DF are very realistic - trivial and pointlessly selectively ex/inclusive.

Jurph

  • Bay Watcher
  • Minister of Belt-fed Weaponry
    • View Profile
Re: That darned elusive circle...
« Reply #12 on: July 30, 2011, 08:11:56 am »

Something to take note of is that a square is "technically" round in Dwarf Fortress, since it takes the same amount of time for something to go diagonally as it takes for it to go in any other direction.

Which must mean that circles are squares.

But squares are also circles.


Spoiler (click to show/hide)

Wrong -- diagonal movement costs 1.4 squares of movement.  A nice circle of diameter 15 is rows of 5,9,11, two rows of 13, five rows of 15, two 13s, 11, 9, 5.  It's 7 tiles flat-to-flat, and 5*1.4 = 7 tiles diagonally.  I use it for my cylindrical layouts.
Logged
Dreambrother has my original hammer-shaped Great Hall.  Towerweak has taken the idea to the next level.

Starver

  • Bay Watcher
    • View Profile
Re: That darned elusive circle...
« Reply #13 on: July 31, 2011, 04:30:35 pm »

Wrong -- diagonal movement costs 1.4 squares of movement.

I've previously quoted that information, but others have said that there's no basis for this, so I don't throw this fact around any more and go with the apparently more provable "Modified Manhattan" distance.  Still, we can deal with it being otherwise.
Logged

BigD145

  • Bay Watcher
    • View Profile
Re: That darned elusive circle...
« Reply #14 on: July 31, 2011, 09:31:57 pm »

Wrong -- diagonal movement costs 1.4 squares of movement.

I've previously quoted that information, but others have said that there's no basis for this, so I don't throw this fact around any more and go with the apparently more provable "Modified Manhattan" distance.  Still, we can deal with it being otherwise.

a squared + b squared = c squared

Basic geometry of a right triangle.
Logged
Pages: [1] 2