Author Topic: Facing a new Era.  (Read 12887 times)

Talad

  • Administrator
  • Hydlaa Notable
  • *
  • Posts: 798
    • View Profile
Facing a new Era.
« on: January 08, 2009, 05:02:20 pm »
Even if in 1992 PlaneShift was one of the first graphical MUDs, because there was a real lack of visuals in all MUDs at that time, in reality we never aimed for extreme graphical quality, because we knew would have been impossible for us to keep the pace of commercial game development companies. Commercial products have a pretty different operational model, which is working tightly with hardware makers, getting new drivers and specifications before the hardware reaches the gamers, and plan their engines on that. So when the new hardware comes out their product is ready for it. Lately they have gone even beyond that threshold by making games which actually run slow on latest hardware and become fully playable (with all details at maximum) only in 1 year or more, so the game gains more longevity, well, at least this is their view ... to me it's quite frustrating to see your just-bought-shining-titanium-made-ice-cooled-hand-sprayed-long-awaited-blood-of-your-blood computer running slow with a new game. :D

Anyway for many reasons we have always tried to keep very high standards in terms of graphical concepts, style and design, but to avoid stretching the hardware requirements too much. It's also important to mention that even apart from the connection with hardware makers, we surely lack resources compared to commercial companies, and so our engines will never match their performance (I know now the engine team will be displeased... :) ) . Even with the best programmers PlaneShift remain a free project made in people's spare time, so the final performance is a bit lower (I said "a bit" so engine team can be less displeased :) )

I have to say that the overall experience of the casual gamer has always been good and our graphical quality has been mentioned to be nice and appealing. Not being up to date with commercial standards never represented a real issue and our strategy is to upgrade the game continuously. To move forward with the progress of technology, we keep regularly enhancing our 3d models, our engine and our textures. If you check the newer PS models, they have larger textures and more polygons, compared to the old ones. Also the levels have followed the same path, increasing texture resolution and size. Look at the winch level today, it's pretty big and for sure we couldn't afford it few years ago.

[I know you were waiting for a sentence starting with a "But..." ]

But today we are facing a big issue ... recent games are drastically different from us for at least one aspect: shaders. With this term we refer generically to the advanced graphical effects that you see in modern games, where you have realistic lights, you see shining metal shields, you see rivets on benches which seems to come out for real, while those are just textures. PlaneShift has none of those today, and it's starting to look too old. Yes, it looks a bit old (I said "a bit" ! ...) if you compare it even to commercial games made few years ago, like Oblivion. Oblivion for example was (and is) making heavy usage of those techniques to render grass, torches, and in general everything that gets displayed on screen. In the following screenshot you may notice the shining effect on the shield and the light reflections on the armor, plus the saturated light effect on the sword.



[THIS IS NOT A PLANESHIFT SCREENSHOT !!!! READ ABOVE]

We can still say we are better in many other things (or we will be), but the point remains.

In the past years, I never cared too much about those kinds of effects (even if I was always amazed by those) saying that PS didn't need such features to be enjoyable, and to a certain extent I still think that. We should aim for playability, roleplay, artwork, storyline, deepness of background, making the world look alive and real, etc... But in the last two years the difference with commercial games has increased a lot due to shaders and I think ...

(drum roll)

we have to face the new era now, or accept that new players will not be immediately interested in PS, and we will lose lot of potential gamers.

This is not an idea that just arrived today--we have been working on this concept for at least 1 year or more. Many tests were made by our engine team on shaders, and our Crystal Space engine has been using those in many test levels. But it's not so easy to move from a test or demo to a feature added in a real game, due to performance, platform compatibility and mainly the work needed to implement those all over the game.

Actually already in 2005 (!) we made few tests of "bump mapping". You can see how the question mark and the X seems raised or engraved on the two cubes. The geometry is actually flat, it's just the shader doing the work with the light reflecting on the cube.



After working on just some tests with simple geometry, we started to do real tests on our characters and we took the Kran model and his plate mail. In the following video you can see the model which is in standing position, still, while the light is moving to the left then to to right, then up, and then down. If the light was still and the char was moving you would have a similar effect.

[Click the image below to see the movie.]


This was still outside the game, but anyway it was a major step forward in proving that we were able to use such lighting effects with our models.

We also made a number of tests with our levels--for example this one in the podium level (which is the level you see in char creation). In this one you can see two effects:
- light reflecting on the golden plaque on the wall, giving to it a shiny look
- the drawings on the plaque being raised from the wall thanks to "bump mapping", a technique that cheats your eye with proper shading to have certain areas look raised. The geometry there is flat.

[Again, click the image to see the movie]


We recently have done more testing like this on our larger levels to see how this stuff was affecting performance (don't ask for now! But it will improve ;) ). In the next screenshots you see a glowing effect applied to the stones in Gugrontid, and some bump (stones raised effect) applied to a table in gugrontid tavern.





[I know you are waiting for a paragraph with a "So...." and some conclusions]

So now you are wondering if we are implementing those for real or not. Well, being a dev blog (so pre-release information), I can say that we are doing our best to put those in place as soon as possible, but starting step by step, like we always do.

You might ask: "Why not enable the feature everywhere if your engine supports it??"

Eh, it's not that easy unfortunately. To create such effects you have to create one additional texture for the "bump" and one for the "reflection" for each texture we have in game. It takes time and resources, also those have to be tested, and the current implementation has to be improved to reach acceptable performances.

You can now say: "Damn, means it will take years??"

Well, we will try to have it implemented for small parts of the game first, maybe one small level, or one set of weapons, or maybe just the plate armors (my preferred choice atm).

Ok, so now you know the background the why and the plans. You also know that we are willing to look straight into the eyes of this new era and say: "You are a pretty challenging new era, but we still are Planeshift team... Draw your sword!"

The rest is up to the creative minds of PlaneShift developers and inspiration of our art department.
« Last Edit: January 09, 2009, 05:13:27 am by Talad »

zanzibar

  • Forum Legend
  • *
  • Posts: 6523
    • View Profile
Re: Facing a new Era.
« Reply #1 on: January 08, 2009, 07:19:05 pm »
Talad, that's a truly spectacular article.  Thanks so much for writing it!
Quote from: Raa
Immaturity is FTW.

Parallo

  • Forum Addict
  • *
  • Posts: 2035
  • Ꞇíꞃ Luıᵹ̇ꝺeaċ
    • View Profile
Re: Facing a new Era.
« Reply #2 on: January 08, 2009, 07:29:44 pm »
Wow, Kran look good for once :P

But seriosuly, nice one.
I suggest the statue of Laanx gets turned into a statue of Parallo <3. An NPC could never replace the huge hole he left in my heart when he died  :'(

Raekh

  • Guest
Re: Facing a new Era.
« Reply #3 on: January 08, 2009, 07:33:48 pm »
Yay, thanks for keeping us updated!
Looks rather promising!

Tuxide

  • Hydlaa Notable
  • *
  • Posts: 715
    • View Profile
    • Banker
Re: Facing a new Era.
« Reply #4 on: January 08, 2009, 07:49:24 pm »
There has been a parallax and specular podium available on SVN for quite a while now.  This is not the same podium shown in the video though.  One thing you cannot do is if you're using it you cannot just turn the effects off if you don't want them.

Tuathanach

  • Associate Developer
  • Hydlaa Citizen
  • *
  • Posts: 206
  • Arch Chancellor of the Knowledge Seekers
    • View Profile
    • Knowledge seekers
Re: Facing a new Era.
« Reply #5 on: January 08, 2009, 08:04:42 pm »
 \\o//
Wow
Thanks Talad for showing us this and taking time to explain things. I love this dev team blog, it is exciting to see what is planned.
Thanks to Dev team :thumbup:
Shindroks Crater Project Wiki
Interested contact Myself or Zunna.
We are contactable ingame, by PM or on Discord

Illysia

  • Forum Addict
  • *
  • Posts: 2774
    • View Profile
Re: Facing a new Era.
« Reply #6 on: January 09, 2009, 12:12:57 am »
 :D Yay! I actually thought the reason it wasn't in game is because it was impossible for the engine to do it. I hope to see glowys in game.  :thumbup:

Dajoji

  • Veteran
  • *
  • Posts: 1058
    • View Profile
Re: Facing a new Era.
« Reply #7 on: January 09, 2009, 12:30:22 am »
:woot: Shaders! Weeeeee!!! O--)


Sen

  • Hydlaa Notable
  • *
  • Posts: 746
    • View Profile
Re: Facing a new Era.
« Reply #8 on: January 09, 2009, 07:09:47 am »
Very nice! And at this point also a big thank you for this forum part \\o//

Is this a purely client side development?
And if yes, is there any possibility to activate it oneself to test, e.g. downloading form another svn source and compile the client?


Sen
.....also a saddle that won't pinch the tail. One day!

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: Facing a new Era.
« Reply #9 on: January 09, 2009, 08:31:43 am »
After the next update you could, the current version of PlaneShift has a much older version of the 3D engine so the latest shaders might not work with it correctly. Also, you'd still have to get the actual shaders and bump-maps to see the effects.
We're not evil. We're simply amazing.

Anumesa

  • Guest
Re: Facing a new Era.
« Reply #10 on: January 09, 2009, 10:31:41 am »
This looks great!!!!! :D

geloren

  • Traveller
  • *
  • Posts: 41
    • View Profile
Re: Facing a new Era.
« Reply #11 on: January 09, 2009, 11:19:15 am »
Geloren nods in agreement

It's a fact that performance is really important. If you keep in mind that every potential player is somehow a tester, you can't exclude players based on hardware limitations. (of course, there are always limitations, but keep them reasonable)
Otherwise... if you can't offer some nice graphics, certainly during the years of development (and also playing for the players) you will lose existing players and won't attract new ones.

We see the same thing happen in the world of OS'es. Look at Windows Vista with the aero interface. Although Vista sucks major, people seem to like the glassy interface, transparency, widgets, etc..
Same thing with Mac OS... eyecandy
Linux... well, there are always alternative Desktop environment... but let's take a look at my favourite: KDE
KDE4 was built to create a newer, better and more futuristic foundation. Also, and this is my point, it looks waaaay more polished, nicer and smoother.

I do have to mention that in all three examples above... performance is lacking compared to their older material.

Where is the balance between eyecandy and making something attractive and keeping it lightweighted to have a more wider public...
In my opnion, just try... with just a little bit. You will get complaints if performance drops too much and you'll be praised by the ones who find it fantastic. Compare these two groups in number and it should be clear.

just my point of view on this great news. I'm really exited about it and can't wait to see it implemented (even although i am a performance freak)

Greetz, and see you guys in Yliakum (wich is currently still shader-less)

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
Re: Facing a new Era.
« Reply #12 on: January 09, 2009, 03:30:17 pm »
I do have to mention that in all three examples above... performance is lacking compared to their older material.

The examples above are being run with no optimisations, inside a debugger. This heavily reduces performance.
When released to players it will be much faster. In addition to that, we will provide options and fallbacks to allow people with older hardware to continue playing at a good speed.

http://www.youtube.com/watch?v=-F_4InyU_wc
http://www.youtube.com/watch?v=26xScqxVwJQ

These are some early tests I did of dermf plate armour.
« Last Edit: January 09, 2009, 03:34:02 pm by Xordan »

Sen

  • Hydlaa Notable
  • *
  • Posts: 746
    • View Profile
Re: Facing a new Era.
« Reply #13 on: January 09, 2009, 03:42:33 pm »
A fallback method will certainly be also welcome since we often see performance problems  :)

Sen
.....also a saddle that won't pinch the tail. One day!

Eletiy

  • Traveller
  • *
  • Posts: 37
    • View Profile
Re: Facing a new Era.
« Reply #14 on: January 10, 2009, 05:09:53 am »
wow that' looks really good! Finally we'll get lamps which really shine from the inside!
And maybe we'll soon get better water as well?

I just wonder one thing, are you going to update the PlaneShift 3Ds Max Exporter to support those new maps?

Anyway thanks for this forum section, I'll watch it closely. :)