![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
04-07-11, 10:45 PM
|
#1 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
I'm thinking the MeshAnimationData2 is based from a pose from an idle position or maybe even other positions based on different factors.
The idle position is not the same as the base mesh so animations would be distorted if based off of them as would any other cases. The first 0 frame of 0 timing could be a placer to grab the needed base information for all following frames. |
|
04-07-11, 11:12 PM
|
#2 | |
|
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,815
Downloads: 123
Uploads: 0
|
Quote:
Ok i think we are getting closer now let's me explain when we build a character rig the biped system used for animation have 2 states one is the default position of the character in cross shape pose, this pose is then move to the position where the animation will took place and when on position we pass in freeform animation mode. Maybe the first 0 is the neutral pose and the second the start of free form animation mode? Also when i start to animate a character i have to set the first keyframe manually to define base position for each limbs. We still think about that and comment on idea that come spawn in my mind. Best regards Hans |
|
|
|
04-07-11, 11:16 PM
|
#3 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
If we follow the StateMachine animation calls?
We may find the base for each Data2 That is IF that's what is going on.
|
|
04-07-11, 11:19 PM
|
#4 | |
|
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,815
Downloads: 123
Uploads: 0
|
Quote:
Could it be possible to use a decompiler to see the code executed when character animation occur with this i could probably identified what method was used for the rig and this could help you out maybe? Best regards Hans |
|
|
|
04-08-11, 02:23 AM
|
#5 |
|
Sea Lord
![]() Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,944
Downloads: 42
Uploads: 0
|
hey hans.
the "splattered-mesh-effect" is nothing new. its produced by the game, when changing a mesh. seems as if the coordinates are mixed up. privateer stated once the new mesh can not consist of more vertices than the former model. otherwise the game mixes them up. its just, what i experienced years ago, when trying to change the decals on the crew. it was simply impossible. even just changing the position of a vertice caused this effect.
__________________
|
|
|
04-08-11, 06:14 AM
|
#6 |
|
Grey Wolf
![]() Join Date: Jul 2006
Location: Germany
Posts: 879
Downloads: 10
Uploads: 1
|
Moin Hans,
did a few tests with S3D myself this morning. While exporting the 3d model and importing it straight back a lot of texture coordinates data got changed. Working with a crew body mesh the amount of texture coordinates got reduced while other objects from CR.dat (use a non modded version!) ended up with a remarkably higher amount of texture coords than before. So, the question is, will the tex coords be screwed on export via S3D or on import via S3D. I´ll have a look at that in hex asap. Regards, DD
__________________
|
|
|
04-08-11, 12:43 PM
|
#7 | |
|
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,815
Downloads: 123
Uploads: 0
|
Quote:
Yes texture coordinates even with slight modification they tend to change a lot for some obscure reason in the UVW algorithm. I guess you already aware of that but take in consideration that S3D editor have a built in feature that optimized the vertices from UVW layout and you have to de activated on import process in import window to make sure the UVW vertices count won't be alter. Best regards Hans |
|
|
|
04-08-11, 12:47 PM
|
#8 | |
|
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,815
Downloads: 123
Uploads: 0
|
Quote:
Yes it is because the vertex is move and it doesn't correspond anymore to the original vertices x,y,z, position in world space coordinates. Take note that i didn't change the vertices count only move the uvw chunk layout. Best regards Hans |
|
|
|
04-08-11, 02:19 PM
|
#9 |
|
Admiral
![]() Join Date: Jan 2006
Location: Russia ®
Posts: 2,481
Downloads: 122
Uploads: 1
|
Have you have compared vertices section of body model (in dat-file) before and after editing of UV coordinates and importing via S3D into dat-file (using hex editor)?
p.s. http://www.subsim.com/radioroom/show...0&postcount=14 Maybe I write not clear? The reason is known for a long time.
__________________
Alex ® ![]() Moses said: "Don't create yourself an idol"... Last edited by Anvart; 09-17-13 at 05:05 AM. |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
