![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 | |
GLOBAL MODDING TERRORIST
|
![]() Quote:
I do know I pointed out better ways to get imports to work and give a smaller GR2 file size. I actually started the code to add to objsort back then that would produce a file ready for import that solved a lot of issues and jumped past the programs problems. Pretty sure he started hateing me again about that time. ![]() Get me an example with all the needed files and send it to my e-mail. Without going back through that thread? I'm pretty sure you can hand edit the obj files to fix somethings. Not the best way to do it but it can be coded. ![]() Last edited by Jeff-Groves; 02-03-19 at 01:26 PM. |
|
![]() |
![]() |
![]() |
#2 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#3 |
GLOBAL MODDING TERRORIST
|
![]()
I seem to be fairly good at working around issues.
![]() I also know the secret (really not that secret) as to how the GR2 stores models and how TDW's program can be tricked. May be time to start a new thread about things like this. |
![]() |
![]() |
![]() |
#4 | |
GLOBAL MODDING TERRORIST
|
![]() Quote:
I explain a lot there. (Try to ignore the bad stuff. ![]() I'm sure there's another thread somewhere that gives even better information. Maybe around page 105 of same thread. Last edited by Jeff-Groves; 02-03-19 at 05:12 PM. |
|
![]() |
![]() |
![]() |
#5 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]()
LOL
![]() Quote:
![]() What we should actually do, is encouraging people to use TDW's program (its most basic and important features are not so difficult to use after all) and to report any problem connected to its usage. In this sense, starting a new thread as a collector of reports and technical questions with their answers, would be a excellent service for the community and a good guide for you to know where to address your inspections and what needs to be fixed more urgently. ![]() I did, but I think you meant post #137. Anyway, as you said, I'll have to refresh my memory by re-reading that thread from the beginning... |
|
![]() |
![]() |
![]() |
#6 |
GLOBAL MODDING TERRORIST
|
![]()
Post #2060 is one place I talk about the GR2 files when We export them to obj.
![]() |
![]() |
![]() |
![]() |
#7 | ||
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
Quote:
![]() |
||
![]() |
![]() |
![]() |
#8 |
GLOBAL MODDING TERRORIST
|
![]()
Say we have 50 verts with their 50 normals.
But it has only 30 vts. (texture coords) Faces don't matter as those are stored in a separate area. GR2 stores with vt, vn, and vt in a structure. So we run out of vt's! TDW did some crazy stuff which does account for that but increases file size in a wild way. So all you need to do is add to the vt count to have a balanced file. They can be zero coords or re-use already used coords. It don't matter! Now Exported meshes from a GR2 HAVE this extra info! Once imported into say 3D Max? Max DUMPS the redundant stuff! So an export with NO modifications to the file WILL NOT have the extra info. That forces you to use TDW's strange import function and the result is a file MUCH larger then it needs to be. I believe there's a 'clean' import or something? That sees the file as proper for import and no extra processing is needed. Thus smaller file sizes. Somewhere in the Exporter thread or else where I PROVED this and gave the answer! I'll see if I still have objsort code and add to it to adjust for this. Last edited by Jeff-Groves; 02-04-19 at 01:38 PM. |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|