Re: Using Normal Map as a Displacement Map
| Date : Wed, 05 Oct 2005 15:11:38 +0930 |
| To : XSI(at)Softimage.COM |
| From : Luke <luke(at)rsp.com.au> |
| Subject : Re: Using Normal Map as a Displacement Map |
|
OK, Lemme try a stab at something based on intuition.... For each shading point take the normal: N = << x, y, z >> Then the lookup at the normal map at this point: ( I am assuming this is normalized in the map to be length( M ) = 1, where r, g, b -> [ 0, 1 ] ) M = << r, g, b >> and then calculate: dotProduct = N.M ( dot product ) then take the result as ( approximately ): ( for a maximum displacement height of mag units, with a height offset of offset units ) displacementHeight = ( mag * dotProduct ) + offset This is a really big approximation but it seems reasonable - although haven't tried it myself.... Without integrating the image, this would give you a numerical first order approximation to the correct result. Even if it doesn't work for you I hope it helps get the brain juices flowing.... L. Oscar Juárez wrote: http://66.70.170.53/Ryan/heightmap/heightmap.html -- luke emrose technical director - luke.emrose(at)rsp.com.au ---------------------------------------------------------------- rising sun pictures - www.rsp.com.au redefining visual effects delivery ---------------------------------------------------------------- direct line +61 8 8400 6400 mobile ph +61 408 893 505 ---------------------------------------------------------------- our adelaide phone number & address has changed, please update your records.......... ---------------------------------------------------------------- adl ph +61 8 8400 6400 - fx +61 8 8400 6401 level 1, 133 gouger street, adelaide, 5034 ---------------------------------------------------------------- syd ph +61 2 9338 6400 - fx +61 2 9338 6401 15/16 charles street east redfern, sydney, 2016 ---------------------------------------------------------------- rising sun research - http://research.rsp.com.au ------------------------------------------------------------------- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi |
- Follow-Ups:
- Re: Using Normal Map as a Displacement Map
- From: Alan Jones <skyphyr(at)gmail.com>
- Re: Using Normal Map as a Displacement Map
- References:
- RE: Using Normal Map as a Displacement Map
- From: "Brinkley, Marc" <mbrinkley(at)ea.com>
- Re: Using Normal Map as a Displacement Map
- From: Raffaele Fragapane <jaco(at)thejaco.com>
- Re: Using Normal Map as a Displacement Map
- From: Gene Crucean <genecrucean(at)gmail.com>
- Re: Using Normal Map as a Displacement Map
- From: Oscar Juárez <send.me(at)antropomorphia.com>
- RE: Using Normal Map as a Displacement Map
| DATE: | << | >> | THREAD: | << | >> | INDEX: | Main | Thread |
|---|
- Previous by Date: Using quick stretch with shrink wrapped muscles
- Next by Date: Using quick stretch with shrink wrapped muscles
- Previous by Thread: Using quick stretch with shrink wrapped muscles
- Next by Thread: Using quick stretch with shrink wrapped muscles
- Index(es):
| Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available. |