Lighting Engine

Got something on your mind about the project? This is the correct place for that.
Forum rules
This forum is for feature requests, content changes additions, anything not a Bug in the software.
Please report all bugs on the Support Forums
Post Reply
Dr Wahl
Novice
Novice
Posts: 317
Joined: 09 Apr 2006, 07:15
Location: Washington
Contact:

Lighting Engine

Post by Dr Wahl » 08 Feb 2007, 22:19

I am not sure of the exact details due to my weakness in programming, but it seems as though creating an engine that automatically lights the anything in game with the southwest to northeast light source would be worth while. Then creating items/spritesets would be a more simple job in that you would not need to create the shading effect, because the light engine would do all the lighting on the fly. Is this a possible option? or am I shooting at the stars on this one?
Image
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 17:08
Location: Germany

Post by Crush » 08 Feb 2007, 22:25

yes, you are shooting at the stars.

To shade an object correctly you need to know its three dimensional shape. Determining this based on a two dimensional image is impossible.

Of course we could create a 3d model for every item in the game, but then we would have a 3d engine and no 2d sprite-based game.

The shading is the most important part in pixel art. Let me give you an example. What is this?
Image

It's a sphere!
Image

...no... wait... it's a spike pointing at the spectator!
Image

...wait... i was wrong again... it is a plate!
Image

nah, just kidding. It is... no idea what this is supposed to be:
Image

Do you see now why you can't do the shading automatically?
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Dr Wahl
Novice
Novice
Posts: 317
Joined: 09 Apr 2006, 07:15
Location: Washington
Contact:

Post by Dr Wahl » 08 Feb 2007, 23:28

This makes plenty of sense. I have been playing 3d games too long i just kinda forgot that this is indeed a 2d game :)

I was hoping that there was something (engine) that could be created to help the pixel artist.

Thank you for the clear explanation.
Image
Post Reply