![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]()
Hi shipmates,
Anyone had ever used the TextureAnimationData controller so far in SH3 if so what the difference between TextureAnimationData and TextureAnimationData2? Would like to know the correct procedures to use it for my animated texture for compartment flooding. When i apply the controller it show first keyframe with usual option to add more via array item. Is it like animation you export each as obj or only the texture map on different keyframe a bit confuse about this one since it is the first time i use it in game. Also i think it is not in use anywhere in SH3 to see how the setting are adjust. Any help greatly appreciated ![]() Best regards Hans |
![]() |
![]() |
![]() |
#2 |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]()
Hi shipmates,
I did a lot of test with this controller here the main workflow : First i import the 3d model and select this option in s3d editor : ![]() After import i got this automatically assign to the 3d model node : ![]() ![]() As you can see the controller is applied to the 3d model node and show a texture map node in bottom so i don't have a clue if it work or not. Best regards Hans |
![]() |
![]() |
![]() |
#3 | |
Admiral
![]() Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
|
![]() Quote:
![]() ... you know i can't look this data in SH4 original files...
__________________
Alex ® ![]() Moses said: "Don't create yourself an idol"... |
|
![]() |
![]() |
![]() |
#4 |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]()
Hi Anvart,
Unfortunately hex is my weakness and if i start to learn the tool i will stop doing modding for awhile so it is not an option for me now. I sent a PM to Skwasjer let's see if he can shed some light on this one ![]() Best regards Hans |
![]() |
![]() |
![]() |
#5 |
Admiral
![]() Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
|
![]()
i think you made all... your texture is bigger then your UV mapping... may be on U-coordinate...
__________________
Alex ® ![]() Moses said: "Don't create yourself an idol"... Last edited by Anvart; 04-16-11 at 06:27 PM. |
![]() |
![]() |
![]() |
#6 |
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
|
![]()
The only difference is a different sub type iirc. Something like 0x8005 and 0x8000. I had to name it v2 because of that difference, but the controller is the same other than that. [edit] this difference I think had to do with being attached to either crew or just static objects. But I don't think the engine really cares whichever version you use.
This controller can be used to animate the UV-map. The 3D model is then fixed. A prime example is the coffee-damp above the mug in the captain room (look it up and play the anim). [edit] To try it out yourself, make two different UV-map layouts on the same model, and import it. You can get some crazy effects this way when warping the texture...
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
![]() |
![]() |
![]() |
#7 | |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]() Quote:
Thank for replying i want this to work badly, in wich mod this coffee mug is? Just give me a link or a name so i could search for it? Ok and you mean i have to put those uv maps in 3d model id window in S3D? Where we put our materials? So the way i did import it with those 10 frames of texture coordinates would have to be put in the material id window each one on top of the others? Sorry for the avalanche of questions but i want to show the power of those controllers to others so everyone can used it ![]() Best regards Hans |
|
![]() |
![]() |
![]() |
#8 | |
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
|
![]() Quote:
It is really confusing because i don't know if i have to apply texture on model since it is suppose to animate my texture coordinates. The only way to import it is via obj so the controller must be applied to the 3d model and not on texture? I am in complete fog with this right now and the water material animation would look so good in water flooding compartement with this animation if only we can make it work. Best regards Hans |
|
![]() |
![]() |
![]() |
#9 |
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
|
![]()
Your DAT-layout is correct. I don't see what specific problem you have? First you create the model, then make your initial UV layout. Save it as an OBJ. Then adjust the UV-layout and save again as new OBJ. And so on for the number of frames you want to end up with.
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
![]() |
![]() |
![]() |
|
|