Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 19 20 [21] 22 23 ... 90

Author Topic: Visual Fortress: another 3D visualisation app  (Read 325536 times)

Baboonanza

  • Bay Watcher
    • View Profile
Re: Visual Fortress: another 3D visualisation app
« Reply #300 on: August 26, 2009, 03:47:55 am »

Soon, by Armok I hope it's finished soon :)

A combination of making more changes than I expected, some of them taking a long time and me not having much free time (I've been reduced to getting up early before work to get some debugging in) means it's quite late. It's close though.
Logged

zxcvmnb

  • Bay Watcher
    • View Profile
Re: Visual Fortress: another 3D visualisation app
« Reply #301 on: August 26, 2009, 05:32:36 am »

On the subject of fortifications, I think the best solution would be

if square above = empty space then draw crenellations; if not then draw arrow slits.

Ramps already change according to the surrounding squares.

Arrow slits with nothing above them would look just as bad as crenellations supporting walls.
Logged

EvilTwin

  • Bay Watcher
  • likes skeletons for their afros
    • View Profile
Re: Visual Fortress: another 3D visualisation app
« Reply #302 on: August 26, 2009, 07:33:47 am »

about that fortification-with-no-walls-around thingy... same problem with statues and the like. i think it's espacially a problem with statues, but how about this:
1. a statue that has other statues on the tiles around shall never face them
2. a statue with walls on adjacent tiles shall face away from them
3. a statue that stands freely shall always face south direction

if those rules are worked through in that order all statues should be facing the right way, or at least nearly all.

free standing fortifications, who uses those??
Logged

Baboonanza

  • Bay Watcher
    • View Profile
Re: Visual Fortress: another 3D visualisation app
« Reply #303 on: August 26, 2009, 07:57:19 am »

about that fortification-with-no-walls-around thingy... same problem with statues and the like. i think it's espacially a problem with statues, but how about this:
1. a statue that has other statues on the tiles around shall never face them
2. a statue with walls on adjacent tiles shall face away from them
3. a statue that stands freely shall always face south direction

if those rules are worked through in that order all statues should be facing the right way, or at least nearly all.

free standing fortifications, who uses those??
Indeed.

I fixed fortifications some time ago, in line with what most people are suggesting, so that's a bit of a pointless debate. You get crenulations when there is open space above, otherwise you get arrow slits.

Statues should hopefully work as you descrbe also, I haven't tested them fully yet though so we'll see.
Logged

Anamabir

  • Bay Watcher
  • Gentledwarf
    • View Profile
Re: Visual Fortress: another 3D visualisation app
« Reply #304 on: August 26, 2009, 01:34:02 pm »

So. When will the d14 version be released, circa?
Logged

Footkerchief

  • Bay Watcher
  • The Juffo-Wup is strong in this place.
    • View Profile
Re: Visual Fortress: another 3D visualisation app
« Reply #305 on: August 26, 2009, 01:54:23 pm »

So. When will the d14 version be released, circa?

Please don't nag Baboonanza like this.  Keeping up with these projects takes a ton of dedication.
Logged

Anamabir

  • Bay Watcher
  • Gentledwarf
    • View Profile
Re: Visual Fortress: another 3D visualisation app
« Reply #306 on: August 26, 2009, 03:17:51 pm »

So. When will the d14 version be released, circa?

Please don't nag Baboonanza like this.  Keeping up with these projects takes a ton of dedication.
English is my second language, so I'm sorry if it came across as a bit whiny, but I just wanted an estimate of some sort, even if it's inaccurate as all hells.
Logged

Footkerchief

  • Bay Watcher
  • The Juffo-Wup is strong in this place.
    • View Profile
Re: Visual Fortress: another 3D visualisation app
« Reply #307 on: August 26, 2009, 03:19:11 pm »

Soon, by Armok I hope it's finished soon :)
Logged

MMad

  • Bay Watcher
    • View Profile
Re: Visual Fortress: another 3D visualisation app
« Reply #308 on: August 26, 2009, 03:28:01 pm »

Soon, by Armok I hope it's finished soon :)

A combination of making more changes than I expected, some of them taking a long time and me not having much free time (I've been reduced to getting up early before work to get some debugging in) means it's quite late. It's close though.

You rock. :)
Logged
"Ask not what your fortress can do for you - ask what you can do for your fortress."
Unapologetic ASCII abolitionist.

Anamabir

  • Bay Watcher
  • Gentledwarf
    • View Profile
Re: Visual Fortress: another 3D visualisation app
« Reply #309 on: August 26, 2009, 03:52:06 pm »

Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Visual Fortress: another 3D visualisation app
« Reply #310 on: August 27, 2009, 03:23:28 am »

I might have skipped a few messages, but as there is that BSD license thingie in the zip, are you sharing the source ? I'm interested in reading it.
Logged

Baboonanza

  • Bay Watcher
    • View Profile
Re: Visual Fortress: another 3D visualisation app
« Reply #311 on: August 27, 2009, 03:57:08 am »

Not publicly until now:
http://sourceforge.net/projects/visualfortress/

All the source is BSD licensed except for the very few places where I have used other peoples source, where the source is noted and the applicable licence is given.
Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Visual Fortress: another 3D visualisation app
« Reply #312 on: August 27, 2009, 04:24:08 am »

Ah too bad, I thought you might had a better idea for identifying buildings than checking the vtable, but turns out you still have to extract this "manually" for each df version :(
Logged

Baboonanza

  • Bay Watcher
    • View Profile
Re: Visual Fortress: another 3D visualisation app
« Reply #313 on: August 27, 2009, 04:34:13 am »

It's not really a 'manual' process, I just run an app and it dumps them for me. But I guess that's what you meant.

I don't think there is an alternative since buildings are clearly defined by a class heirarchy, with sub-types within that. Even the text to name/decribe them is returned by a virtual function.
« Last Edit: August 27, 2009, 04:44:05 am by Baboonanza »
Logged

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Visual Fortress: another 3D visualisation app
« Reply #314 on: August 27, 2009, 06:48:50 am »

I don't think there is an alternative since buildings are clearly defined by a class heirarchy, with sub-types within that. Even the text to name/decribe them is returned by a virtual function.

Well you still can parse the class data youself (I suppose you use an IDC script), check the content of the proper virtual function (pattern matching could be sufficient if they are all built the same), or do it the other way around :
* finding the pattern " Armor Stand" (with leading space)
* find "push offset string"
* find the beginning of this function
* find the pointer to this function, you have the vtable

I guess I'm the only one wanting to find a way to automagically find offsets and stuff like that :(
Logged
Pages: 1 ... 19 20 [21] 22 23 ... 90