PDA

View Full Version : Detail tex + ??? = Detail bumpmap



Freelancer
10-26-2004, 04:45 AM
Hi everyone!

I've got a wall texture, wall detail texture, wall normal map and detailed normal map.

Detailed textures/maps Are BIG (~50 Mbytes uncompressed).

Simple bumpmapping looks good is the wall seen from a distance. Simple detail maps (without bumps) are pretty good at a close distance.

Because of the size of detailed maps (tex & normal) I decided to to rip these into rectangles and show "on-demand"

Is there any way to do this, so it looked like a "detailed bump-mapping" ?

Thanks in advance,

Dmitry.

Martin Kraus
10-26-2004, 06:34 AM
Hi ,
there`s a demo at nvidia.com on how to do detail bumpmapping , basically you have two bumpmaps laid on top of each other ...
The Normal for lighting is optained by adding the two normals together and renormalizing ..
Hope this helps ...
Martin Kraus

zed
10-26-2004, 12:11 PM
>>The Normal for lighting is optained by adding the two normals together and renormalizing ..>>

aint gonna give the right results, u want the 'space' of the second bumpmap orientated from the first one (not an easy thing to do).
one method is to just treat the bumps as heights and then u can add / devide etc and then from the height data create the bumpmap.

rgpc
10-26-2004, 01:57 PM
This (http://download.nvidia.com/developer/SDK/Individual_Samples/samples.html) page has a download for the demo Martin was referring to. It called "Detail Normalmaps".

Martin Kraus
10-26-2004, 02:02 PM
Hi ,
if the second texture space is just a scaled / translated version of the first one it`s going to work fine ... the only thing you can`t do is a rotation from one map to the other ... but that`s not needed for the standard detail map approach where you just tile the detail map multiple times over the standart one ...

Freelancer
10-27-2004, 02:52 AM
Thanks you, guys!