SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-07-11, 12:50 PM   #11
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 879
Downloads: 10
Uploads: 1
Default

Moin Hans,
Quote:
Originally Posted by Hans Witteman View Post
Hi mate,

Ok now i get it s3d just take the keyframe generated by the bones animation

But so far we still cannot modify the based mesh?

Also when exporting animation frame in s3d what your workflow to make it work in game?

So if i do some morph animation then i just export it as keyframe or do i need to used the morph controller?

Best regards Hans
It does not matter how you create your animation. Use a bone system if you like. The SH engine will not care. All you need is a set/sequence of sequentially named *.obj files, e.g. Part_001.obj, Part_002.obj, ....

As your animation will consist of a sequence of frames, all you have to do is to export each of these frames to *.obj file format using sequential numbers. The very first *.obj file however must come with a corresponding *.mtl file. All other *.mtl files are obsolete and will be ignored by S3D.

The *.dat´s 3d_model node will hold the base frame/3d object while the rest of the animation will be put into the corresponding sub node holding all needed information about the deviation of each vertex during the animation, but no 3d model data at all. That´s why it is vital that the number of vertices is exactly the same for all *.obj files.

So, you can alter the based mesh, as you name it. But you can´t alter this one alone. As a result the animation will not work. There is one exception though. When you extract the base mesh and alter it without changing the number of vertices and without changing the triangles regarding their vertex dependencies (don´t know if that´s the right term) it will work. But to what use? This approach would be useful only if you want to change the texture mapping coords for the base texture or for the lightmap.

Regards,
DD
DivingDuck is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:31 PM.


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