Re: Irrlicht Engine
Posted by rs6 on Wed May 18th at 10:24pm 2005
the Source HL2 engine is capable of that too, i read somewhere, just not enabled like HDR.

rs6
member
640 posts
94 snarkmarks
Registered: Dec 31st 2004
Location: New Jersey, USA
Occupation: koledge
Re: Irrlicht Engine
Posted by ReNo on Thu May 19th at 12:55am 2005
Exactly as forceflow said, parallax mapping is essential a special form
of bump/normal mapping that gives surfaces added depth. I don't know
exact details so if people know better please do correct me, but I'll
attempt to give some sort of explanation.
Bump mapping gives each texel a depth value. A texel is essentially a
pixel on the texture - therefore if you put a 256x256 texture onto a
256x256 surface at a 1x1 scale, there are 256x256 texels on the
surface, whereas at 2x2 scale there are 128x128 texels. Normal mapping
(a further development of bump mapping) gives each texel not only a
depth value, but a normal vector. This normal vector stores the
direction that each texel is facing, which allows for the surface to
react to different light directions as if it featured far more
geometric detail than it actually does. Parallax mapping, as far as I
am aware, lets the surface not only react to the way each texel is
facing, but react to the other texels as well. For example, imagine a
texture has a single block that protrudes outwards from the rest of the
surface the texture represents. This texture could be applied to a
single face on a brush, and even with normal mapping if viewed from the
side it would appear to be flat (even if the texels recieved realistic
lighting due to how they are portrayed to "face" with normal mapping).
Parallax mapping lets each texel be rendered based on its depth and the
direction it faces. This bump in the texture would now block out texels
that would realistically be behind it from the current viewpoint of the
camera, as well as being lit realistically. This lets bumps be rendered
over texels that would actually be hidden behind them, giving surfaces
actual depth even if they are made of very few polygons.
I'm mildly drunk and not 100% on the theory behind the technique, so
this may not make much sense the way I have explained it. I guess the
best idea would be to read up on the link Edge provided - I'm sure it
covers things both better and more accurately than I have!

ReNo
member
5457 posts
933 snarkmarks
Registered: Aug 22nd 2001
Location: Scotland
Occupation: Level Designer
Re: Irrlicht Engine
Posted by Addicted to Morphine on Thu May 19th at 2:07am 2005
Is it just me or do those shots look mildly cartoony? Like cell-shaded?

Addicted to Morphine
member
3012 posts
411 snarkmarks
Registered: Feb 15th 2005
Re: Irrlicht Engine
Posted by Addicted to Morphine on Thu May 19th at 1:55pm 2005
I just watched it and I still think it looks cartoony. But
perhaps its just that setting where everythign is made of cobblestone.

Addicted to Morphine
member
3012 posts
411 snarkmarks
Registered: Feb 15th 2005
Re: Irrlicht Engine
Posted by SaintGreg on Fri May 20th at 2:29pm 2005
Reno - basically the way I understand it is that it takes the normal
vector from the normal map and then offests the texels based on that
and the view vector. So as you move views the actual texels
appear move on the surface giving it depth.
SaintGreg
member
212 posts
41 snarkmarks
Registered: Dec 3rd 2004
To get something to work, sometimes you just have to beat your head against the wall longer; the skin grows back, but the brick doesn't.
Source hates soup!