SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [REL] S3D - Silent 3ditor (https://www.subsim.com/radioroom/showthread.php?t=119571)

ErdiFerenc 12-08-19 04:48 AM

Normal map issue
 
Hi!
Kapuhy unfortunatelly i dont know the solution for your problem, but I still have got one too.
I luckily imported the Seehund 3d model and added the Diffuse and the AO map, but as I tried the normal map, a strange problem appeared:

https://drive.google.com/file/d/1Ccd...ew?usp=sharing

Do someone know the solution?
Thanks!

gap 12-08-19 09:32 AM

Quote:

Originally Posted by kapuhy (Post 2638688)
[...] if I delete even a single vertice in Blender and then try to export the model again with exactly the same settings as before, I get "un expected token encountered" error.

[...]

What's funny - if I delete faces in Blender, export/import still works with those settings (despite the fact that deleting faces also destroys some vertices).

That's weird indeed. I suspect a file formatting issue, similar to what you have recently encountered with Gr2 Editor, but probably skwasjer will have a better idea on what can cause that kind of error.

An answer by him might take a while though, as he doesn't visit the forum too often. In the meanwhile, have you tried using the same workaround I had suggested to you in the Gr2E thread?

Quote:

Originally Posted by ErdiFerenc (Post 2639485)
Hi!
[...] I luckily imported the Seehund 3d model and added the Diffuse and the AO map, but as I tried the normal map, a strange problem appeared::

https://drive.google.com/file/d/1Ccd...ew?usp=sharing

Hi ErdiFerenc, nice project! If you want some feedback on your problem I suggest you to post another screenshot showing it more clearly, maybe accompanied by a verbal description. From the picture you have linked, I can clearly see that your new unit is nearly finished, but I have an hard time at seeing the normal map issue you are talking about :)

ErdiFerenc 12-08-19 02:18 PM

Hi,
thanks for the answer.
Is the resolution too low or what is the matter?
So some more screens:
https://drive.google.com/open?id=1od...8Ej6M8YGYjYcAU

If i enable the normal map a strange white line appears on the hull.On one side of the line is the normal map good, but on the other side it is inverted.I looks like the silent hunter can not decide which side of the hull is up and which down and balls up the normal map.
Thanks
:lurk:

propbeanie 12-08-19 05:36 PM

If that turm and other on-deck equipment are supposed to be on the submarine that is in the "water", then the node placements are "off" and the numbering relationships for such needs to be changed. However, the same problem exists in all of your screen grabs there that gap was referring to before, in that all the pictures have the same basic "perspective", in that it looks like the turm and deck gun etc., might be "stuck" to the top of your screen. If you could pull the camera back a bit further, so a person can see an overall of the sub in an image, and maybe do a close-up from the conn on the submarine, showing the relationship between it and what appears to be a turm "floating" in the sky?... :salute:

gap 12-09-19 09:05 AM

Quote:

Originally Posted by ErdiFerenc (Post 2639567)
Hi,
thanks for the answer.
Is the resolution too low or what is the matter?
So some more screens:
https://drive.google.com/open?id=1od...8Ej6M8YGYjYcAU

If i enable the normal map a strange white line appears on the hull.On one side of the line is the normal map good, but on the other side it is inverted.I looks like the silent hunter can not decide which side of the hull is up and which down and balls up the normal map.
Thanks
:lurk:

Hi again ErdiFerenc,

unfortunately making a diagnosis of your problem based on the pictures you have posted, is not an easy task. I see the white line on the port side of the hull (if I got you correctly that's your main issue), but it doesn't look like anything I have seen before. Provided that the 3D mesh you have imported is not flawed by some topological error which is worsened by the use of a normal map, the following tutorial on SH4 normal mapping might be of some use to you:

https://www.subsim.com/radioroom/sho...61&postcount=1

That's about all I can say without actually seeing your files. If you send them to me I might be able to offer you a better assistance :salute:


Quote:

Originally Posted by propbeanie (Post 2639596)
If that turm and other on-deck equipment are supposed to be on the submarine that is in the "water", then the node placements are "off" and the numbering relationships for such needs to be changed. However, the same problem exists in all of your screen grabs there that gap was referring to before, in that all the pictures have the same basic "perspective", in that it looks like the turm and deck gun etc., might be "stuck" to the top of your screen. If you could pull the camera back a bit further, so a person can see an overall of the sub in an image, and maybe do a close-up from the conn on the submarine, showing the relationship between it and what appears to be a turm "floating" in the sky?... :salute:

Hi propbeanie,

I think ErdiFerenc's unit is still a WIP. That floating conning tower seems to me a leftover from the submarine that he used as template for importing the Seehund, but let's focus on the normal map problem first :) :salute:

propbeanie 12-09-19 05:12 PM

Quote:

Originally Posted by gap (Post 2639687)
...
Hi propbeanie,

I think ErdiFerenc's unit is still a WIP. That floating conning tower seems to me a leftover from the submarine that he used as template for importing the Seehund, but let's focus on the normal map problem first :) :salute:

Aha! That would explain the "floating" turm... :arrgh!:

ErdiFerenc 12-17-19 02:16 PM

Thank you Gap.
Your private message box is full, so i cannot send anything to you.

ErdiFerenc 12-30-19 02:21 PM

Gap could you delete some of your private messages?
thank you

CapZap1970 05-30-20 01:52 PM

Hello:
I am trying to to use the S3D program to modify certain files in SH3 but for some reason I canīt install it. Every time I try it gives me error messages.
The error code is 2503 and 2502
I have Windows 10 installed

Any help with this is most welcome


Thanks.


CapZap

KaleunMarco 05-30-20 03:54 PM

Quote:

Originally Posted by CapZap1970 (Post 2673997)
Hello:
I am trying to to use the S3D program to modify certain files in SH3 but for some reason I canīt install it. Every time I try it gives me error messages.
The error code is 2503 and 2502
I have Windows 10 installed

Any help with this is most welcome


Thanks.


CapZap


the install process is fairly straightforward. don't install from the unzip process.
try moving the zip file to c:\temp. then unzip it there. then launch the msi file.
good luck.

CapZap1970 05-30-20 06:17 PM

Quote:

Originally Posted by KaleunMarco (Post 2674033)
the install process is fairly straightforward. don't install from the unzip process.
try moving the zip file to c:\temp. then unzip it there. then launch the msi file.
good luck.


No luck. It keeps giving me the same errors msg...


Just dowloaded it again, but it keeps giving me the same error msg. Installed the NET Framework 2.0 and the DirectX 9C as instructed, but no difference...

XenonSurf 05-31-20 06:31 AM

Quote:

Originally Posted by CapZap1970 (Post 2674072)
No luck. It keeps giving me the same errors msg...


Just dowloaded it again, but it keeps giving me the same error msg. Installed the NET Framework 2.0 and the DirectX 9C as instructed, but no difference...


These are the requisites for the program as it appears in the readme:


------------------
SYSTEM REQUIREMENTS

* Windows 2000, Windows XP (32/64 bit), Windows Vista (32/64 bit)
* Computer capable of running Silent Hunter ;)

IMPORTANT: The installer included in this package does NOT install the required components listed below. Please use the links to download the components if you don't have them installed on your computer:

* Microsoft .NET 2.0

Vista users can skip this component (.NET 2 comes out of the box with Vista).

For 32-bit editions of Windows:
http://www.microsoft.com/downloads/details.aspx?FamilyId=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en

For 64-bit editions of Windows:
http://www.microsoft.com/downloads/details.aspx?familyid=B44A0000-ACF8-4FA1-AFFB-40E78D788B00&displaylang=en

* Microsoft DirectX 9.0c (Managed)


---------------------


You should run DirectX 9.0c even if you have a later version, so files that the program needs get installed.


XS

DanielCoffey 05-31-20 08:05 AM

I am struggling to understand how to Export an entire ship to an OBJ file using S3D.


When I select the parent node of the .dat, the Export - 3D Model option is greyed out. If I move down the list to select the node that displays the ship in the render window, the Export - 3D Model is still greyed out. If I drill down and select a component of the ship such as the hull I can now Export -3d Model but of course I only get that part.


How do I export the entire model please?

XenonSurf 05-31-20 09:55 AM

Quote:

Originally Posted by DanielCoffey (Post 2674188)
I am struggling to understand how to Export an entire ship to an OBJ file using S3D.


When I select the parent node of the .dat, the Export - 3D Model option is greyed out. If I move down the list to select the node that displays the ship in the render window, the Export - 3D Model is still greyed out. If I drill down and select a component of the ship such as the hull I can now Export -3d Model but of course I only get that part.


How do I export the entire model please?


I don't think you can export an single node, you can export the 'raw' node which will only contain the header values. But you can export the entire dat file which is rather useless because you would have to remove a lot of nodes afterwards, so I don't see how useful it is.


What you must do is: Instead of exporting / importing, first you define child values, then you can copy-paste from another open file and adjust the index and parent numbers. That's what I did when adding torpedos to a playable ship.

DanielCoffey 05-31-20 10:00 AM

What I am hoping to do is export the entire ship and then view it in Blender in one operation. I won't be moving anything around on it.
At the moment it appears that I have to Export each part of the 3D Model individually then Import them into Blender as a group.

I did notice that the funnels are set to the same 0,0,0 as the hull but the deck accessories all have their own origin point and have to be put into place on the deck in Blender. It is almost like having to do your own Airfix Kit!


All times are GMT -5. The time now is 12:48 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright Đ 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.