![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
05-07-12, 05:57 PM
|
#1201 | |
|
The Old Man
![]() Join Date: May 2007
Location: München / Germany
Posts: 1,482
Downloads: 426
Uploads: 0
|
Quote:
Thank you! From the exporter's all correct!
|
|
|
|
05-07-12, 06:25 PM
|
#1202 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Hi Tomi
Today I tried to understand why some meshes do not have the same number of vertices after open it with 3DWings without finding why ... otherwise, for 3DSMax export options I found it to be at 9 the precision option, and check the box "optimizes: texture coord" for the check box "Normal", I have not all understand, for example: the "wheel A" in 3DSMax, I have the right number of Vertices and normals, but when exporting I no longer have the same number of normals 61 instead of 67 ?!? with the normal box checked, and if I uncheck it , I end up with 156 normals But 3DWings redraw them ![]() Ps: for the material (textures) it is pointless to change them because they are assigned by the .GR2 and not by the .mtl or .obj
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok Last edited by BIGREG; 05-07-12 at 06:40 PM. |
|
|
05-07-12, 07:58 PM
|
#1203 | |
|
The Old Man
![]() Join Date: May 2007
Location: München / Germany
Posts: 1,482
Downloads: 426
Uploads: 0
|
Old post from good friend !
Quote:
READ THIS !! Old post from good friend ! Hi Tomi. On that object, the model needs to be cleaned up, as it has lots of excess geometry. I think part of your problem is also using 'optimise' when you export. Your model is very very small in dimensions - I normally model at 1000 times the scale required and scale it down to 0.001 when I export. When you export with optimise on, the exporter combines all close vertices together. The problem with this is: Your model has in some places two planes almost back to back, sort of like a shell, so that when you optimise, the game welds all the vertices together and it gets it all wrong. You get vertices welded to triangle that are facing completely the wrong way and this causes all the black triangles. Where a triangle is welded to a triangle that is pointing the other way, this causes the graduation of to black towards that vertex. It also doesn't bake out on the AO map properly either and you are not using the texture as efficiently as possible. To see the problem with your model, select the LU_ID9 model collection, attach them all together and convert them to an Editable Poly. Select vertex mode and then select all the vertices. Click on the Weld dialog button and selecte weld threshold of 0.0 - You will see that the model shape does not change, but the triangle count will fall by about 3,000 triangles - meaning that you have excess geometry that is all overlapping itself. Check this as well in S3D - The ENGIN ROOM_LU_09 node will probably have much less triangles (about 3,000 less) as the optimise will have collapsed them all onto each other. So the problem is two fold, the excess geometry is causing the AO map to not bake properly, also the optimise is making you lose control of your model, your model needs to be stripped of the excess geometry and finally the automatic texture mapping for the AO channel 2 is too spaced out. There's a lot of work to do! ------------- Hi Tomi, Hitman very kindly translated this step by step guide, so as to be clearer. Wähle crewman (Manschaftsmitglieder) aus, rechts klicken und dann geh zu Group- >Explode Alle Objekte unwählen Wähle Crewman mesh aus Wähle 'Editable Mesh' in den stack (?) aus, und dann füge einen 'Poly Select' modifier (Modifizierer) hinzu, geh ins Element Modus (Taste 5) und wähle Hände und Brust aus. ![]() Füge einen 'Normal' modifier (Modifizierer) den 'Flip Normals' tick (?) hinzu, und sei sicher dass 'Unify Normals' nicht ausgewählt ist. ![]() Füge einen weiteren 'Poly Select' modifier (Modifizierer) in den stack. Wähle nichts aus - dies ist nur ein Kurzweg um sicher zu sein, dass den 'Skin' Modifier in den vollen mesh (Model) wirkt. ![]() Zuletzt, an den shell modifier kicken, und die animation durch bewegen des Zeitkontrol prüfen. Alle Objekte zusammen binden falls nötig. Du könntest auch die normals flippen durch direkt ins Editable Mesh gehen, die polys auswählen, und dann in die 'Normals' Abteilung in 'Surface Properties' Flip klicken. Aber da es ein kompletes Element ist, das flippen brauchte, war dies der schnellste und einfachste Weg es zu tun. Um den Modell zu exportieren: Den mesh wählen und File->Export auswählen Wähle OBJ und ein Archiv mit Name 'anim0000.obj' oder ähnlich. Sei sicher dass die Optimisierung Optionen nicht ausgewählt sind. ![]() Das wird dein Modell with alle Scheiteln exportieren, zusammen 1903 ![]() Der Schlüssel um alle frames (Rahmen?) zu exportiern, ist sicher zu sein dass Scheitel Optimisation ausgewählt ist. Was diese Option tun wird, ist alle Scheiteln die eng nah sind zusammen zu schweissen. Da dein Modell animiert ist, verschiedene Scheiteln werden nah in verschiedene Zeiten sein, und die geschweisste Scheiteln werden insgesamt nicht immer gleich soviele sein. SH4 wird das nicht mögen, und wird nicht wissen, welche Scheiteln zu bewegen, weil Scheitel 1234 nicht derselbe ist als in die letzen frames (Rahmen?), und um alles schlimmer zu machen, Scheitel 1903 mag vielleicht sogar nicht mal existieren. Dieses Bild zeigt den Ergebnis wenn du mit Scheitel Optimisation exportierst. Wie du sehen kannst, 30 Scheitel sind optimisiert worden. ![]() In S3D, importiere den 3D Modell. Nach Voreinstellung, S3D wird es mit ungefähr 20 fps importieren, du wirdst also deine Animation fps einstellen müssen (Verdoppeln), da sie jetzt bei 10 fps ist. Schatten: Ich glaube du weisst schon wie Schatten maps gemacht werden, also einfach die Animation mit del Schatten-Map exportieren, dann dein Schatten-Map (AO) wie immer machen, dann die UV Koordinaten für den AO Map als anim0000-uv2.uvw speichern, und es für die übrige Animation Archiven kopieren. Dann natürlich den Schatten-Map in den Material den du für deine Manschaft gemacht hast, hinzufügen. >>>>>>>>> Original English: <<<<<<<<<<<< To correct the flipped faces: Select crewman, right click and 'isolate Selection', then go to Group->Explode. Deselct all objects. Select Crewman mesh Select 'Editable Mesh' in the stack and add a 'Poly Select' modifier, go into element mode (key 5) and select the hands and torso. <JPEG 1> Add a 'Normal' modifier to the tick 'Flip Normals' and make sure 'Unify Normals' is unticked. <JPEG 2> Add another 'Poly Select' modifier to the stack. Don't select anything - this is just a shortcut to make sure the 'Skin' Modifier operates on the complete mesh. <JPEG 3> Finally, click on the shell modifier and check the animation by scrubbing the time slider. Regroup all the objects if you need to. You can flip the normals by going directly into the Editable Mesh and selecting the polys and clicking Flip in the 'Normals' section of 'Surface Properties', but as it was a complete element that needed flipping, this was the quickest and easiest way to do it. To export the model: Select the mesh and File->Export Selected Choose OBJ and select a file name of 'anim0000.obj' or similar. Make sure the optimize options are unticked. <JPEG 4> This will export your model with all the vertices, in total 1903 <JPEG 5> The key to exporting all the frames is to make sure that optimize vertices is unticked. What this option will do is take any vertices that are very close together and will weld them together. As your mesh is animated, different vertices will be close at different times and the number of vertices welded together will change, causing the mesh to have a different vertex count. SH4 won't like this as it doesn't know which vertices to move, as vertex 1234 is not the same as it was in the last frames and to make matter worse,vertex 1903 might not exist. This screenshot shows the result if you export with optimize vertices turned on. As you can see, 30 vertices have been 'optimized' out.: <Jpeg 5a> In S3D, import the 3D model. By default S3D will import it at around 20 fps, so you will need to adjust your frame times (double them) as your animation is at 10 fps. Shadows: I think you know how to do shadow maps, so basically to export the animation with a shadow map, then bake your shadow (AO) map as you would normally, then save the UV co-ordinates for the AO map as anim0000-uv2.uvw and copy it for the remaining animation files. Then obviously add the shadow map to the material you have created for your crewman. __________________ -------------------------------- This space left intentionally blank. This is the same problem i have by SH4 Animation with wrong Flipping Face sides, thats is same problem with Normals /Vertices by import to SH5 Spacial Thankless for---->> Nisgeis >>> YOU Seen by the export NORMALS are out !! In the explorer is 2x Normals Fields. Hook out to take in all thees .. Last edited by Tomi_099; 05-07-12 at 08:59 PM. |
|
|
|
05-08-12, 08:53 AM
|
#1204 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
HiThank Tomi for this tutorial,But nothing to do when i make that i have more vertices 378->382Here a compare view in Notepad+ : ![]() I think there is a problem of inversion ?!? ![]()
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok Last edited by BIGREG; 05-08-12 at 10:19 AM. |
|
|
05-08-12, 11:34 AM
|
#1205 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
TDW could you help us
![]() I tried everything but nothing to do, I tried with Blender and I have a problem of Material index in .mtl ![]() ![]() Edit:I just found a nice little free software,to view objects and create "normal map", for those interested it is called xNormal : http://www.xnormal.net/1.aspx
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok Last edited by BIGREG; 05-08-12 at 12:54 PM. |
|
|
05-09-12, 04:58 AM
|
#1206 |
|
Sea Lord
![]() Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,944
Downloads: 42
Uploads: 0
|
first thought in trying it, but then decided to capitulate on this...extremly complicated stuff...great to see you hard working on this! my compliments!
__________________
|
|
|
05-09-12, 03:28 PM
|
#1207 |
|
Sea Lord
![]() Join Date: Mar 2007
Posts: 1,897
Downloads: 172
Uploads: 0
|
I agree ![]()
__________________
What we do in life echoes in Eternity |
|
|
05-09-12, 06:33 PM
|
#1208 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
HIEdit : False alarm , I continue to seek a solution
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok Last edited by BIGREG; 05-09-12 at 06:54 PM. |
|
|
05-16-12, 09:23 AM
|
#1209 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Hello TDW
![]() I was wondering if: - Ability to change the material used by each "subsets" (number of identical map used by several "subsets") -Possibility to export / import of "subset" alone (without exporting / importing the entire mesh) - Watch the problem of format. "OBJ" the only software capable of exporting in the correct format is: 3DWings (I tried more than 20 programs) -Ability to import just the coordinates of UVW Bug: When exporting to an existing file name, already present Progress: I managed to import meshes with errors of vertices, by welding two vertices (which gives me a lot of problems "explosion" of the mesh, if it is not good vertices offending) Voila, I hope you have a little time to devote to your editor
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok |
|
|
05-16-12, 07:41 PM
|
#1210 |
|
Ace of the deep .
|
I noticed while looking at the stock clouds with the editor
Silent Hunter 5\data\Env\cloud_models.GR2 I get a LOD error . OK , i notice LOD error on other files . Last edited by THE_MASK; 05-16-12 at 09:56 PM. |
|
|
05-18-12, 08:12 PM
|
#1211 |
|
Black Magic
![]() |
On my plane flight home from Portland today I wrote the code to use my second importer. This will allow you to import mesh data that is different from the original (more/less verticies only currently). Now I need some OBJ exports that have more/less verticies from the original to test it. I know BIGREG has some, anyone else? Send them my way
|
|
|
05-19-12, 01:49 AM
|
#1212 | |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
Hi TDW
![]() For vertices, it is still more, after export with 3dwings (1 vertices per subset, on average), You can try to export / import the wheel_A TDC, there is only 1 vertex in addition, after export under 3DWings. But if you really need "meshes" modified Tell me and I will send them ![]() At the right, I found a 3DWings with Integrated plugins (ManifoldLab): http://s331378245.onlinehome.us/ which opens large files, unlike the original version Quote:
and I have not seen any errors ?!But with this one :
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok Last edited by BIGREG; 05-19-12 at 04:34 AM. |
|
|
|
05-19-12, 07:34 AM
|
#1213 | |
|
Black Magic
![]() |
Quote:
I'll try exporting some items with Wings3D to see if the number of vertices alters. If you can I'd like for you to send me your files that have more vertices than the original export ![]() The images found error above is normal and expected. The app currently doesn't have the ability to read this image data. Just keep clicking ok when you get this 'error'. Eventually the character/body parts will show |
|
|
|
05-19-12, 09:01 AM
|
#1214 |
|
Grey Wolf
![]() Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
|
I was wondering if:
- Ability to change the material used by each "subsets" (number of identical map used by several "subsets") I'm pretty sure you have the ability to do this currently in the mesh treeview under the materials node. Right click the material. Not the Map,But the material used by the subset I have try with right click in the meshes menu, but nothing ,just view choice and in material menu is i change one the other change ![]() -Possibility to export / import of "subset" alone (without exporting / importing the entire mesh) The ability to do this has not been coded. It relied on my second importer which I finally coded in so I should be able to add this soon. - Watch the problem of format. "OBJ" the only software capable of exporting in the correct format is: 3DWings (I tried more than 20 programs) Yes the OBJ format is currently the only format the app supports. I have some Blender scripts to look at but haven't looked at them yet. I plan to add additional formats but that will be later on. Not other format ,But otherwise written the .OBJ -Ability to import just the coordinates of UVW You have this ability currently. When you see the import screen uncheck vertex data and normal data (and AO data if you want the diffuse UVW only). Now you will only import texture coordinate data. Yes but the vertice need to correspond ? Bug: When exporting to an existing file name, already present What's the bug? If I try to save a mesh on a file already exists (rewrite a file on .OBJ) gives me a freeze,i have the windows "do you want replace the file" But nothing the windows freeze impossible to click "Yes"
__________________
~~~~BigReg~BigRegOne~~~~ ![]() "Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water." Proverbe Shadok Last edited by BIGREG; 05-19-12 at 09:23 AM. |
|
|
05-19-12, 02:02 PM
|
#1215 | |
|
Black Magic
![]() |
Quote:
![]() Oh, I think I now understand what you're asking. You want to give a subset a different material? I just tried to do that and I didn't provide a way to do that. I'll work on it! |
|
|
|
![]() |
|
|
