Re: [Algorithms] Tangent Space DUDV
Brought to you by:
vexxed72
From: Ignacio C. <ica...@nv...> - 2006-09-25 21:46:18
|
Oscar, MeshMender duplicates vertices along the seams according to user suplied = thresholds and can preserve the original normals. I've used it in the pas= t and it worked fine for me. Unless I'm missing something it should work = the same way for both DUDV and regular normal maps. Maybe there's a bug in MeshMender and not all cases are handled correctly= , if that's the case, it would help if you could provide a simple example= =20that shows the problem.=20 Let me know if there's anything else I can do to help you and feel free t= o contact me privately. Thanks! -- Ignacio Casta=F1o ca...@nv... --- Oscar Forth <os...@aw...> wrote: > Im working on a game that is using tangent space DUDV mapping. I run m= y > meshes through NVMeshMender to generate my Tangents and bitangents. Bu= t i > have run into a problem. Basically where texture coordinates are > "mirrored" im getting a total failure of the bump mapping effect. In > hindsight It does make sense that this would happen as the DUDV map is = now > mirrored as well. After doing some google research i discovered that > NVMeshMender does fix this problem, with Dot3 maps at least. AS long a= s i > use the MeshMender generated normals (which is a bit of a pain in itsel= f).=20 > Only problem is that this solution does not seem to work for DUDV mappi= ng.=20 > I am completely lost as to why, though. Does anybody know a way i can = keep > DUDV mapping working across these mirrored tex coordinates or am i just= > going to have to admit to the art department that i "missed" something = and > they need to chage their texture UVs on a LOT of meshes? >=20 > Obviously i'd rather not have to ask the art department to do that as t= hey > are unlikely to have the time to do it. So a programmatic solution wou= ld > be great if anyone knows one. >=20 > I do hope im not missing something really obvious :) -------------------------------------------------------------------------= ---------- This email message is for the sole use of the intended recipient(s) and m= ay contain confidential information. Any unauthorized review, use, disclosure or di= stribution is prohibited. If you are not the intended recipient, please contact the= =20sender by reply email and destroy all copies of the original message. -------------------------------------------------------------------------= ---------- |