Jump to content

Realtime Normal/Parallax/Relief Mapping Demo


Squirrelly

Recommended Posts

I just stumbled upon this. It is an interactive demo showcasing the differences between normal mapping, parallax mapping, and relief mapping. It enables you to switch between the three while viewing the same scene. From what I understand, you can also place your own diffuse textures with their corresponding normal map, and it will show you how it appears on different surfaces (cube, cylinder, etc). It was created by Fabio Policarpo, who is an author that has written many books about programming (mostly shaders). I found it rather useful.

http://fabio.policarpo.nom.br/files/reliefmap4.zip

EDIT: Just realized his latest one doesn't include a cube. You can download the previous version here: http://fabio.policarpo.nom.br/files/reliefmap3.zip, and then just copy the .P3D files into the latest version.

Link to comment
Share on other sites

A low amount of depths they look fairly similar, but at high depth amounts relief mapping clearly looks better as it actually add more polygons. This also got a rather hard performance hit.

Parallax mapping looks slightly better than normal mapping and with this implentation the performance seems similar.

Link to comment
Share on other sites

  • 2 weeks later...

The second link gave a 404 :(

[edit] Ok somehow if i go here:

http://fabio.policarpo.nom.br/relief/index.htm

and click the link for reliefmap3.zip i'm abail to download it allthough it is the exact same adress :???:

So if the link in the first post fails try this.[/edit]

[edit2]hihihi i see now why ;)

You put a , last in the adress, so this one is clickable ;)

http://fabio.policarpo.nom.br/files/reliefmap3.zip

[/edit2]

Spellbinder.

Link to comment
Share on other sites

  • 3 weeks later...

The second link gave a 404 :(

[edit] Ok somehow if i go here:

http://fabio.policarpo.nom.br/relief/index.htm

and click the link for reliefmap3.zip i'm abail to download it allthough it is the exact same adress :???:

So if the link in the first post fails try this.[/edit]

[edit2]hihihi i see now why ;)

You put a , last in the adress, so this one is clickable ;)

http://fabio.policarpo.nom.br/files/reliefmap3.zip

[/edit2]

Spellbinder.

Just delete de " , " at the end of ling (http://fabio.policarpo.nom.br/files/reliefmap3.zip" , ")

Link to comment
Share on other sites

  • 4 weeks later...

Relief maps didn't work for me, nothing visible when in that mode.

I have a 9800xt, is this normal?

If it's a technique that involves using vertex texture fetching to perturb the actual geometry, it probably isn't supported on pre shader-model 3.0 cards. Traditionally, cards can use textures for effects (normal mapping etc) in pixel shaders only. Allowing vertex shaders to access textures was a new addition with shader model 3.0.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...