Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Nx on March 14, 2010, 11:00:06 pm
-
see screenshot:
(http://lh6.ggpht.com/_uYaBYOlXeqw/S52uZAZ4ayI/AAAAAAAAAys/DnC6JA5FeQg/s400/IceniSeam.png) (http://picasaweb.google.com/lh/photo/KghphWsDCAY5JOdupGRmow?feat=embedwebsite)
is this an engine issue or an issue with the mapping? I can't see it on the Aeolus, which has a similar mirrored UV map.
A model I'm making has this issue too, but only in FSO, not in Blender (using GLSL shaders in Blender's 3d view).
-
ugh... can you post proper screens? i cant see **** on this one.
also, just in case, please make damn sure you made the normalmaps correctly.
[edit] on further inspection, both the normal maps and the uv seem to be a bit.. borked.
also, which other textures are there on the model at this very moment?
-
ugh... can you post proper screens? i cant see **** on this one.
also, just in case, please make damn sure you made the normalmaps correctly.
Click it to view a larger version.
I didn't make the normalmap. It's the MVP Iceni. Vasudan Admiral did the mapping, ha probably made the normalmap too.
[edit] on further inspection, both the normal maps and the uv seem to be a bit.. borked.
also, which other textures are there on the model at this very moment?
Just the normal map, no other textures. You can see try it yourself, it's the MVP Iceni, just rotate it around a bit, the seam is fairly obvious, but disable specular map to make it even more visible.
-
sorry, misread then.
possibly a broken shader somewhere... check that you have the latest of whats needed...
-
sorry, misread then.
possibly a broken shader somewhere... check that you have the latest of whats needed...
Tried it with 3.6.10 and 3.6.12 RC1 on Linux, both are the same. Can you reproduce it?
-
sorry, misread then.
possibly a broken shader somewhere... check that you have the latest of whats needed...
Tried it with 3.6.10 and 3.6.12 RC1 on Linux, both are the same. Can you reproduce it?
Yup, but not sure what seems to be causing it...
(using 3.6.10 media vp's, MV_Core, MV_Assets, MV_Music, MV_Effects, MV_Advanced, nothing after the "official" release of 3.6.10's...)
-
What are you using to make the normal maps? Newman had a similar issue and it turned out to be the way the normal map itself was being saved by the NVidia PSD plugin.
-
I think it's more related to the method used by the shaders to invert the normals on the mirrored side of the ship. I don't know the shader code, but apparently the longitudinal specular highlights are a byproduct of the same mechanism that allows using mirrored UV maps on the models.
-
Yup I've had that happen a lot.
The only way I know how to fix this is a.) uvunwrap both sides seperately (they cannot share the same uvmap) or b.) in Max, detach the port side from the starboard side then reattach but do not combine vertices. (or do a bit of both)
-
FUBAR, i thought that that was it too, turned out it wasnt :P
-
What are you using to make the normal maps? Newman had a similar issue and it turned out to be the way the normal map itself was being saved by the NVidia PSD plugin.
Normalmap plugin for Gimp, following the instructions in the Gimp thread (http://www.hard-light.net/forums/index.php?topic=64769.0). I let the dds plugin handle the conversion (by saving to DXT5n), but now I tried converting manually (decompose, copy red to alpha, fill red & blue with black, save as png), and it's still the same.
I think it's more related to the method used by the shaders to invert the normals on the mirrored side of the ship. I don't know the shader code, but apparently the longitudinal specular highlights are a byproduct of the same mechanism that allows using mirrored UV maps on the models.
Yeah, but blender doesn't do this (I'm talking about the 3d view which uses glsl shaders, not rendering), and more importantly, not all ships in FSO seem to be affected. The Aeolus, the Leviathan/Fenris, the Poseidon and the Triton are fine, but the Aten, the Sobek, the Deimos the Iceni, and the Faustus are all showing the seam.
Yup I've had that happen a lot.
The only way I know how to fix this is a.) uvunwrap both sides seperately (they cannot share the same uvmap) or b.) in Max, detach the port side from the starboard side then reattach but do not combine vertices. (or do a bit of both)
Thanks for the suggestion, but I'd rather not do either. Unfortunately, b) doesn't get rid of the problem entirely and it creates an ugly seam. I tried disabling smoothing and merging all vertices, and it still shows up on some flat faces. I'm thinking of unmirroring only the flat surface on the top and bottom where the seam is, i.e. moving the UV seam from the middle a little bit to the right where there's a hard edge on the model, while keeping the disconnected parts sharing uvs. I might be able to get away with that without having to redraw the texture entirely, but I fear this will only move the lighting seam.
Edit: I remapped my model since the uv was crappy anyway, and this time I didn't split the large flat surfaces in the middle. After mapping one half I applied the mirror modifier then manually mirrored the UVs for one half of the surfaces in the middle and attached it to the other half, so most of the islands are still shared between the two halves. That solved the problem.