![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
01-16-20, 10:43 AM
|
#1 |
|
GLOBAL MODDING TERRORIST
|
Somewhere in the conversion a few bytes are being skipped.
I have my suspicions why and I'll do more checking. Nice thing is I have version 10 of SweetScape! This version has a DeBug capability built in now. I'll run the script on DeBug and step through each conversion to find the exact spot causing the issue.
|
|
|
01-16-20, 05:58 PM
|
#2 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
Let me know if I can assist you in any way
|
|
|
|
01-16-20, 06:11 PM
|
#3 |
|
GLOBAL MODDING TERRORIST
|
Just pointing out this helps for future work.
|
|
|
01-16-20, 07:03 PM
|
#4 |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
With the negligible exception of the file I uploaded yesterday, so far your conversion scripts have worked flawlessly.
With their help, and with the use of few more tools (Grass GIS, the hgt data reader that OldCoder recompiled for us, a photoshop pgm importer/exporter, Ref's SH4 terrain data importer/exporter, and couple of spreadsheets I created for converting from pgm to obj format and for 'blending' seamlessly the data of two obj meshes), I was able to convert RW height data into in-game heights with unprecedented precision. At present we can rebuild directly in a 3D editor fairly realistic models of little islands, seabed reefs/trenches, cliffs, gulfs and entire coastlines which were poorly modelled in stock game. We can reliably predict how they will look in SH5, and we can check the positioning of various 3D objects relative to them, before importing them in game! This is exactly what I had in mind when I observed that, though an useful tool, the Terrain Editor built into the game was not accurate enough, and when I started bothering you and Pintea on the possibility of creating new tools
Last edited by gap; 01-16-20 at 07:19 PM. |
|
|
01-18-20, 04:12 PM
|
#5 |
|
GLOBAL MODDING TERRORIST
|
I'm starting to believe there may be bug in 010 causing the odd ball issue.
![]() I plan a few more tests to verify before I send off a bug report. |
|
|
01-18-20, 04:22 PM
|
#6 |
|
CTD - it's not just a job
|
Little endian versus big endian?...
__________________
"...and bollocks to the naysayers" - Jimbuna |
|
|
01-18-20, 04:55 PM
|
#7 |
|
GLOBAL MODDING TERRORIST
|
Found the problem!
Vert 8307 is 0.0000000e+0 on the Y Thus does not get converted to a hex output properly! Will code for that kind of situation. When you re centered the other files you were slightly off on the Y axis so it changed things a bit. Same vert is 1.0000000e-6 in the other file. Still think it's a bug to be honest. A zero should be converted to a float no matter what! Sent a bug report to SweetScape. Last edited by Jeff-Groves; 01-18-20 at 06:19 PM. |
|
|
![]() |
| Tags |
| enviromental mod, environment, terrain, trees, vegetation |
| Thread Tools | |
| Display Modes | |
|
|
