Frictional Games Forum (read-only)
Displacement/Height maps?! - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Displacement/Height maps?! (/thread-30183.html)

Pages: 1 2 3


Displacement/Height maps?! - Amnesiaplayer - 06-30-2015

I am quite finished with orginal amnesia now.
Now, I am more into custom things.
I am trying to make a lot of diffirent landscapes, and displacement/height map, is the only way for it.

I use CrazyBumb, and that creates norm, spec and displacement. (occlusion to)
But amnesia can't use displacement file, but instead, it only has the option "Height" without displacement.
I don't know how to create a height map, or where.
I have a displacement map, but that doesn't work.
So I thought, lemme do this on maya.
I added some subdivisions etc, Did something in Hypershade menu, and then, it worked.
atleast, in maya. I rendered it, it looks really cool. (this thing was a test, I was trying to make sand, look cool. Just to test out)
but then, in Modelview, It "checked" only "Diffuse" this means that displacement maps doesn't work on hpl2.
Is there a way to "change" a displacement file into Height?!
I really need it now...


RE: Displacement/Height maps?! - Traggey - 06-30-2015

The heightmapping in HPL is actually just Parallax Mapping, it just fakes depth in a texture but doesn't actually create any. HPL can not do anything like that for landscaping, your only option is to model it in your modeling package of choise, now depending on the method you use you CAN turn a heightmap into real geometry in maya and then export it to HPL, I have no clue how that would work in Maya since I don't use it myself, but I know it can be done.

For example in Max you would accomplish this using the ''displacement'' modifier.


RE: Displacement/Height maps?! - Amnesiaplayer - 06-30-2015

(06-30-2015, 05:20 PM)Traggey Wrote: The heightmapping in HPL is actually just Parallax Mapping, it just fakes depth in a texture but doesn't actually create any. HPL can not do anything like that for landscaping, your only option is to model it in your modeling package of choise, now depending on the method you use you CAN turn a heightmap into real geometry in maya and then export it to HPL, I have no clue how that would work in Maya since I don't use it myself, but I know it can be done.

For example in Max you would accomplish this using the ''displacement'' modifier.

Oh thanks, so hpl2 can only use the "faked" ones like Norm etc, okey Tongue so this means, I have to create the "mountains" etc all by myself, no planes..
k thanks Big Grin

Edit: btw, what does the "Height"function do?? Is it there just ofr test or...


RE: Displacement/Height maps?! - Traggey - 06-30-2015

The height function is for parallax mapping.


RE: Displacement/Height maps?! - Amnesiaplayer - 06-30-2015

(06-30-2015, 05:54 PM)Traggey Wrote: The height function is for parallax mapping.

Wait, that is what I actually want, That's like if you have a cobblestone ground then you will have "gates" between the stones right? If yes, what file. do I need?


RE: Displacement/Height maps?! - Traggey - 06-30-2015

Parallax mapping FAKES height, but doesn't create new geometry so it only works on for example flat surfaces, to create the effect you use a black and white image, black is deep down and white is high up.

[Image: 1zdlw5.jpg]


RE: Displacement/Height maps?! - Amnesiaplayer - 06-30-2015

(06-30-2015, 07:28 PM)Traggey Wrote: Parallax mapping FAKES height, but doesn't create new geometry so it only works on for example flat surfaces, to create the effect you use a black and white image, black is deep down and white is high up.

[Image: 1zdlw5.jpg]

Oh thanks, Btw, is it possible to create a "Bus/Tank" ?
My idea was using it as a monster, and then give it "ride" animations etc, so if you stand on it, you actually ride, on a tank/bus.
I am not a very good animator, but not bad too, but I was thinking about this, Btw, to make the tank "Ride" I just use pathnodes...


RE: Displacement/Height maps?! - Traggey - 06-30-2015

Sure it is, however the standing ontop won't work if the tank/buss is an enemy or so, if it's just an animated prop it should work.


RE: Displacement/Height maps?! - Amnesiaplayer - 06-30-2015

(06-30-2015, 09:38 PM)Traggey Wrote: Sure it is, however the standing ontop won't work if the tank/buss is an enemy or so, if it's just an animated prop it should work.

Oh, would pathnode work for an animated prop?! or do I need to give my tank it's own speed etc, because The route I'm working on is not really "Straight forward" it's with a lot of corners etc Tongue


RE: Displacement/Height maps?! - Traggey - 06-30-2015

Not a clue, I never touched that stuff in HPL.