Some thoughts about light in general

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Tenebrous
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Mon May 05, 2014 8:06 am
Contact:

Re: Normal maps for cool lighting effects

Post by Tenebrous »

ssilk wrote:
Tenebrous wrote:
ssilk wrote:- it would make it more unmovable. The graphics from mods has problems to be rendered.
Not sure what you mean... all that would change is that each sprite would have it's graphics plus a separate one for the normal map.
Replace unmoveable with unMODable. iPad is sometimes nasty...
I don't think it affects that at all. Except now, instead of just having image file for an object, you have two. One with the colours as now, and one with the normal map.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Some thoughts about light in general

Post by ssilk »

Well, my favourite music programm Reason by Propellerheads does do such things.

Reason Developers can add new devices/instruments (they call it Rack Extensions, RE) to Reason and sell it through their shop. The idea is, that the RE-developers create the idea and Propellerheads looks, that it works, no matter which platform, graphics, soundcard etc. This includes also the visible part of the device, the knobs, buttons, switches, and so on. A developer needs to define all the knobs etc. as a 3D map and they render from that some 2D images. The results are compelling (for example: https://shop.propellerheads.se/product/e670-equalizer/ - this graphics is rendered for the shop only)

I know, this is somehow complicated, but I think this direction only leads into something, which can be used in some future.

And it would make the work much more easier!! :)

How?

I think about so: Currently Albert delivers the pure graphics to the factorio-devs. I mean, they found some way speed things up in this process, but it is still many work by hand.

What if Albert delivers only the 3D-modells and the rest is made in a build-process?

And once there is such a build-process, and it is working reliable, why not using other models from other mod-developers or other artists and put them also in this queue? The advantage would be, that they would have the same look, resolution and so on.

And (!) they can calculate the shadows from different angels, because they have the 3D-model. And from that point on, you can do much more really, really cool stuff, like the link above....

Well, just some thoughts...
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: Some thoughts about light in general

Post by cube »

ssilk wrote:What if Albert delivers only the 3D-modells and the rest is made in a build-process?

And once there is such a build-process, and it is working reliable, why not using other models from other mod-developers or other artists and put them also in this queue? The advantage would be, that they would have the same look, resolution and so on.
To me this sounds like a great idea, but AFAIK Albert does quite a lot of manual post processing on the 2D sprites before including them in the game, so I'm afraid that he wouldn't approve.

Technically this should be pretty simple -- just a python script that controls a blender instance for rendering...
I have no idea what I'm talking about.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Some thoughts about light in general

Post by ssilk »

Last year my team has been in a similar situation: the designers developed great graphics, cool CSS styles and so on, but we couldn't integrate that automatically. Every style needed to be integrated by hand, and if it changed, the work begins from start. That costs us very much time to integrate the graphics. So we wrote a tool, where the designers had the possibility to integrate the CSS/graphics and test, if it fits all. So they did the work. The designers loved it, they said that makes the work with us much easier, cause they now can just try things out and immediately se, what fits and what not. And we loved it, cause we don't need to integrate all the time. The result was a big speed up in the development-process and much faster and reliable deploy.

If you continuously improve this process, every version the biggest work, the stupidest job, you will see some performance gain in about 2-3 month.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Tenebrous
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Mon May 05, 2014 8:06 am
Contact:

Re: Some thoughts about light in general

Post by Tenebrous »

cube wrote:...AFAIK Albert does quite a lot of manual post processing on the 2D sprites before including them in the game...
Well, to be honest that'd be something to automate soonish, especially as Albert's time is already full up :D

krux02
Inserter
Inserter
Posts: 48
Joined: Tue May 06, 2014 2:45 pm
Contact:

Re: Some thoughts about light in general

Post by krux02 »

First of all. Light is the most complicated and complex thing you can simulate. You can invest hundreds of hours into this topic. I am a developer myself and I know how much work it is. At the moment light is pretty simple. There is one lightmap where all light sources are added and then at night, the lightmap is multiplied with the image. This is easy too implement and not too wrong.

at the moment shadows are just constant, so every model has it's own shadow image. The only way to make this realistically would be to project the shadows from 3d models to the ground which is just not feasible if you consider that in the game are no 3d models left anymore. It would also drastically increase rendering complexity. So I don't see that happen soon. Also for realistic lighting we would need correct normal maps for each model in the game and I don't see that happen soon.

Short answer you just need more man power to get it correct. On the other hand colorful light's would be pretty easy.

Post Reply

Return to “Ideas and Suggestions”