[Help Wanted] - Realms of Forlorn Hope

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
devsh
Competition winner
Posts: 2057
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK
Contact:

Post by devsh »

tex splatting is not hard, you only need to use the mix function

gl_FragColor = mix(texture2D(tex1,gl_TexCoord[0]),texture2D(tex2,gl_TexCoord[0]),texture2D(mixmap,gl_TexCoord[0]).a)
Lonesome Ducky
Competition winner
Posts: 1123
Joined: Sun Jun 10, 2007 11:14 pm

Post by Lonesome Ducky »

Definitely not being picky, that looks great devsh :D
Insomniacp
Posts: 288
Joined: Wed Apr 16, 2008 1:45 am
Contact:

Post by Insomniacp »

I think it would be better if it was done without shaders though, saves on gpu usage. Just making a texture file would probably be more efficient considering there are 30 something maps displayed at a time.
Lonesome Ducky
Competition winner
Posts: 1123
Joined: Sun Jun 10, 2007 11:14 pm

Post by Lonesome Ducky »

Well you could use the shader to create the texture in the terrain editor and save it as one texture when you save the terrain
devsh
Competition winner
Posts: 2057
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK
Contact:

Post by devsh »

yeah good thinking just run the terrain with the shader through once and save the ouput (well texture blending is not going to change dynamically)
Insomniacp
Posts: 288
Joined: Wed Apr 16, 2008 1:45 am
Contact:

Post by Insomniacp »

that was my second option :P How many textures can you mix using the shader? I have been working on a way to allow for an infinite amount of them to be mixed, don't know how well it will update in real time but it shouldn't be too bad if i keep the image in active memory and just edit it in there then reapply it to the map. Would use a lot of memory though i think keeping all the maps images open, could make it just keep the primary ones around the camera open and open the others if they are edited and close them after 5 minutes of no editting. Any thoughts or comments?
lostclimategames
Posts: 331
Joined: Sat Sep 02, 2006 4:11 am
Location: Michigan
Contact:

Post by lostclimategames »

not to sound cotradictory, but a shader would actually probably be faster, think of it this way, you have 30 maps (for example sake 2048x2048) which would still look bad but all with there own seperate terrains on them, or 30 of them with small placement maps (which could really be more like 512x512) and have very nice, high resolution tiles.

seems to be better option to me, but of course its your game.
___________________________
For all of your 3D/2D resource needs:
Image
Insomniacp
Posts: 288
Joined: Wed Apr 16, 2008 1:45 am
Contact:

Post by Insomniacp »

well, a shader would have to be applied each time the map is rendered, whereas i can just make the same texture once and save it the quality would be the same it just would not have to use a shader. So I could make all the textures with the same quality once, save them, and be able to load them without the need of a shader.
lostclimategames
Posts: 331
Joined: Sat Sep 02, 2006 4:11 am
Location: Michigan
Contact:

Post by lostclimategames »

still around?
___________________________
For all of your 3D/2D resource needs:
Image
Insomniacp
Posts: 288
Joined: Wed Apr 16, 2008 1:45 am
Contact:

Post by Insomniacp »

aye, we are. I guess I should give an update here...

Large server and client recode is underway. The recode will allow for multiple servers to be used currently there is a gateway which all players log in to, all save data is here aswell. This server will direct players to a game server they should join. It will also keep track what areas each game server controls, hence the name gateway since it connects everything together.

There is also a chat server which is irc style, the chat server is fully functional though untested yet (on my todo list). Basically you will be able to create any channel you want to, password it have a message of the day, kick, ban people and add/remove channel controllers. First person to make a channel is the controller of it, inactive channels get removed after 5 days or so. There is also a restricted channel list, these can not be created. Basically the restricted channels is for clans or people that buy them or general global channels. As I said this is basically fully functional I will be making a standalone chat client this week or next.

Game servers are the main thing. They will control an area of the map keeping track of all data for that area. There can be an infinite amount of game servers allowing us to expand the game world indefinitely if we so choose to. Game servers will transfer player data once the player crosses the invisible server line. This keeps things completely seamless and infinitely large which is the goal of any online game. We will be able to change server lines around to make it so we can optimize performance by spreading the heavy load areas on different servers.

Thats about it for the server recode which is quite a lot yes. My two brothers have joined me in the programming realm, one is working on the server code the other the client code and I am filling in where needed and teaching them. Thats about all the news I have at the moment sorry for lack of keeping updates coming here ;)
Post Reply