Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

RE: Future of the series

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> RE: Future of the series Page: <<   < prev  1 2 3 [4] 5   next >   >>
Login
Message << Older Topic   Newer Topic >>
RE: Future of the series - 1/31/2011 2:19:57 AM   
Sabin Stargem

 

Posts: 140
Joined: 12/29/2010
Status: offline
I don't think that 2D vs 3D is to clear cut as "it is cheap/expensive", nor is it about features. I think it lies in execution, the ability of an developer to figure out what actually works and making it happen. "Ocarina of Time" is equal or superior when compared to "Link to the Past", and when you view their basic structure, they share many similarities. 3D isn't limited to a 3D perspective, but is a process by which it renders a perspective - which may be 3D or 2D in appearance.

As I said before, I advocate the switch over to a 3D engine so that it can take the processing burden away from the CPU and place it upon the GPU, which should allow Distant Worlds II to perform better and hopefully look nicer, be it with a 3D or 2D viewpoint. I am not saying that we need 1 bajillion megapixels for graphics, I think that it is possible to deliver reasonably good performance and aesthetics at once. The games with the most memorable graphics do so through good presentation, not technical superiority. (though it helps, if optimized properly)


As usual, a couple of video links. These are centered around platformers primarily, which have been at the forefront of using 3D graphics in a 2D space.

Fez - the 2D & 3D platformer

Megaman 2.5d trailer

Super Paper Mario - Wii Tour



(in reply to Lord_Astraios)
Post #: 91
RE: Future of the series - 1/31/2011 2:51:26 AM   
Simulation01


Posts: 540
Joined: 5/12/2010
Status: offline

quote:

ORIGINAL: WoodMan

 3D doesn't cause "Less features so more expansions needed in less times to put all the ideas in". 

Big companies use 3D.  Big companies also deliberately leave out parts of their game so they can charge you extra for them afterwards.



That's capitalism. It is like fire. It has the potential for great good and...well...not good. Without capitalism a great many games both good and bad would not be made at all. The unfortunate truth also is that it takes cold hard cash to make something good and worthwhile. Expansions like you mentioned...with content deliberately left out....is meant to generate more money for company's that have become so large that massive sums of profit is all they care about....errr...EA. There has to be a happy middle ground. Where is that.....only the consumer can decide that...and it is done by either continuing to buy their 'honeypot' games or by investing in quality found elsewhere.....like NZ and Codeforce.

_____________________________

"Tho' much is taken, much abides; and though we are not now that strength which in old days moved Earth and Heaven; that which we are, we are; One equal temper of heroic hearts, made weak by time and fate, but strong in will." -Tennyson

(in reply to WoodMan)
Post #: 92
RE: Future of the series - 1/31/2011 3:02:20 AM   
Kayoz


Posts: 1516
Joined: 12/20/2010
From: Timbuktu
Status: offline

quote:

ORIGINAL: Sabin Stargem

I advocate the switch over to a 3D engine so that it can take the processing burden away from the CPU and place it upon the GPU...


What makes you think graphics is the bottleneck? From what I've seen - based on my own and people's experimentation to try and make it run a bit smoother - the problem is in the game's data handling.

What you're saying is akin to a doctor saying that you should have your appendix out because you have a stomach ache - without bothering to examine you first.

(in reply to Sabin Stargem)
Post #: 93
RE: Future of the series - 1/31/2011 3:33:58 AM   
Abraxis

 

Posts: 96
Joined: 1/25/2011
Status: offline

quote:

ORIGINAL: Simulation01

The unfortunate truth also is that it takes cold hard cash to make something good and worthwhile.


Not necessarily, both Aurora and Dwarf Fortress are completely free, and both were coded by a single person in their spare time, just because they wanted to make a game. Both games make any other game look like a small puddle in terms of depth. Steep learning curves, sure, but both are extremely rewarding and worthwhile. That is of course, so long as you can get past the graphics, or lack there-of.

(in reply to Simulation01)
Post #: 94
RE: Future of the series - 1/31/2011 3:42:42 AM   
Sabin Stargem

 

Posts: 140
Joined: 12/29/2010
Status: offline
I never said that it was solely the graphics that was responsible for the game's performance. However, I do feel that it is one of the many aspects that could be improved for performance, and of course, appearance. I focus on that aspect because what it offers to me, as a player: fun, which is equal parts watching my empire change, and seeing things blow up. Having the game chug and looking ugly at the same time takes away from both, so I want the situation to be improved.

Of course, Distant Worlds I can't be changed to a completely new engine, but that isn't what I am asking for. What I do want is that Distant Worlds II to be built with performance and looks in mind, since there is no better time to determine what goes into a gaming engine than when it is on the drawing board. That engine would presumably be the platform upon which the initial game and the following expansions will be built upon, thus it ought to aim high.

(in reply to Kayoz)
Post #: 95
RE: Future of the series - 1/31/2011 3:44:27 AM   
Raap

 

Posts: 404
Joined: 1/12/2011
Status: offline

quote:

ORIGINAL: Sabin Stargem

I don't think that 2D vs 3D is to clear cut as "it is cheap/expensive", nor is it about features. I think it lies in execution, the ability of an developer to figure out what actually works and making it happen. "Ocarina of Time" is equal or superior when compared to "Link to the Past", and when you view their basic structure, they share many similarities. 3D isn't limited to a 3D perspective, but is a process by which it renders a perspective - which may be 3D or 2D in appearance.

As I said before, I advocate the switch over to a 3D engine so that it can take the processing burden away from the CPU and place it upon the GPU, which should allow Distant Worlds II to perform better and hopefully look nicer, be it with a 3D or 2D viewpoint. I am not saying that we need 1 bajillion megapixels for graphics, I think that it is possible to deliver reasonably good performance and aesthetics at once. The games with the most memorable graphics do so through good presentation, not technical superiority. (though it helps, if optimized properly)

Hardware acceleration would take care of any performance problems( letting the video card do the 2D graphics instead of the CPU). This would also allow for higher resolution sprites, which in turn makes better graphics. Everyone's happy, and they only spent a fraction of the work and resources they would have by going to 3D, and they wouldn't have to remake any features!

(in reply to Sabin Stargem)
Post #: 96
RE: Future of the series - 1/31/2011 4:06:39 AM   
Sabin Stargem

 

Posts: 140
Joined: 12/29/2010
Status: offline
As I understand it, 2D graphics are simpler to handle, but modern videocards are mostly dedicated to dealing with 3D operations. As such, you can say that performance with 2D has a much lower cap than that of 3D. Furthermore, it seems that AMD is beginning to integrate videocard 3D rendering into their CPUs with their Fusion initiative with ATI, which may be a factor to take into consideration in 3 or 4 years, when it has had time to mature.

(in reply to Raap)
Post #: 97
RE: Future of the series - 1/31/2011 4:29:20 AM   
Raap

 

Posts: 404
Joined: 1/12/2011
Status: offline
Modern videocards are mostly dedicated to dealing with shader operations, actually. The reason for that is because shaders really are the biggest problems in games these days; 2D graphics/sprites/textures, 3D geometry, etc., they're all pretty much covered to the extent they're used. Also keep in mind that 3D models use textures, which is effectively the same as a sprite when it comes to rendering. They usually use bigger textures than you need sprites, since you have to cover the entire model instead of just making one side, effectively making them more demanding assuming same quality sprite and texture.

At any rate, with hardware acceleration today's video cards would run this game many, many times faster than the CPU can. So graphical performance would effectively stop being a problem, period.

As for Fusion, Intel are already doing this on some of their CPUs. Problem is that you end up with a crappy GPU(graphical processing unit); there's a reason, after all, why we're using dedicated video cards instead of integrated ones. Take a look at most laptop computers for instance, the vast majority have integrated Intel graphics and they are so slow they can't even be compared to the cheapest dedicated video cards. Not to mention they're lacking a lot of features, like SM3.

(in reply to Sabin Stargem)
Post #: 98
RE: Future of the series - 1/31/2011 5:00:28 AM   
Kayoz


Posts: 1516
Joined: 12/20/2010
From: Timbuktu
Status: offline

quote:

ORIGINAL: Raap

... hardware acceleration today's video cards would run this game many, many times faster than the CPU can. So graphical performance would effectively stop being a problem, period.


You're making a huge assumption in that statement - that the graphics in DW is anything more than a tiny sliver of the processing load. What are you basing your assumption on?

Game optimization is not a simple cut-and-dry issue, and hardware acceleration is not the magic bullet.

An example of a book - and it's only scraping the surface.

http://www.gamedev.net/page/books/index.html/_/programming-1/game-programming-9/video-game-optimization-r1381


(in reply to Raap)
Post #: 99
RE: Future of the series - 1/31/2011 3:24:30 PM   
Raap

 

Posts: 404
Joined: 1/12/2011
Status: offline
I'm basing my 'assumption' on the fact that graphics require a lot of the CPU. There are several ways we can confirm this. For instance the scenario suggested by another user on this forum who had performance problems; make 100 military ships, and one hostile space port with 200 area weapons using the editor. Attack the space port, and watch as the performance comes to a halt as soon as the space port fires its AoE weapons. Now do it again, but this time quickly move your view to an empty space in the same system so that you can't actually see the battle; this time the performance is completely smooth.

What does this tell us? Well, effectively it tells us that having to render all those graphical effects is grinding the CPU to a halt. CPUs are not made for rendering graphics( obviously), and when forced to do so they do it very slowly. Another example of this is to simply open a non-hardware-accelerated rendering or picture program. Load a big picture into Photoshop and watch how the CPU struggles with it if you try to move it around and whatnot. This is effectively what's happening in the game, just with smaller pictures. Now activate hardware acceleration and see how it becomes completely smooth.

Now, there are of course other factors to the general performance of the game; if you're running a really slow CPU which is bottlenecking you then you will experience low fps even with hardware acceleration. But that's why I did say that graphical performance would stop being a problem.

< Message edited by Raap -- 1/31/2011 3:25:08 PM >

(in reply to Kayoz)
Post #: 100
RE: Future of the series - 1/31/2011 5:45:06 PM   
snelg

 

Posts: 1
Joined: 1/31/2011
Status: offline
Something I would love to see added would be multiplayer. Especially if it would also be possible to have several players on one empire (it worked great on Europa universalis III etc.).

(in reply to Raap)
Post #: 101
RE: Future of the series - 1/31/2011 6:25:33 PM   
Data


Posts: 3909
Joined: 1/3/2011
Status: offline
aha, a new recruit.
welcome to the forums, snelg

_____________________________

...Igniting stellar cores....Recharging reactors...Recalibrating hyperdrives....

(in reply to snelg)
Post #: 102
RE: Future of the series - 1/31/2011 9:05:40 PM   
Abraxis

 

Posts: 96
Joined: 1/25/2011
Status: offline
I'm usually not a fan of multiplayer in 4x games, but this one would probably be alright. No waiting for everyone else's turn, but with the automation, you could still get up, have a smoke, grab a coffee, or go to the bathroom without holding anything up.

(in reply to snelg)
Post #: 103
RE: Future of the series - 1/31/2011 10:33:01 PM   
Igard


Posts: 2282
Joined: 3/29/2010
From: Scotland
Status: offline

quote:

ORIGINAL: Abraxis
go to the bathroom without holding anything up.


I beg your pardon?

_____________________________


(in reply to Abraxis)
Post #: 104
RE: Future of the series - 1/31/2011 10:56:42 PM   
Data


Posts: 3909
Joined: 1/3/2011
Status: offline

quote:

ORIGINAL: Igard


quote:

ORIGINAL: Abraxis
go to the bathroom without holding anything up.


I beg your pardon?


without slowing the other players turns

_____________________________

...Igniting stellar cores....Recharging reactors...Recalibrating hyperdrives....

(in reply to Igard)
Post #: 105
RE: Future of the series - 1/31/2011 11:22:22 PM   
WoodMan


Posts: 1345
Joined: 6/2/2010
From: Ol' Blighty
Status: offline
quote:

I'm usually not a fan of multiplayer in 4x games, but this one would probably be alright. No waiting for everyone else's turn, but with the automation, you could still get up, have a smoke, grab a coffee, or go to the bathroom without holding anything up.


Lol, but knowing my luck right at the moment where I'm about to go to the bathroom, grab a coffee and have a smoke Igard would declare war on me or something

Then it would just be a matter of time, how long until I have to accept subjugation so I can get up

(But don't worry, us Narn have been subjugated before, we can handle it)

_____________________________

"My body may be confined to this chair, but my mind is free to explore the universe" - Stephen Hawking

(in reply to Data)
Post #: 106
RE: Future of the series - 2/1/2011 12:26:44 AM   
Simulation01


Posts: 540
Joined: 5/12/2010
Status: offline

quote:

ORIGINAL: WoodMan

quote:

I'm usually not a fan of multiplayer in 4x games, but this one would probably be alright. No waiting for everyone else's turn, but with the automation, you could still get up, have a smoke, grab a coffee, or go to the bathroom without holding anything up.


Lol, but knowing my luck right at the moment where I'm about to go to the bathroom, grab a coffee and have a smoke Igard would declare war on me or something

Then it would just be a matter of time, how long until I have to accept subjugation so I can get up

(But don't worry, us Narn have been subjugated before, we can handle it)



Yes, you were even beaten before the Emperor while Mollari watched. Give us a scream G'kar!

_____________________________

"Tho' much is taken, much abides; and though we are not now that strength which in old days moved Earth and Heaven; that which we are, we are; One equal temper of heroic hearts, made weak by time and fate, but strong in will." -Tennyson

(in reply to WoodMan)
Post #: 107
RE: Future of the series - 2/1/2011 2:10:26 AM   
Kayoz


Posts: 1516
Joined: 12/20/2010
From: Timbuktu
Status: offline
quote:

ORIGINAL: Raap

I'm basing my 'assumption' on the fact that graphics require a lot of the CPU. There are several ways we can confirm this. For instance the scenario suggested by another user on this forum who had performance problems; make 100 military ships, and one hostile space port with 200 area weapons using the editor. Attack the space port, and watch as the performance comes to a halt as soon as the space port fires its AoE weapons. Now do it again, but this time quickly move your view to an empty space in the same system so that you can't actually see the battle; this time the performance is completely smooth.



Comparing DW performance to Photoshop? Are you serious? That's your experiment? Your experiment proves nothing - those CPU killing graphical effects aren't rendered - they're sprites.

It seems pretty obvious that you've never written a line of code in your life. Discussing this is like trying to explain partial differential calculus to a 10 year old who's trying to memorize his multiplication table.

*sigh* Buy the book and read it. You're talking ****e.

(in reply to Raap)
Post #: 108
RE: Future of the series - 2/1/2011 2:37:55 AM   
Raap

 

Posts: 404
Joined: 1/12/2011
Status: offline
I was comparing DW's *graphical* performance to that of Photoshop's performance without hardware acceleration, which is a big difference from just 'performance' since that includes more factors than just the graphics. At any rate, while personal attacks are always fun, I'd rather you explain it to me yourself actually. You obviously know this stuff, so how is it, when the graphics are 'only a tiny sliver of the processing load', that the game runs smoothly when not looking at the combat, but struggles mightily when looking at it?

(in reply to Kayoz)
Post #: 109
RE: Future of the series - 2/2/2011 5:56:08 AM   
Kayoz


Posts: 1516
Joined: 12/20/2010
From: Timbuktu
Status: offline
Photoshop deals with a lot of layers and transparency, so when you load a picture into Photoshop, what's displayed has to be computed first - each layer and transparency adds up to an effect on the final image. Without hardware acceleration, it's all being done by the CPU. With hardware acceleration, all the image layers are just being sent to the GPU, which sorts it all out. That's the reason you see a dramatic shift in performance when you turn on hardware acceleration in PS.

DW's dealing with the image should go through a similar process - but it's far more simplified than Photoshop - there's a pre-defined number of objects and layers, so developers can make shortcuts - and where hardware acceleration is concerned, it's pretty trivial to put it into C#. The AoE weapon firing shouldn't have much if any impact on blitting, with or without hardware acceleration. What it's more indicative of, is an inefficiency in looking up what objects are close enough to the AoE weapon - this might be a code bug, or something as straightforward as the devs using floating point maths to determine the distance. Floating point is atrociously slow compared to integer math. Pick up a copy of Jagged Alliance 2: Wildfire - that's the version with the source code. You can see all the areas Chris Camfield put in integer math tricks to approximate floating point - it's not exactly accurate, but it's "close enough" for gaming purposes and increases processes like raycasting dramatically.

Also, DW seems to be riddled with hideous inefficiencies - some like the expansion planner, are quite obvious (if you send a colony ship with the expansion planner, why does it have to regenerate the entire list? All that's required is to drop the "colony ship sent" icon.). There's other areas which aren't so obvious, but most of them have been identified here and there in the forums. What the significance of these are, is the tendency of DW to have features added, without enough time and thought given to efficiency. It's a tendency that's pretty much industry-wide. Why bother to code more efficiently? Just scribble in higher specs!

Look at CPU cores - we're looking at 16-code CPUs, and Zarquon knows how many GPUs have. But how are universities teaching the students to code? It's still pretty much batch processing. But modern computers, with multiple cores requires chunking your code into multiple worker threads. This isn't a technique that's taught in computer dev courses these days. DW has a lot of imagination and innovation in it, but Code Force has to go through the learning process of gaming development. It's not criticism - it's something that everyone has to go through when they go into game development.

(in reply to Raap)
Post #: 110
RE: Future of the series - 2/2/2011 2:58:25 PM   
Raap

 

Posts: 404
Joined: 1/12/2011
Status: offline
Thanks for the writeup, some interesting stuff there.

Still though, it's not all just layers and transparency which requires calculations, is it? I mean, let's take a pretty straight-forward and simple example. Here is a 1920*1200 resolution, or 2.3m pixels, wallpaper: http://www.ewallpapers.eu/view_wallpaper/san-francisco-bay-1920-1200-2499.html

If I open the task manager to watch CPU usage while scrolling up and down on that picture, I can get my usage as high as 35%( 20% for Opera, 15% for the CSR process). This is a qx9650@3.8ghz and it's idling at 0%. Now, that usage is actually higher than it gets in Distant Worlds, which is as you mentioned mostly single-threaded. Of course, Distant Worlds uses rather low res images; 250*250, or 62k pixels, I believe, for most ships. But still, do a hundred of those ships on the screen at once and it gets difficult. Now do 200 AoE weapon effects at once( which are also 62k pixels, + heavy transparency), and is it really a wonder we have performance problems, potentially bad coding aside?

It's these problems that I think hardware acceleration would practically eliminate, seeing how much faster the GPU could do this stuff than the CPU. This would again of course free up the CPU to put even more power into AI and other stuff, quite likely lessening the need for multi-threading, which I hear is very demanding to program( or as you said, many devs just don't know how).

Or am I going about this completely the wrong way, seeing as I've never programmed graphics?

< Message edited by Raap -- 2/2/2011 3:09:44 PM >

(in reply to Kayoz)
Post #: 111
RE: Future of the series - 2/3/2011 8:42:29 AM   
HectorOfTroy


Posts: 312
Joined: 1/9/2011
Status: offline
What I think it would be cool is to introduce a bit of RPG into DWs.

For example, since you can automate everything maybe you could have side quests that you would complete with one explorer ship. You could upgrade this ship just like
you would with fantasy RPG characters (more kills, more money) or you could use techs that your Empire has already researched.

Now this RPG element could consist of your explorer ship travelling into another galaxy and trying to solve a mystery of an ancient race, etc. And then actions in this RPG part of the game would influence the RTS part of the game (eg. your standing with other races, new technologies you discovered, etc)

But the problem would be how to implement this RPG element? Maybe enter a new map while the main map would be paused.

I know it might seem silly but I reckon it would be cool :)




(in reply to Raap)
Post #: 112
RE: Future of the series - 2/3/2011 8:49:29 AM   
Data


Posts: 3909
Joined: 1/3/2011
Status: offline
Hector, I had the same desire at some point and even if there is an element of difficulty in introducing rpg in DW I think it could be done. But the general impression on the forum at that time is that this would prolongue an already long game; not everyone enjoys it also.
I agreed with that but now that I see you also wanting this (it's not at all silly, I would love it also) I think we should propose it as an option to be checked: whoever wants the rpg stuff can do it and whoever does not want it can check that option and just get the results without the rpg part.

In case you don't know it already, check the Space Ranger series (especially SR2) - it's not 4x but it implements lots of genres in one nice package and rpg fits very well in that game.

_____________________________

...Igniting stellar cores....Recharging reactors...Recalibrating hyperdrives....

(in reply to HectorOfTroy)
Post #: 113
RE: Future of the series - 2/3/2011 3:30:18 PM   
Shark7


Posts: 7937
Joined: 7/24/2007
From: The Big Nowhere
Status: offline

quote:

ORIGINAL: HectorOfTroy

What I think it would be cool is to introduce a bit of RPG into DWs.

For example, since you can automate everything maybe you could have side quests that you would complete with one explorer ship. You could upgrade this ship just like
you would with fantasy RPG characters (more kills, more money) or you could use techs that your Empire has already researched.

Now this RPG element could consist of your explorer ship travelling into another galaxy and trying to solve a mystery of an ancient race, etc. And then actions in this RPG part of the game would influence the RTS part of the game (eg. your standing with other races, new technologies you discovered, etc)

But the problem would be how to implement this RPG element? Maybe enter a new map while the main map would be paused.

I know it might seem silly but I reckon it would be cool :)







I really like the way Imperium Galactica II handled side stories. They were of little relevance to the main story, but definitely an interesting distraction.

The Solarian pirate war for example...depending on your decisions you could have a never ending pirate infestation, or end up controlling the pirates.

If DW could allow for such things, and have it be player written (IE the 'Triggered Event' the modders want) there would be limitless possibilities.

_____________________________

Distant Worlds Fan

'When in doubt...attack!'

(in reply to HectorOfTroy)
Post #: 114
RE: Future of the series - 2/3/2011 3:57:30 PM   
Data


Posts: 3909
Joined: 1/3/2011
Status: offline
oooo yeesss, that would be AWESOME
++++1 to Shark's idea

_____________________________

...Igniting stellar cores....Recharging reactors...Recalibrating hyperdrives....

(in reply to Shark7)
Post #: 115
RE: Future of the series - 2/3/2011 4:03:00 PM   
J HG T


Posts: 1093
Joined: 5/14/2010
From: Kiadia Prime
Status: offline
Aye! That, leaders and commanders (probably coming in expansion or big patch)  + enchanced diplomacy (new options discussed all around here) would be all I dare to ask currently. After these, anything else would be icing on the cake.

_____________________________

Nothing is impossible, not if you can imagine it!
"And they hurled themselves into the void of space with no fear."

(in reply to Data)
Post #: 116
RE: Future of the series - 2/4/2011 7:38:39 AM   
HectorOfTroy


Posts: 312
Joined: 1/9/2011
Status: offline

quote:

ORIGINAL: J HG T

Aye! That, leaders and commanders (probably coming in expansion or big patch)  + enchanced diplomacy (new options discussed all around here) would be all I dare to ask currently. After these, anything else would be icing on the cake.


Have you guys played Conquest: Frontier wars?
They implemented Admirals pretty well there. Admiral would bring bonuses to the fleet, special abilities and you could order all ships of the same kind in the fleet to perform their special abilities simultaneously (eg fire gravioton beams, etc).
Admirals made it really easy commanding fleets in that game (I loved that game, still got it :)).

Also, would love the ability to create fleet formations (wedge, scattered, tight, etc) so the ships in the fleet won't just fly around aimlessly.

(in reply to J HG T)
Post #: 117
RE: Future of the series - 2/4/2011 8:26:54 AM   
J HG T


Posts: 1093
Joined: 5/14/2010
From: Kiadia Prime
Status: offline
Aye, I have Conquest: Frontier wars. Haven't played it for years but I liked it back in the days when I still played it.  

_____________________________

Nothing is impossible, not if you can imagine it!
"And they hurled themselves into the void of space with no fear."

(in reply to HectorOfTroy)
Post #: 118
RE: Future of the series - 2/4/2011 9:10:52 AM   
Gareth_Bryne


Posts: 232
Joined: 5/16/2010
Status: offline
quote:

Diplomatic ships!!!

USES:


* Any spy on a foreign mission should generally take the nearest freighter/D-ship to a planet, and from there route using real ships and waypoints to intended target. James Bond takes American Airlines sometimes, not only private super-jet infiltrators.

* A diplomatic ship in a system with shared planets should move around these planets, resulting in a lessening of relations penalty for sharing a system. Ditto for military ships "just visiting".

* A diplomatic ship can conclude mission:local treaties for a small research\trade\happiness bonus to the participating sides(skewed to the advantage of the owner of the D-ship)

* A D-ship can do passive espionage and "my sweet empire" promotion missions, leading to the message "We are in awe of -empire's- colonies reputation", & increasing chances of a peaceful switch to your empire.

* Other nice\nasty things to be done more interestingly than with the generic, raceless, invisible-on-map-and-in-life-until-captured spy.


A restatement of my idea from the wishlist thread. Distant Worlds, as I see it, is very much about ships, so you can mess with your opponents with an armada, or with one, insignificant speck. Combining spying with diplomacy is realistic, can be tied with the event system and is usable for roleplaying.

(in reply to J HG T)
Post #: 119
RE: Future of the series - 2/8/2011 9:44:04 AM   
Kayoz


Posts: 1516
Joined: 12/20/2010
From: Timbuktu
Status: offline
quote:

ORIGINAL: Raap

Thanks for the writeup, some interesting stuff there.

Still though, it's not all just layers and transparency which requires calculations, is it? I mean, let's take a pretty straight-forward and simple example. Here is a 1920*1200 resolution, or 2.3m pixels, wallpaper: http://www.ewallpapers.eu/view_wallpaper/san-francisco-bay-1920-1200-2499.html

If I open the task manager to watch CPU usage while scrolling up and down on that picture, I can get my usage as high as 35%( 20% for Opera, 15% for the CSR process). This is a qx9650@3.8ghz and it's idling at 0%. Now, that usage is actually higher than it gets in Distant Worlds, which is as you mentioned mostly single-threaded. Of course, Distant Worlds uses rather low res images; 250*250, or 62k pixels, I believe, for most ships. But still, do a hundred of those ships on the screen at once and it gets difficult. Now do 200 AoE weapon effects at once( which are also 62k pixels, + heavy transparency), and is it really a wonder we have performance problems, potentially bad coding aside?

It's these problems that I think hardware acceleration would practically eliminate, seeing how much faster the GPU could do this stuff than the CPU. This would again of course free up the CPU to put even more power into AI and other stuff, quite likely lessening the need for multi-threading, which I hear is very demanding to program( or as you said, many devs just don't know how).

Or am I going about this completely the wrong way, seeing as I've never programmed graphics?



You're looking at two completely different software packages, and expecting similar behaviour. You might as well compare DW to Big Blue - and say that Big Blue would run remarkably faster if it used hardware acceleration. However, chess calculations aren't something that a GPU can handle (or not without some pretty interesting tinkering) - but that's essentially what you're assuming.

You pointed to an image you loaded to compare results - on the assumption that a single-layer image would be the simplest and require the least handling. But did you check the memory usage? My Photoshop CS4 goes from 90meg memory usage to about 190meg, on loading a 2meg picture. Clearly there's a heck of a lot more going on in Photoshop than loading the bitmap into memory. What is it doing, how is it behaving? You'd need a profiler and the source code to say for certain. Similarly, what's taking up the most CPU time in DW? You'd need to go through it with a profiler to see what's taking up the most CPU time - otherwise, you're just guessing.

As an aside, the generalization you're making is nothing new. Aristotle categorized bats as a type of crow. It's black, it flies, it has wings - so a bat is a type of crow, right? His observations stood for many years, till people finally took a closer look and realized that bats are mammals and not avian.

What happens in DW when you're watching a battle?

1. Attempt to close with target.
Since there's no pathfinding, nothing to go around, it's fairly simple here.
2. Fire any (if any) weapons in range).
3. Display graphics for weapons fired.
#2 and #3 might take a while, depending on how they handle the actions. Does DW raytrace from origin to target and then calculate the positions to successively display the weapon firing (eg: missile, beam or whatever)? Does it individually rotate and scale each image to orient it on the path? If this is done inefficiently, and you have 100+ ships shooting, it could be an enormous amount of work.
4. Locate any other potential targets in range and fire remaining weapons.
In addition to the steps above, now you're looking at the coordinates of each and every object in the system - from fighters to stations, ships, you name it. How does it choose, how does it prioritize? I suspect that the coders didn't test their combat code against hundreds of ships going up against each other - so the code here is very unlikely to be optimized for the situation you describe.
5. Assign damage to targets, display shield glow, update ship graphics for damage taken.
Again, this step can be time consuming. DW tries to place the shield glow for the direction of the attack - so with hundreds of attacks going off - you might be dealing with horrifically inefficient calculations, which are in most cases good enough - but your testing parameters display as being inefficient.

Now, there's the AoE weapons, which go through the above steps, but since they may effect any/all ships in range, what then does DW do? Does it bubble sort through the ships and assign damage till it hits the range limit? It might be fine with 10 ships - but 100, and bubble sort is horribly slow - but it might have been good enough and quick enough to code for the purposes they had in mind.

So you have a lot of potential CPU hogs right there - taking place hundreds of times a second. Will utilizing the GPU help this? Nope, it'll have nothing more than a tiny effect - the vast majority of the work is happening before the image is even being blitted to the video.

And what of the video performance? DW doesn't have to do any graphics work if you aren't viewing the combat, right? So if the whole combat is taking place around the sun, and you put the camera close up on some asteroid on the edge of the system - then ostensibly the performance should shoot up, right? But does it? And what is the performance if you have hundreds of ships peacefully floating around, as opposed to shooting each other? Given the engine sprites, the rotation animations and all - it shouldn't be too much different to have a load of ships flying around, as opposed to half the number shooting each other.

Do you see how the graphics performance is only the tip of the iceberg? Nothing I've seen has identified GPU usage as being a bottleneck in DW performance. Would it benefit from it, assuming it isn't using any hardware acceleration? Probably - but how much might it affect the situation you described? 1%? Perhaps 2? Once again, you're making a large number of assumptions which you don't have nearly enough data. It's like taking a look at someone who has a rash, and saying it's such and such. Is it an insect bite? An allergic reaction? A scrape? Or is it skin cancer? Bubonic plague? You have no data to support your conclusions - all you have to go on, is the "I see inflamed skin" case. Perhaps you can see now, how your acceleration argument is far too premature.

(in reply to Raap)
Post #: 120
Page:   <<   < prev  1 2 3 [4] 5   next >   >>
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> RE: Future of the series Page: <<   < prev  1 2 3 [4] 5   next >   >>
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.014