![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#2 |
Grey Wolf
![]() Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
|
![]()
Looks like uv map doesn't align with texture. A way to fix this would be either extending texture by 1 pixel or, if this happens at the edge of texture map, by correcting uv (that would require exporting mesh, moving uv coordinates and reimporting mesh again, since you're not modifying the mesh you can do it with strict import option in gr2 editor)
|
![]() |
![]() |
![]() |
#3 | |
Samurai Navy
![]() Join Date: Apr 2005
Location: Paris
Posts: 588
Downloads: 574
Uploads: 0
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#4 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#5 | |
Samurai Navy
![]() Join Date: Apr 2005
Location: Paris
Posts: 588
Downloads: 574
Uploads: 0
|
![]() Quote:
![]() First of all, thank you for your help but I'm not sure I understand: I can't change the size of the image and no matter what tint is applied, there is always this clear line - No, I think the solution is in a data file, or data structure, but here I don't know how to do it. Is this line just my PC or is it everyone? |
|
![]() |
![]() |
![]() |
#6 |
The Analyst
|
![]() I have the same with and withou your mod of VIIB.
__________________
Best regards, GrenSo “Mankind must put an end to war, or war will put an end to mankind.” - J.F.K. Last edited by GrenSo; 03-14-21 at 08:32 AM. |
![]() |
![]() |
![]() |
#7 |
Samurai Navy
![]() Join Date: Apr 2005
Location: Paris
Posts: 588
Downloads: 574
Uploads: 0
|
![]()
If I may say so, it reassures me, so a pro I hope to work on this bug.
I also see that I still have to work on the design of this deck VIIB. |
![]() |
![]() |
![]() |
#8 |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]()
I should export VIIB's model and check it in a 3D editing program, but from the last screenshots posted by GrenSo I would say that the problem is caused by an mistake in deck's UV mapping which is only made more obvious by your new texture
![]() |
![]() |
![]() |
![]() |
#9 |
Grey Wolf
![]() Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
|
![]()
Checked this.
Two planes that are parts of boat deck do not touch as they should, leaving a small hole through which boat's hull below is visible. Solution would be in this case to reposition vertices of one of the deck planes by a bit. I have work atm, but I'll try to fix this in the evening. |
![]() |
![]() |
![]() |
#10 |
GLOBAL MODDING TERRORIST
|
![]()
I've found the 4 verts that need moved.
I'm changing them by hex editing the GR2 file. That insure the VIIB GR2 remains stock for all intents and purposes. File size does not grow that way and future edits are as if it was a stock file. It's easier to do simple edits like this rather then take the risk of borking the files for future work. Should anyone want the information on how I do this? I'd be happy to post the how to. Last edited by Jeff-Groves; 02-26-21 at 12:39 PM. |
![]() |
![]() |
![]() |
#11 |
Grey Wolf
![]() Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
|
![]()
Absolutely! While GR2Editor is fine tool, it does cause files to grow (at least with loose import, I didn't try strict a lot) so for simple edits like this another method would be very useful.
|
![]() |
![]() |
![]() |
#12 |
GLOBAL MODDING TERRORIST
|
![]()
It may seem hard at first if your not a hex editing Guy!
But it is really simple once you do it a few times. 1st I export the deck to an object file. What you use to do that does not matter. No tool out there will give you the EXACT vert information! They all round to 6 places and that is where the secret lies! Next, I edit the exported object file in any 3D program to have just the area I want. I delete anything not important to the area we want to edit. Then save the file as 2 different obj files so I can compare them. I end up with 2 faces in each obj file and 6 verts in each. I'm only interested in 4 verts in each file. 4 of those are the ones to adjust! At this point you should have 2 files that look like this in note pad. Forward section........... # 3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware # File Created: 26.02.2021 10:04:53 # # object NSS_Uboat7b_deck_41 # v 0.102030 0.141436 -2.210532 v 0.104960 0.144917 -2.081790 v -0.102031 0.141436 -2.210532 v -0.104961 0.144917 -2.081790 v 0.000000 0.141436 -2.210532 v 0.000000 0.141436 -2.210532 # 6 vertices g NSS_Uboat7b_deck_41 f 6 3 4 f 2 1 5 # 2 faces Rearward section......... (This one I exported with 12 precision but that didn't help) # 3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware # File Created: 26.02.2021 09:17:14 # # object NSS_Uboat7b_deck_41 # v 0.098945997655 0.138082996011 -2.316945075989 v -0.098947003484 0.138082996011 -2.316945075989 v 0.101992003620 0.141395002604 -2.211843013763 v -0.101993001997 0.141395002604 -2.211843013763 v 0.000000 0.141395002604 -2.211843 v 0.000000000000 0.141395002604 -2.211843013763 # 6 vertices g NSS_Uboat7b_deck_41 f 6 3 1 f 2 4 5 # 2 faces You can copy the above info and save as an obj and get both my working files. |
![]() |
![]() |
![]() |
#13 |
GLOBAL MODDING TERRORIST
|
![]()
If you look at the Y position? (It is an XYZ layout)
There are 4 exact matches in each file. Those are what we want to edit! Now the secret of how we find those in a Hex Editor for the changes! I use a site to convert the decimal numbers to a float as a start. I know the results will not find the float I want so I do a wild card search. In 010 I open the GR2 file and search for * C9 10 3E I get 17 results so I narrow those down by starting at the bottom of the results! Reason is the deck is far down in the GR2 file! I then compare the floats ahead and behind the find results to the obj files and narrow down to the floats I want! C7 C9 10 3E ends up being the match 9 times. We only need 4 so we look at all of them. |
![]() |
![]() |
![]() |
#14 |
GLOBAL MODDING TERRORIST
|
![]()
Now I do the something with the forward section I saved to get the final editing settings.
Once I find that information? I edit the GR2 file and it's as if it was never touched! I also recalculate the CRC so it is correct. I've Ghosted the file in a way that no Tool out there does! I don't put my name in it. I don't change the format. ![]() By the way? You can Ghost TDW's tools to do a strict import with just NotePad. |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|