as explained in earlyer respons, normal maps are generated from uv's information and vertexes, the uv's define the position on map, the vertexes are use to calculate the normals. the normals are then wrote into the map at the uv coordinates. x,y,z of the normal becomes r,g and b.
> . I did not export AS3 class from prefab. Do you think it will work? > 2. You said - "this would probably comfirm that generator of the N map > was not using same coordinate system." so first thing you notice when you import a model from max, is that its right handed. this means your vertexes are flipped on x. Prefab in this case reads this flipped info, and applies it according to his ow coordinates system. so red info is say no more right to left on the map but left to right. now, if you use that map and apply on the 3ds model, then its inverting the light. If you would export from prefab this 3ds info as as3 or awd. It still would be reverted, but since the geometry would be as well, the light position would be correct in Away, at least from a system point of view. I recall your test your model, it was also having 90 degrees roation on Z axis, this will have same impact on green color. applied to a 3ds loaded in away, the map would then translate a light position directly above or beneath if you would expected it say right or left of the model. in another message you say the maps are way more blue than Prefab's. I cannot say, but if blue is really dominant, chances are very high the map was generated as tangentmap. Fabrice On Jun 3, 2010, at 11:56 PM, flashangel wrote: > Hi Fabrice, > I forgot to reply to few of your points in your last response: > > 1. I did not export AS3 class from prefab. Do you think it will work? > Also, even if it works, our model needs to be in 3DS in actual > project, it can not be compiled into project; i.e. it needs to be > external entity than the project swf . (I do not know what AWD means > and how to use it). > > 2. You said - "this would probably comfirm that generator of the N map > was not using same coordinate system." > I generated normal map using prefab as David suggested that it is the > best and, as I said earlier, 3DS Max never really worked for me/3D > modeller for normal map generation (or we are less knowledgeable about > it to say). SO, I do not understand what you mean by 'same coordinate > system'. > > -- > Sushant
