Quest for Higher End Graphics Support

shaneroach
Member
Posts: 141
Joined: Sat Apr 20, 2013 21:05
Location: Austin, TX
Contact:

Quest for Higher End Graphics Support

by shaneroach » Post

Here lately on Minecraft I finally got around to trying some of the shaders. They look great during the day, but seems every one of them I try has some sort of problem with night, and even some with the transformation between day and night. One of the better effects basic Minecraft has is a nice sunset.

Any Shader mods in the offing for Minetest yet? Also still curious if anyone has looked at VoxelFarm and/or Everquest Landmark and thinks that is something Open Source folks would be interested in or capable of? Like perhaps there is even a fork already I am not aware of working on it. It looks like the basics of it have been discussed on the forum before. That is to day, smaller voxels in comparison to the player model and some method for smoothing the transitions from one voxel to the next have both been discussed here before, and seem to be part of the mix. I guess some real work on textures and how they should be applied depending on terrain type, and more stuff on biomes are also related to this issue.

Jordach
Member
Posts: 4534
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

Re: Quest for Higher End Graphics Support

by Jordach » Post

shaneroach wrote:Here lately on Minecraft I finally got around to trying some of the shaders. They look great during the day, but seems every one of them I try has some sort of problem with night, and even some with the transformation between day and night. One of the better effects basic Minecraft has is a nice sunset.

Any Shader mods in the offing for Minetest yet? Also still curious if anyone has looked at VoxelFarm and/or Everquest Landmark and thinks that is something Open Source folks would be interested in or capable of? Like perhaps there is even a fork already I am not aware of working on it. It looks like the basics of it have been discussed on the forum before. That is to day, smaller voxels in comparison to the player model and some method for smoothing the transitions from one voxel to the next have both been discussed here before, and seem to be part of the mix. I guess some real work on textures and how they should be applied depending on terrain type, and more stuff on biomes are also related to this issue.
The sunset in SEUS is actually quite good.

Afaik - we need extra render passes in Irrlicht before we get to that sort of thing.

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: Quest for Higher End Graphics Support

by Inocudom » Post

Jordach wrote:
shaneroach wrote:Here lately on Minecraft I finally got around to trying some of the shaders. They look great during the day, but seems every one of them I try has some sort of problem with night, and even some with the transformation between day and night. One of the better effects basic Minecraft has is a nice sunset.

Any Shader mods in the offing for Minetest yet? Also still curious if anyone has looked at VoxelFarm and/or Everquest Landmark and thinks that is something Open Source folks would be interested in or capable of? Like perhaps there is even a fork already I am not aware of working on it. It looks like the basics of it have been discussed on the forum before. That is to day, smaller voxels in comparison to the player model and some method for smoothing the transitions from one voxel to the next have both been discussed here before, and seem to be part of the mix. I guess some real work on textures and how they should be applied depending on terrain type, and more stuff on biomes are also related to this issue.
The sunset in SEUS is actually quite good.

Afaik - we need extra render passes in Irrlicht before we get to that sort of thing.
Irrlicht's graphics are based on polygons by default.

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: Quest for Higher End Graphics Support

by rubenwardy » Post

Irrlicht uses opengl or directx9 shaders. default lighting in Irrlicht is per polygon (rather than per pixel). Minetest does not use the default lighting, instead the sides of nodes are coloured accordingly.

You don't need to change Irrlicht at all to get extra render passes. There are code snippets / libraries that can do this for Irrlicht. See XEffects as an example; there are others.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: Quest for Higher End Graphics Support

by Inocudom » Post

rubenwardy wrote:Irrlicht uses opengl or directx9 shaders. default lighting in Irrlicht is per polygon (rather than per pixel). Minetest does not use the default lighting, instead the sides of nodes are coloured accordingly.

You don't need to change Irrlicht at all to get extra render passes. There are code snippets / libraries that can do this for Irrlicht. See XEffects as an example; there are others.
An important thing to remember is that frame rate is heavily determined by the number of polygons visible and the effects given to them.

shaneroach
Member
Posts: 141
Joined: Sat Apr 20, 2013 21:05
Location: Austin, TX
Contact:

Re: Quest for Higher End Graphics Support

by shaneroach » Post

I must have misread or misunderstood, but I had thought some months back someone from the crew here on Minetest had said that the code for Minetest was substantially modified from Irrlicht.

Any links to any docs about the relationship between the two as it stands these days? Or did I just misread or misremember and Minetest is basically built right on top of Irrlicht?

shaneroach
Member
Posts: 141
Joined: Sat Apr 20, 2013 21:05
Location: Austin, TX
Contact:

Re: Quest for Higher End Graphics Support

by shaneroach » Post

Jordach wrote:
shaneroach wrote:The sunset in SEUS is actually quite good.
Indeed. I have yet to get fog running the way I might like with it though. Also, there used to be a specific resource pack they liked to recommend? I forget (Ah, ChromaHills, downloading now)

But one of the ones I used just shut off all light at times. (CreativeOne's resource pack. Medieval sort of blocks.)

Just in general they all seem to have bugs. I like to mess with them to get nice views and then go back to normal MC for play, which is less than ideal really.

P.S. So I loaded up SEUS with CHroma Hills and indeed, the problem is it begins to render night light qualities while the sun is still in the process of setting, which is pretty much my complain about all the shaders so far.
Last edited by shaneroach on Sun Jun 22, 2014 20:59, edited 1 time in total.

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: Quest for Higher End Graphics Support

by rubenwardy » Post

Irrlicht is the 3d rendering engine. It is used to draw 3d stuff (kind of, this is a simplification)

Minetest is a game engine. It handles sound, player input, networking, etc.

Minetest does not use a modified version of Irrlicht. It builds on top of it.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

shaneroach
Member
Posts: 141
Joined: Sat Apr 20, 2013 21:05
Location: Austin, TX
Contact:

Re: Quest for Higher End Graphics Support

by shaneroach » Post

rubenwardy wrote:Irrlicht is the 3d rendering engine. It is used to draw 3d stuff (kind of, this is a simplification)

Minetest is a game engine. It handles sound, player input, networking, etc.

Minetest does not use a modified version of Irrlicht. It builds on top of it.
I can't find the reference. It's entirely possible I misremember. But the impression I got was that Minetest was originally built on Irrlicht but did not so much keep strictly with its updates, but rather went its own way with it.

This might or might not explain a lack of higher end graphics support, especially if emphasis is given to the program working on older hardware.

But at the end of the day I am probably just not quite remembering correctly, and I can't find the topic I thought I read that on so...

Thanks for trying to clarify though.

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Quest for Higher End Graphics Support

by Morn76 » Post

MT does its own lighting calculations and then puts these light levels into the Irrlicht scenery by manipulating texture contrast I think. So in that sense you could certainly say that MT goes its own way with Irrlicht; it certainly does lighting very differently from other Irrlicht games.

The problem that has been discussed in other threads is how to combine MT's internal lighting algorithm with more modern lighting approaches. Also, realistic lighting in PC MC has some playability issues (e.g. caves going pitch black far too early), so the question is how to avoid those.

shaneroach
Member
Posts: 141
Joined: Sat Apr 20, 2013 21:05
Location: Austin, TX
Contact:

Re: Quest for Higher End Graphics Support

by shaneroach » Post

Morn76 wrote:MT does its own lighting calculations and then puts these light levels into the Irrlicht scenery by manipulating texture contrast I think. So in that sense you could certainly say that MT goes its own way with Irrlicht; it certainly does lighting very differently from other Irrlicht games.

The problem that has been discussed in other threads is how to combine MT's internal lighting algorithm with more modern lighting approaches. Also, realistic lighting in PC MC has some playability issues (e.g. caves going pitch black far too early), so the question is how to avoid those.
That's interesting. Maybe that is what was being referenced I was not able to find.

I keep wondering if someone will use Blender's game engine to do some voxel gaming. I guess I need to get off my hump and start learning like... everything.

I guess I just do not know what exactly I am doing. I want a specific kind of game, and yet such things have to be done in large groups, and I have as yet no real skill at anything such a group would need. My main interest in learning technical stuff is in the production of models and textures, but the real meat and potatoes of what I want done would seem to require coding. Or then sometimes I daydream about setting up a server and trying to get some sort of basic game together and try to get donations to direct overall development from there.

For that little daydream, Minetest would seem to be a pretty good bet.

Meh, I dunno. Anyhow, thanks for the input. =)

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: Quest for Higher End Graphics Support

by rubenwardy » Post

Minetest does not use a modified version of Irrlicht, but it does modify certain things, like the lighting.

Blender's game engine isn't suitable for anything more than making small FPS. Generally.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

shaneroach
Member
Posts: 141
Joined: Sat Apr 20, 2013 21:05
Location: Austin, TX
Contact:

Re: Quest for Higher End Graphics Support

by shaneroach » Post

rubenwardy wrote:Minetest does not use a modified version of Irrlicht, but it does modify certain things, like the lighting.

Blender's game engine isn't suitable for anything more than making small FPS. Generally.
I certainly have not heard or seen anything out of Blender's engine to gainsay your opinion, but can you elaborate?

I hear a little about Ogre being superior to Irrlicht for more modern games using the latest hardware. What exactly has been done to the lighting such that folks are saying shading is not not possible for Minetest? As in what Morn76 said. Is its dependence on textures the issue? If I were hiring a game designer and wanted him to create a 3d voxel game with modern graphics and shading, would he advise me to just ditch Minetest and start from scratch, or are the changes necessary to get shading relatively minimal in comparison to all that has been done with the world gen, combat, and so forth?

I'm quoting Rubenwardy here, but it is not necessarily a question I have specifically for him as a question I have for those who understand the issue he is referencing.

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: Quest for Higher End Graphics Support

by Inocudom » Post

I am just going to state a little something here. Did you guys know that OpenSpades has directional, dynamic sunlight in it (dynamic as in it changes when blocks are placed/removed?) Looking upon that, inspiration can be gained concerning how it could be done in Minetest (of course, the effect relies on OpenGL.) Here, give the video of OpenSpades below a look:
http://youtu.be/TQbQ3Cr_z5w?t=1m58s
This topic reminds me of a mod by Hybrid Dog:
viewtopic.php?f=9&t=8642

User avatar
hoodedice
Member
Posts: 1374
Joined: Sat Jul 06, 2013 06:33
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice
Location: world
Contact:

Re: Quest for Higher End Graphics Support

by hoodedice » Post

If you hired just *one* game dev, he would recommend unity3d, as it is the fastest and easiest way to just start making games. TBH, if you are looking to make a voxel game for selling, you would go with higher end packages and stuff for the game. But with Minetest, which is free and entirely open source, you would go with the ones that are free and open source themselves, and also fulfill a certain number of things you need in the game.

As for Ogre being superior, well, maybe you might want to try RigsOfRods, or VDrift....
Stunt Rally does it better tho
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build

shaneroach
Member
Posts: 141
Joined: Sat Apr 20, 2013 21:05
Location: Austin, TX
Contact:

Re: Quest for Higher End Graphics Support

by shaneroach » Post

hoodedice wrote:If you hired just *one* game dev, he would recommend unity3d, as it is the fastest and easiest way to just start making games. TBH, if you are looking to make a voxel game for selling, you would go with higher end packages and stuff for the game. But with Minetest, which is free and entirely open source, you would go with the ones that are free and open source themselves, and also fulfill a certain number of things you need in the game.

As for Ogre being superior, well, maybe you might want to try RigsOfRods, or VDrift....
Stunt Rally does it better tho

This is all information I already had, and while I thank you for the time my purpose is to try to figure out what can be done with MT using Ogre or Irrlicht, not what can be done with proprietary software.

Sorry if I was not clear. =)

The question basically is summed up as, "in order to get better graphics, how far back do we have to go and redevelop the rendering?"

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: Quest for Higher End Graphics Support

by sfan5 » Post

shaneroach wrote:how far back do we have to go and redevelop the rendering?
We don't have to go back at all.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
hoodedice
Member
Posts: 1374
Joined: Sat Jul 06, 2013 06:33
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice
Location: world
Contact:

Re: Quest for Higher End Graphics Support

by hoodedice » Post

sfan5 wrote:
shaneroach wrote:how far back do we have to go and redevelop the rendering?
We don't have to go back at all.
How about fixing the Alpha rendering crap that causes the transparency to be messed up, which was a problem that was directed at the Irrlicht level?
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: Quest for Higher End Graphics Support

by Calinou » Post

Lighting system is likely not to be redone anytime soon: please think about the gameplay consequences.

Currently, lighting is computed in software (pretty fake lighting), but each node has a light level. This light level is in turn used for plant growth, mob spawning…

If you get realistic light sources, you would need a way for the engine and Lua to know the “light level” of a node. How hard is this if you use real time lights with shadows? Probably painfully hard, especially with dynamic sun…
Morn76 wrote:The problem that has been discussed in other threads is how to combine MT's internal lighting algorithm with more modern lighting approaches. Also, realistic lighting in PC MC has some playability issues (e.g. caves going pitch black far too early), so the question is how to avoid those.
Changing the light table may help, see this page.

shaneroach
Member
Posts: 141
Joined: Sat Apr 20, 2013 21:05
Location: Austin, TX
Contact:

Re: Quest for Higher End Graphics Support

by shaneroach » Post

Ok now I see what has happened. Thanks guys. It was never my intention to cause a kerfuffle! I just wanted to understand what the underlying issues were.

So again, thanks.

Further discussion along these lines would be appreciated, but not at the expense of anyone's emotional well being. ;-)

It occurs to me that light levels for things other than the display COULD be a whole separate thing from light levels for gaming mechanics. While it is an interesting study in realistic simulation, I think actually trying to nail down the actual activity of light as it pertains to plant growth and atmospheric behavior is going to be difficult to resolve without many more resources than appear to be available at this time.

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: Quest for Higher End Graphics Support

by Inocudom » Post

Calinou wrote: Changing the light table may help, see this page.
...And that was never added to Minetest? I never had any luck finding the lights.cpp file in Minetest either.

User avatar
Krock
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: Quest for Higher End Graphics Support

by Krock » Post

Inocudom wrote:
Calinou wrote: Changing the light table may help, see this page.
...And that was never added to Minetest? I never had any luck finding the lights.cpp file in Minetest either.
There it hides.
Image
I changed it in my older minetest builds to test how it looks - it really looks better.
But it's not realistic to the "real" light.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
RealBadAngel
Member
Posts: 557
Joined: Wed Jul 18, 2012 16:30

Re: Quest for Higher End Graphics Support

by RealBadAngel » Post

Ahem, is that lighting only that defines "high end game"? ;P
Anyway to clear things out: shaders for MT are being developed all the time. There are some features already done, like bumpmapping, parallax oclussion, generation of normalmaps on the fly, some geometry shaders (waiving stuff).
I have lately rebuilt whole shaders system to allow shading per tile, which was needed for water surface shaders for example.
Next step are rendering passes and post process shaders.
Somewhere in beetween will come hardware lighting (most propably mixed up with current lighting system, reduced only to calculate only light level for each node).

Thats the roadmap.

Also, to be clear. Minetest engine is not modyfing Irrlicht in any way. It just uses it.

shaneroach
Member
Posts: 141
Joined: Sat Apr 20, 2013 21:05
Location: Austin, TX
Contact:

Re: Quest for Higher End Graphics Support

by shaneroach » Post

RealBadAngel wrote:Ahem, is that lighting only that defines "high end game"? ;P
Anyway to clear things out: shaders for MT are being developed all the time. There are some features already done, like bumpmapping, parallax oclussion, generation of normalmaps on the fly, some geometry shaders (waiving stuff).
I have lately rebuilt whole shaders system to allow shading per tile, which was needed for water surface shaders for example.
Next step are rendering passes and post process shaders.
Somewhere in beetween will come hardware lighting (most propably mixed up with current lighting system, reduced only to calculate only light level for each node).

Thats the roadmap.

Also, to be clear. Minetest engine is not modyfing Irrlicht in any way. It just uses it.
The thread title pretty much says it all. Quest for high end GRAPHICS.

If I didn't like the GAME I would not be here for long, eh?

Thanks though. That's the most thorough answer so far for sure, and apparently from someone actually working on the graphics. So awesome.

I had noticed waving plants were part of the shaders for Minecraft and it had confused me a touch. So that is part of classic "shaders"....

I can't help but imagine sooner or later someone is going to want to take the next step and smooth the landscape a la VoxelFarm... Anyone know anyone interested in that?

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: Quest for Higher End Graphics Support

by Inocudom » Post

Dynamic shadows... Colored light rays would be easier, but...
viewtopic.php?f=7&t=1262
viewtopic.php?f=7&t=5631&start=75
Dreams are dreams and facts are facts. To put it simply, some things are simply not meant to be. This is similar to how the vast majority of open source shooter games either don't have custom player models or don't support them. In the case of Minetest (and maybe the fork of it known as Freeminer as well,) the feature frowned upon is colored light rays. Understanding that, you can now see just how unlikely dynamic shadows are.

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests