Bay 12 Games Forum

Please login or register.

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

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

huhwhozat

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

I could certainly build a quick browser utility to mix and match images based on forum-dwarves output.

Not sure about the ability to host it anywhere for general use.  I'm not familiar with any dorfy hosting options and I'm not able to afford anything besides free hosting.  Another option would be to package it as a nodejs app.  I have no direct experience doing that as of yet, but  a coworker has and could walk me through it.  That's all moot without any functionality though.

With or without the OP's go-ahead, I plan to pull down these images and take a shot at this.  I can't have a timeframe for a prototype besides saying sometime this month, unfortunately.  Feels like a fun project though!

OP, does this have your blessing?  If not, I'll cease any use of your images (if you request it) and work on the idea using other graphics.
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.
       

Scoops Novel

  • Bay Watcher
  • Talismanic
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #76 on: September 23, 2014, 04:22:59 pm »

Wow. Will this make it into StoneSense (Japa already working on something eh)? And will there be an armour overlay? :P
« Last Edit: September 23, 2014, 04:31:26 pm by Novel Scoops »
Logged
Reading a thinner book

Arcjolt (useful) Chilly The Endoplasm Jiggles

Hums with potential    a flying minotaur

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #77 on: September 24, 2014, 12:46:47 am »

Actually stonesense has had hair styles, skin color, and armor, for a while, but not facial features, and nothing new is planned there.
« Last Edit: September 24, 2014, 12:55:56 am by Japa »
Logged

Scoops Novel

  • Bay Watcher
  • Talismanic
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #78 on: September 24, 2014, 06:44:54 am »

Alright. So a separate project for this is still ago?
Logged
Reading a thinner book

Arcjolt (useful) Chilly The Endoplasm Jiggles

Hums with potential    a flying minotaur

Rose

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

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

Scoops Novel

  • Bay Watcher
  • Talismanic
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #80 on: September 24, 2014, 07:27:58 am »

All my internets if it outputs in 3d, and can export your dwarves to obj.

Is this a reasonable goal?

As a side note, I'd love to see this used with engravings.
Logged
Reading a thinner book

Arcjolt (useful) Chilly The Endoplasm Jiggles

Hums with potential    a flying minotaur

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #81 on: September 24, 2014, 07:33:58 am »

It's technically achievable, but would require a 3d artist to make it all.
Logged

Scoops Novel

  • Bay Watcher
  • Talismanic
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #82 on: September 24, 2014, 08:58:51 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.
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 #83 on: September 24, 2014, 09:47:38 am »

If there's ever any more word from the artist, maybe.
Sigh; yeah. :P

After working a bit on a web-based solution to visualization, it's not as easy as first expected (go figure).  I was planning to just overlay individual graphics for the hair, beard, etc, on top of the face graphic, but that won't work so well when the different face graphics have different positions where the overlays should rest (as someone pointed out previously and I completely missed until now).  This approach also precludes exporting the composite image as a whole without writing a bunch of compositing code, and I feel like if I'm going to be doing compositing code, I might as well just output the composite to the screen in the first place.  If that's the case, I might as well be working in a different language too; js isn't exactly built for image manipulation and something more integrated with existing df tools (like lua with df hack, or a dwarf therapist plugin) would make much more sense.

There's also the fact that forum-dwarves is erroring-out for me with the latest dfhack (0.40.13-r1). :P It'd make more sense to draw directly from the dfhack lua bindings than parsing out to text and re-parsing that text back to values anyway.  :-\

TL;DR: Bad idea to approach this as a web app; I'm not your guy for this project :(
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.
       

huhwhozat

  • Bay Watcher
  • cancels mysterious construction: taken by mood
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #84 on: September 24, 2014, 09:48:34 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
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.
       

milo christiansen

  • Bay Watcher
  • Something generic here
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #85 on: September 24, 2014, 09:54:06 am »

If someone gets me images and numbers for where all the parts go I could write a http server that takes a URL with a parts list encoded into it and returns a generated image (your choice gif, jpeg, or png)

But I am no artist, so no help there.
Logged
Rubble 8 - The most powerful modding suite in existence!
After all, coke is for furnaces, not for snorting.
You're not true dwarven royalty unless you own the complete 'Signature Collection' baby-bone bedroom set from NOKEAS

huhwhozat

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

Milo, if you could write the composition code that could generate an image based on params passed as a post request, I could do a frontend fairly easily.  Out of curiousity, do you plan to stitch together the image using php, python, ruby, any other server lang?  I'm experienced with php from work, but not with image manipulation in php. :P

Japa, maybe not the place to ask, but what languages does stonesense use, and how do you go about pulling the dwarf data from dfhack?  (Just looking for a general idea of data structures and process flow).


So... back on the web app train I guess? :D
« Last Edit: September 24, 2014, 10:21:22 am by huhwhozat »
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 #87 on: September 24, 2014, 10:46:34 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.

Logged

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #88 on: September 24, 2014, 10:50:19 am »

oh man ptw
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

Parsely

  • Bay Watcher
    • View Profile
    • My games!
Logged
Pages: 1 ... 4 5 [6] 7 8 ... 13