[engine] Generate black backgrounds for art on install?

Discussion among members of the development team.

Moderators: Forum Moderators, Developers

Re: [engine] Generate black backgrounds for art on install?

Postby thespaceinvader » January 10th, 2011, 1:17 pm

Which is precisely why it probably saves memory just to make and ship the small versions.

I'd still argue that we could probably make a help GUI that invalidated the need for them at all, though.
http://thespaceinvader.co.uk | http://thespaceinvader.deviantart.com
Back to work. Current projects: Catching up on commits. Picking Meridia back up. Sprite animations, many and varied.
User avatar
thespaceinvader
Retired Art Director
 
Posts: 8414
Joined: August 25th, 2007, 10:12 am
Location: Oxford, UK

Re: [engine] Generate black backgrounds for art on install?

Postby DEATH_is_undead » January 10th, 2011, 8:29 pm

thespaceinvader wrote:Which is precisely why it probably saves memory just to make and ship the small versions.

I'd still argue that we could probably make a help GUI that invalidated the need for them at all, though.

Well, I didn't quite get on my point very well there; I'm more-so getting at that Wesnoth is fairly large on itself, maybe not as large as other games, but for slow internet speed, it can be a problem.

Adding a lot of features to save memory can be useless, as it MAY cost the same as whats saved itself. This is more my point then anything else. Although this is for future reference then anything else...
3P MP Scenario - Great Dwarves Escape
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.
User avatar
DEATH_is_undead
 
Posts: 960
Joined: March 4th, 2007, 3:00 pm
Location: Northern United States

Re: [engine] Generate black backgrounds for art on install?

Postby Gambit » January 11th, 2011, 12:14 am

I find it hard to believe that a single image path function can be more filesize in text than a full color 200x200 png image.
User avatar
Gambit
Loose Screw
 
Posts: 3266
Joined: August 13th, 2008, 3:00 pm
Location: Dynamica

Re: [engine] Generate black backgrounds for art on install?

Postby Eleazar » January 11th, 2011, 4:21 am

kitty wrote:Hmm, there are definitely visible differences between my and tsi's versions of the portraits and the ones you generated. But honestly the differences don't look too bad to me. I'd like to hear what the other portrait artists have to say to this minimal quality loss. I think I could live with it.

IMHO this is no practical degradation of the players experience if we went with these across the board. For what it's worth, i support it.

The time saved from making and managing the small portraits will probably eventually add up to more more new/improved portraits that if we continue as we are.
Feel free to PM me if you start a new terrain oriented thread. It's easy for me to miss them among all the other art threads.
-> What i might be working on
Attempting Lucidity
User avatar
Eleazar
Retired Terrain Art Director
 
Posts: 2481
Joined: July 16th, 2004, 1:47 am
Location: US Midwest

Re: [engine] Generate black backgrounds for art on install?

Postby pauxlo » January 11th, 2011, 1:23 pm

Gambit wrote:I find it hard to believe that a single image path function can be more filesize in text than a full color 200x200 png image.


The problem comes when we need image path functions like "sharpen" or similar, which must be programmed first (and add to the file size of the program).
User avatar
pauxlo
 
Posts: 1005
Joined: September 19th, 2006, 8:54 pm

Re: [engine] Generate black backgrounds for art on install?

Postby Gambit » January 11th, 2011, 1:57 pm

:| That's what I meant.

The largest source file (at least in the top src directory) is 175kb. The source itself is under eight megabytes. But of all that space do you want to know how big the largest image path function is?

~TC weighing in at 1.6kb:


Now I realize that that references external code, but bear with me for a few more numbers. Together, all of our current image manipulation functions are 10.2kb. Now the smallest small-style portrait I could find is the bat at 20.1kb. They average far closer to 50-60kb. So again; I find it impossible to believe that we actually make Wesnoth bigger by adding ~sharpen() and whatever the artists need and removing the small black portraits.

OTOH, the small black portraits only account for 6.5mb of Wesnoth's download size, so I'm not entirely sure that's even worth it. Even assuming that a year from now we have twice as many small black portraits it's still only a drop in the bucket.
User avatar
Gambit
Loose Screw
 
Posts: 3266
Joined: August 13th, 2008, 3:00 pm
Location: Dynamica

Re: [engine] Generate black backgrounds for art on install?

Postby pauxlo » January 11th, 2011, 2:15 pm

Yeah, for really save download size maybe there should be a "more compressed sound" version, or one which only contains the sound changed/added since the last version.
User avatar
pauxlo
 
Posts: 1005
Joined: September 19th, 2006, 8:54 pm

Re: [engine] Generate black backgrounds for art on install?

Postby thespaceinvader » January 11th, 2011, 3:34 pm

Suggested so many times before, never proved well-used enough to be worth maintaining.
http://thespaceinvader.co.uk | http://thespaceinvader.deviantart.com
Back to work. Current projects: Catching up on commits. Picking Meridia back up. Sprite animations, many and varied.
User avatar
thespaceinvader
Retired Art Director
 
Posts: 8414
Joined: August 25th, 2007, 10:12 am
Location: Oxford, UK

Re: [engine] Generate black backgrounds for art on install?

Postby shadowm » January 12th, 2011, 3:41 am

DEATH_is_undead wrote:Remember every tool you wish to use on your art has to be in Wesnoth's game engine, which will take about one of the portrait's saved memory itself.

This feature is not really a “tool”, but more of a series of bugfixes and improvements upon features that have existed for many stable series already. The resulting object code is nothing compared to template-heavy code such as the AI modules.

Bottom line: refrain from posting on subjects you don’t know about, especially on a working thread. I’m moving this to Developers’ Discussions to avoid further noise.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
I also made Wesnoth RCX, a team-color preview tool for artists and content creators.
Elsewhere: shadowmBlogFollow me on Twitter
User avatar
shadowm
Wesnoth.org Administrator
 
Posts: 6185
Joined: November 14th, 2006, 5:54 pm
Location: Chile

Re: [engine] Generate black backgrounds for art on install?

Postby Jetrel » January 13th, 2011, 2:12 am

On a slightly off-topic note, we really, desperately need to figure out a better layout for these unit info screens where these black-backgrounded portraits get used. Our current presentation is just horrendous - especially with the vertically stacked portraits.

Image
Play Frogatto & Friends - a finished, open-source adventure game!
User avatar
Jetrel
Art Director
 
Posts: 7240
Joined: February 23rd, 2004, 3:36 am
Location: Midwest US

Previous

Return to Developers’ Discussions

Who is online

Users browsing this forum: No registered users and 1 guest