Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 5 6 [7] 8 9 ... 13

Author Topic: [v.0.01c] Dwarf Appearance Visualizer  (Read 51858 times)

huhwhozat

  • Bay Watcher
  • cancels mysterious construction: taken by mood
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #90 on: September 24, 2014, 11:09:15 am »

Stonesense is written in C++, which is the native language of DF and DFHack both.

I just use the DFHack API to read the creature data directly.

Blast!  My C++ skills are sadly lacking at this point.  I admit I haven't taken much interest in actually working on tools for df before now, so please forgive the fact that my knowledge of the implementation of those tools is sub-par.  I should find out more about the dfhack api.  So far I've only just brushed the surface of the lua bindings.

Japa, I hope you don't mind me working on this visualizer as well?  Stonesense does some truly impressive stuff and I don't want to steal any thunder.

For sake of full disclosure, I'm treating this as a personal exercise using some tools and techniques I need practice with for my job, so I've not really been considering what's best for the community here and wouldn't mind some redirection or reassurance on that count.
Logged
        Did you sense a disturbance in the dwarf?
        edit: ... as if millions of kittens suddenly cried out in terror, and were suddenly silenced.
        edit2: I fear something delicious has happened.
       

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #91 on: September 24, 2014, 11:13:31 am »

If you don't want to use C++, there's also lua and ruby bindings for DFHack.

And there's no thunder to steal.
Logged

huhwhozat

  • Bay Watcher
  • cancels mysterious construction: taken by mood
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #92 on: September 24, 2014, 11:21:30 am »

Awesome!  Thanks for the positive feedback, Japa!  Would you mind if I use the stonesense sprite sheet as placeholder imagery while waiting for the OP?  I was hoping to use his images, but none of them are separated into layers and it'd be duplicating work to split them out myself.  Looking forward to see what you come up with as well! :D
Logged
        Did you sense a disturbance in the dwarf?
        edit: ... as if millions of kittens suddenly cried out in terror, and were suddenly silenced.
        edit2: I fear something delicious has happened.
       

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #93 on: September 24, 2014, 12:25:18 pm »

Yeah, go ahead.

And feel free to read through the stonesense code to see where the different hair styles are stored.
Logged

Scoops Novel

  • Bay Watcher
  • Talismanic
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #94 on: September 24, 2014, 12:46:36 pm »

I vote for doing the same for goblins and the like.
Logged
Reading a thinner book

Arcjolt (useful) Chilly The Endoplasm Jiggles

Hums with potential    a flying minotaur

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #95 on: September 24, 2014, 02:16:20 pm »

I vote for doing the same for goblins and the like.
I imagine the tool would be built to include additional contributed artwork.  It's just going to be a bit complicated to specify vector art, attachment points for subsidiary structures, and how to scale the various bits with the creature's appearance modifiers.
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

Scoops Novel

  • Bay Watcher
  • Talismanic
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #96 on: September 24, 2014, 02:32:09 pm »

I vote for doing the same for goblins and the like.
vector art, attachment points for subsidiary structures, and how to scale the various bits with the creature's appearance modifiers.

Noobyness intensifies. Thanks for bothering though.
« Last Edit: September 24, 2014, 02:37:30 pm by Novel Scoops »
Logged
Reading a thinner book

Arcjolt (useful) Chilly The Endoplasm Jiggles

Hums with potential    a flying minotaur

SalmonGod

  • Bay Watcher
  • Nyarrr
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #97 on: September 24, 2014, 10:47:07 pm »

I'm currently in the process of rebooting my life.  If this project is still in limbo due to lack of art when things normalize a bit, I'd love to contribute.
Logged
In the land of twilight, under the moon
We dance for the idiots
As the end will come so soon
In the land of twilight

Maybe people should love for the sake of loving, and not with all of these optimization conditions.

Scoops Novel

  • Bay Watcher
  • Talismanic
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #98 on: September 25, 2014, 09:24:08 am »

Coming back to engravings, would it be particularly hard to use this art in stock poses (in 2d)? Certain paintings come to mind, and, i must admit, graphic novels.

There's GIMP or Photoshop for that! :D

Ooh! Could it be automated, or would it be fiddly? And when i say graphic novels, i mean fight scenes.
« Last Edit: September 28, 2014, 04:55:58 am by Novel Scoops »
Logged
Reading a thinner book

Arcjolt (useful) Chilly The Endoplasm Jiggles

Hums with potential    a flying minotaur

huhwhozat

  • Bay Watcher
  • cancels mysterious construction: taken by mood
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #99 on: September 26, 2014, 10:27:24 am »

Step 1: Dorf
Spoiler (click to show/hide)
Step 2: ? ? ?
Step 3: Also Dorf.

Early days - experimenting with selecting different styles using stonesense graphics.  Color is a problem at this point.  I know I can do what I need via Canvas, but I'm not sure how exactly that'll mesh with the other tools I'm using and I need to experiment.  I'm also not reading info from anything at this point.
Logged
        Did you sense a disturbance in the dwarf?
        edit: ... as if millions of kittens suddenly cried out in terror, and were suddenly silenced.
        edit2: I fear something delicious has happened.
       

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #100 on: September 26, 2014, 10:52:51 am »

Step 1: Dorf
Spoiler (click to show/hide)
Step 2: ? ? ?
Step 3: Also Dorf.

Early days - experimenting with selecting different styles using stonesense graphics.  Color is a problem at this point.  I know I can do what I need via Canvas, but I'm not sure how exactly that'll mesh with the other tools I'm using and I need to experiment.  I'm also not reading info from anything at this point.
That looks like a good start.  Just keep things in grayscale (white will take on exactly the color specified in the raws) and the coloring issues can be handled later.  That problem has been solved multiple times, so it's either fairly easy or at least easy to copy.
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

huhwhozat

  • Bay Watcher
  • cancels mysterious construction: taken by mood
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #101 on: September 26, 2014, 10:55:25 am »

Oh I'm not worried about having actual trouble colorizing.  It's just not going to be as easy as that -snaps fingers- and I thought it would be.
Logged
        Did you sense a disturbance in the dwarf?
        edit: ... as if millions of kittens suddenly cried out in terror, and were suddenly silenced.
        edit2: I fear something delicious has happened.
       

AndrewChewie

  • Bay Watcher
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #102 on: September 27, 2014, 10:04:52 am »

Long time no see...
Sorry for such long delay, was really busy this month.

Here is good news as my apologies:
Dwarf Visualizer - 0.01a
https://www.dropbox.com/s/gyxitzzfki4h7cf/DwarfVisualizer.rar?dl=0

Currently it only cycles through different beard styles and can switch on/off some facial hair and details
But it's only beginning =)
« Last Edit: September 27, 2014, 10:14:20 am by AndrewChewie »
Logged

AndrewChewie

  • Bay Watcher
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #103 on: September 27, 2014, 10:12:52 am »

in case you were having trouble with the possible dwarf appearance modifiers, here is what i found in the raws (hope you're still working on this project)

each modifier has three versions: classic, very, and extremely, ex. a dwarf could be broad, very broad, or extremely broad, (or not broad at all, and therefore average [possibly no description])

Body: Broad, Skinny, Tall, Short
Eyes: close set, far set (not sure what the exact phrase is in game [perhaps wide set]), Deep set, protruding, round, narrow, large iris, small iris
Lips: thick, thin
Nose: Broad, skinny, long, short, upturned, hooked, convex (may be an opposite to convex, not sure)
Ear: Splayed out, hangin lobes, broad, tall (i believe ears use a different format than [blank], very, extremely. probably i have seen slightly used in descriptions, so perhaps add that in for everything as well)
tooth: gapped, (i think there is a close set thing too), long (for vampires)
Skull: High cheekbones, broad chin, jutting chin, square chin
Head: broad, skinny, tall, short
Eyebrows: Long, short, thick, thin?, high, low
Hair: curly, greasy, dense
wrinkles, these exist too, mostly around the eyes i think

couldn't find beards (i'm new at this) but you seem to have those already

Thanks for this, it's much easier to work with this list.

If there's ever any more word from the artist, maybe.

Hey,Japa

so what are you aiming for? Do you interested in creating your own tool with my art? It's not a problem, when it's done I'll share it
« Last Edit: September 27, 2014, 10:17:55 am by AndrewChewie »
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #104 on: September 27, 2014, 10:37:12 am »

I was considering making a tool to use the art, yes.

Once I get time, I'll start with a simple utility to pull as much info as possible from DF about a creature and display it. Then it's a simple matter to chose what to display.

Mostly it's a matter of motivation for me :D

Logged
Pages: 1 ... 5 6 [7] 8 9 ... 13