![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#61 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#62 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
@ gap,
E-Mail with new ObjSorter version sent. ![]() |
![]() |
![]() |
#63 |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]()
Thanks privateer, trying it out
![]() |
![]() |
![]() |
![]() |
#64 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
This version sets the usemtl line in the proper place now.
The G line still needs edited by hand but I'll get that adjusted in a bit I hope. Doc's got me on some good drugs right now. ![]() |
![]() |
![]() |
#65 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#66 |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]()
@ privateer
I followed your instructions: I prepared manually the mtl file for compatibility with MeshLab, filtered the model in MeshLab and re-exported it using the options you had recommended, I processed the obj file using your obj sorter v2, and last I added the subset names manually (I didn't re-edit the mtl file though). This time GR2Editor v .374.1 didn't throw any error on importing the sorted object (used the file previously edited by Targor as GR2 template). ![]() I was also surprised to see that now subsets are processed correctly. ![]() Anyway, when I tried saving the file, I got the message that some chains were broken, and GR2E refused to go on with the saving. ![]() I tried then with v 320.1 of TDW's program. This time no broken chain were reported, and yes, the newly generated file was much smaller than the old one ![]() I opened the new file in GR2 E v .374.1, to check that nothing was corrupted, but no, the model was rendered correctly and no error was thrown on opening the file. I was about to report full success but at the last minute I decided having a look in the new file with Goblin, and this is how it looked: ![]() Might it depend on the file that I imported the sorted meshes in, or on some other mistake on my part? Can you replicate my result? ![]() I feel we are just a step from the ultimate solution ![]() Last edited by gap; 12-14-13 at 07:48 PM. |
![]() |
![]() |
![]() |
#67 |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]()
Update:
I tried again importing the same sorted obj file as used in my previous attempt, but in a clean GR2 file (stock Iceberg01.GR2). This time GR2Editor v .374.1 didn't report any error on saving the file (so yes, something might be corrupted in Targor's file ![]() |
![]() |
![]() |
![]() |
#68 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
It's in the normals as done by Meshlab.
![]() Imported with no normals and that effect is gone. Doing some testing with Meshlab to see if the problem can be sorted out. |
![]() |
![]() |
#69 | ||
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
Might be unrelevant, but the Goblin render I have posted at post #66, reminds me of another screenie I took a while back: http://www.subsim.com/radioroom/show...postcount=3847 That one was the result of importing the obj file exported by Targor in 3ds Max (which is the one working so far), but using costal_guns_small.GR2 or ger_c3.GR2 -don't remember which one exactly- instead of Iceberg01.GR2, as base file for the importing. ![]() Quote:
![]() |
||
![]() |
![]() |
![]() |
#70 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Figured it out in Meshlab.
Now I have to repeat it a few times to be sure I have the filters correct. Here's the last import, with normals, useing Version 281_1 I use the Stuka as it's easy to view in game also. ![]() File size is not changed much through different tests, so that's a big plus. Another thing I did was do a new Alpha channel for the main texture when converting to DXT5 DDS format. I copied the Blue channel to the Alpha channel but that still needs some work. |
![]() |
![]() |
#71 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() ...but can you see that different UV regions have drastically different diffuse/reflection properties? It is as if each of them had its own material. I think I have never seen this before in Goblin ![]() |
|
![]() |
![]() |
![]() |
#72 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Yes, I see the regions getting the normals to cause that look is my guess at this point.
A coded smoothing effect maybe? ![]() It's a step in the right direction anyway. ![]() |
![]() |
![]() |
#73 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() Absolutely! ![]() |
|
![]() |
![]() |
![]() |
#74 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Here's a new Obj Sorter.
It now numbers the g object_ so you don't need to edit it. https://www.mediafire.com/?lzcrdp7mlx59jjf Checking the mesh I imported above, I see one of the Filters split some verts to cause the weird look. The Normals are great, just not the splitting of verts causeing dual normals in the same position. Last edited by Madox58; 12-16-13 at 04:46 PM. |
![]() |
![]() |
#75 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() Yep, the vertex splitting seem to happen along the seams of different UV regions. Does the new version of your sorter fix the problem, or not yet? |
|
![]() |
![]() |
![]() |
|
|