Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 8 9 [10] 11 12 13

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

Scoops Novel

  • Bay Watcher
  • Talismanic
    • View Profile
Re: [v.0.01c] Dwarf Appearance Visualizer
« Reply #135 on: December 23, 2014, 01:39:25 pm »

It would be worth going through some of the better existing artwork of dwarves and such, tagging their features and then throwing up the ones that match. Then our artists could focus on the "edge" cases that don't to start with.
« Last Edit: December 23, 2014, 01:53:41 pm by Novel Scoops »
Logged
Reading a thinner book

Arcjolt (useful) Chilly The Endoplasm Jiggles

Hums with potential    a flying minotaur

Scoops Novel

  • Bay Watcher
  • Talismanic
    • View Profile
Re: [v.0.01c] Dwarf Appearance Visualizer
« Reply #136 on: January 07, 2015, 07:58:29 pm »

If this is abandoned, i see some are willing to take up the gauntlet?
Logged
Reading a thinner book

Arcjolt (useful) Chilly The Endoplasm Jiggles

Hums with potential    a flying minotaur

ptb_ptb

  • Bay Watcher
    • View Profile
Re: [v.0.01c] Dwarf Appearance Visualizer
« Reply #137 on: January 13, 2015, 06:15:28 am »

If this is abandoned, i see some are willing to take up the gauntlet?

I hope this isn't abandoned.  But I'm grateful for the work done so far in either case. I made use of it over here.

If the author is still frequenting these boards then I would like to suggest two new features:
* Zoom in/out
* Randomise
Logged
()==[:::::::::::::>

Scoops Novel

  • Bay Watcher
  • Talismanic
    • View Profile
Re: [FIRST SAMPLES] Dwarf Appearance Visualizer
« Reply #138 on: January 21, 2015, 07:50:49 am »

Yes, i knew it. Judging from:

Alright. So a separate project for this is still ago?

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

and:
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.

It's just a matter of time.
Logged
Reading a thinner book

Arcjolt (useful) Chilly The Endoplasm Jiggles

Hums with potential    a flying minotaur

Scoops Novel

  • Bay Watcher
  • Talismanic
    • View Profile
Re: [v.0.01c] Dwarf Appearance Visualizer
« Reply #139 on: January 29, 2015, 07:01:25 am »

Scratch that, Salmongod will be out of the loop for a while yet. Grr
Logged
Reading a thinner book

Arcjolt (useful) Chilly The Endoplasm Jiggles

Hums with potential    a flying minotaur

thecrimsonbeard

  • Bay Watcher
    • View Profile
Re: [v.0.01c] Dwarf Appearance Visualizer
« Reply #140 on: February 06, 2015, 07:00:13 pm »

This is actually an idea that came to me a little over a week ago.  I posted it in the general mod forum http://www.bay12forums.com/smf/index.php?topic=148118.0 Maybe I should have posted it here, but I just now found out about this subforum.  I need to get back into the swing of drawing, but a few years ago I spent quite awhile doing nothing but drawing dwarves until I got some ideas that looked good to me.  As you can see in my post, my biggest issue is programming, but no one has suggested a language that would be best, so I'm considering just picking up Qt and starting to learn it this weekend since that's the language for Dwarf Therapist
« Last Edit: February 06, 2015, 07:25:31 pm by thecrimsonbeard »
Logged

Scoops Novel

  • Bay Watcher
  • Talismanic
    • View Profile
Re: [v.0.01c] Dwarf Appearance Visualizer
« Reply #141 on: February 08, 2015, 10:19:56 am »

*waits patiently*

*tumbleweed*

Message Japa. He'll take an interest in the programming if you do the drawing  :D
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: [v.0.01c] Dwarf Appearance Visualizer
« Reply #142 on: February 08, 2015, 11:04:07 am »

Eh, I'm working on other stuff at the moment.
Logged

Cryxis, Prince of Doom

  • Bay Watcher
  • Achievment *Fail freshman year uni*
    • View Profile
Re: [v.0.01c] Dwarf Appearance Visualizer
« Reply #143 on: February 08, 2015, 11:27:16 am »

This is cool
Ptw
Logged
Fueled by caffeine, nicotine, and a surprisingly low will to live.
Cryxis makes the best typos.

Scoops Novel

  • Bay Watcher
  • Talismanic
    • View Profile
Re: [v.0.01c] Dwarf Appearance Visualizer
« Reply #144 on: April 17, 2015, 05:03:44 am »

Still up for it crimson?
Logged
Reading a thinner book

Arcjolt (useful) Chilly The Endoplasm Jiggles

Hums with potential    a flying minotaur

Rallor

  • Bay Watcher
    • View Profile
Re: [v.0.01c] Dwarf Appearance Visualizer
« Reply #145 on: May 15, 2015, 01:42:06 pm »

I'm currently getting familiar with the dfhack API. I intend to create a script or plugin that will display a bunch of image files on top of each other dependent on the appearance of the dwarf selected in-game. Right now I'm trying to figure out where the description/appearance of the unit is stored. Doesn't seem to be the appearance vector. Either that or I simply don't know how to translate its values to what you can read in-game on the unit description screen.
Logged

variablenonsense

  • Bay Watcher
    • View Profile
Re: [v.0.01c] Dwarf Appearance Visualizer
« Reply #146 on: May 17, 2015, 07:15:08 am »

This wouldn't be super hard to do as a quick web app, just as a php / imagemagick script tbqh. We do stuff like this in the project we're working on right now actually.

The problem of course would be 1. art assets (I would volunteer but I probably won't be available for a while except for rough sketching) and 2. figuring out where / how the appearance data was saved. If you could get that it'd be pretty simple to copy/paste it into a form and layer everything automatically that way, but I have no idea where that would be stored in a save / legends info.  :P
Logged
Call me Vari. It's easier to type.

Scoops Novel

  • Bay Watcher
  • Talismanic
    • View Profile
Re: [v.0.01c] Dwarf Appearance Visualizer
« Reply #147 on: May 23, 2015, 01:01:07 pm »

Godspeed
Logged
Reading a thinner book

Arcjolt (useful) Chilly The Endoplasm Jiggles

Hums with potential    a flying minotaur

Rallor

  • Bay Watcher
    • View Profile
Re: [v.0.01c] Dwarf Appearance Visualizer
« Reply #148 on: January 12, 2016, 10:37:31 am »

Attempted to do something simple in python, layering different image files on top of each other with tkinter depending on the values I get from dfhack.
To get those values I tried to use the hackurist library by DeDeRon, to pass a lua command to dfhack and retrieve its output, the command itself being:
Code: [Select]
lua "printall(dfhack.gui.getSelectedUnit().appearance.bp_modifiers)"
I have also been working on a spreadsheet with translations for those values.
As I had never used golang before I tried to pass the values provided by hackurist into Python using gopy. Whenever you have a function in your golang file that returns a byte array gopy ends up giving you a similar error:
Code: [Select]
./dviza.c: In function ‘cpy_func_0x359372799_item’:
./dviza.c:424:9: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  pyitem = (&item);
         ^
cc1: warning: function may return address of local variable [-Wreturn-local-addr]
./dviza.c:423:10: note: declared here
  GoUint8 item = cgo_func_0x359372799_item(self->cgopy, i);

Which is a problem since the output hackurist retrieves from dfhack is a byte array. This is where I have gotten stuck for now.
Logged

PeridexisErrant

  • Bay Watcher
  • Dai stihó, Hrasht.
    • View Profile
Re: [v.0.01c] Dwarf Appearance Visualizer
« Reply #149 on: January 12, 2016, 08:15:21 pm »

I suggest splitting this so you write a file with the description(s) using a native DFHack script written in Lua, and then read the file and create an image in Python.
Logged
I maintain the DF Starter Pack - over a million downloads and still counting!
 Donations here.
Pages: 1 ... 8 9 [10] 11 12 13