Game Rendering Question


Everything about Illarion that fits nowhere else. / Alles über Illarion was inhaltlich in kein anderes Board passt.

Moderators: Gamemasters, Community Managers

Posts: 1

Joined: Wed Jul 18, 2012 7:55 pm

Post Wed Jul 18, 2012 8:07 pm

Game Rendering Question

So, I just happened to stumble upon this thread:
http://lwjgl.org/forum/index.php/topic,3118.0/
which talks about the performance issues the dev of this game
had with rendering his tiled map. I'm also having difficulties
rendering a tiled map and was just wondering how the dev
managed to overcome the slow rendering?

(I'm presuming the issue was solved, hence the game
being here and playing really well!) :D

I hope this doesn't bring back nightmares to the dev... :?

Cheers,
xephox
User avatar

Developer

Posts: 6989

Joined: Fri Oct 31, 2003 9:51 am

Location: 50°32'33.90"N 12°18'28.66"E

Post Wed Jul 18, 2012 8:31 pm

Re: Game Rendering Question

That was a really long time ago.

The problem was basically not the way how the map was rendered, rather how the internal data access was working. The Illarion Client works with a large amount of worker-threads that lead to synchronization problems when accessing the display data.
In the current development version a vertex-array renderer is used along with a vertex buffer object based render-to-texture. Also the client detects the areas on the target texture that need updating and renders only those parts. This resulted in the largest performance boost. Please be aware that we are not using the TileD map that is avaiable using this generic map editor. We are using a tile based streamed map.

In case you got further questions, I am avaiable in the IRC chat that is accessible on the homepage.

Nitram
User avatar

Gamemaster

Posts: 10211

Joined: Wed Nov 10, 2004 9:14 pm

Location: Sir Postalot

Illarion e.V.: Active Member

Post Mon Jul 30, 2012 9:00 am

Re: Game Rendering Question

One should note that you can review the source code of the client here:

https://github.com/Illarion-eV/Illarion-Java

You can review the resulting client here:

http://illarion.org/~nitram/downloads/i ... nload.jnlp

Gamemaster

Posts: 1547

Joined: Thu Feb 04, 2010 7:34 pm

Location: I see your post and I raise you 5.

Post Tue Jul 31, 2012 4:03 am

Re: Game Rendering Question

<entry key="DumbMethods" value="true" />


Classic.

Return to General / Allgemeines (Player Forum)

Who is online

Users browsing this forum: No registered users and 2 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.