Help with Normal Mapping

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Help with Normal Mapping // Archive: Tech Forum

1  |  

Post by Michael Billard // Apr 14, 2007, 3:30pm

Michael Billard
Total Posts: 125
I am trying to do the tutorial in the manual for polygon reduction of a mesh and application of a normal map. I've followed the steps on pages 511-515. After simplifying the mesh, saving the simplified mesh and loading it back into the scene, I do indeed see a distorted normal map on the object I just loaded. The directions then say to enter developer view, enter the object I just loaded, and save its shape in the object library. On the object that I simplified and created a normal map, I made sure the Tangent Space option is checked. So far so good.


The directions say to enter the simplified/normal mapped object and unhook its Mesh Unwrapper from the LoRes input of the Normal Map Generator. Ok, no problem. You're also supposed to bring the shape you saved earlier into the LE, select its default view, and hook its Mesh to the LoRes input of the Normal Map Generator. At this point according to the directions, the normal map should look right. Problem is, it doesn't. I'm trying to figure out why both of my shapes look distorted.


Thanks for your help!


http://www.spellflight.com/images/Page514NormalMap1.jpg

http://www.spellflight.com/images/Page514NormalMap2.jpg

Post by mrbones // Apr 14, 2007, 7:11pm

mrbones
Total Posts: 1280
pic
Just press normal map button on high rez mesh, the normal map button does the simplfying for you first then generates and applys the normal map to your simplified mesh automatically. HTH

Post by tomasb // Apr 15, 2007, 12:04am

tomasb
Total Posts: 261
first thing to realize is that normal mapping requires UV space to address normal map. When you do normal map obj, it adds unwrapper node which unwraps mesh into texture and fills UV2 indices (coordinates set = 2).

You can provide your own unwrap & lores mesh by unlinking unwrapper and simplifier nodes.




if you use tangent space normal maps, you need to use unwrapped mesh for normal maps to work correctly.


if you use object space normal maps, normal mapper adds object space description into mesh stream so you need to use normal mapped mesh to get it right.

Post by Michael Billard // Apr 15, 2007, 9:25am

Michael Billard
Total Posts: 125
Perhaps I'm still doing something wrong. I've tried using both object space and the shape object, and using tangent space and the unwrapper. Both times I get distorted objects. Is there a video showing the steps to polygon reducing and normal mapping a high-res object, and applying the normal map to a low-res object?
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2021. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn