GRUPO DE STEAM
Blender Source Tools BleST
GRUPO DE STEAM
Blender Source Tools BleST
395
JUGANDO
2,260
ONLINE
Fundado
8 de noviembre de 2013
Todas las discusiones > Help > Detalles del tema
Jill 23 JUN 2020 a las 11:10
Vertex animation plays fine in HLMV, broken in SFM
Hi, I'm trying to export a baked cloth simulation to a vertex animation for use in SFM.

So far I've:
Setup and baked the cloth sim
Exported it to an MDD
Applied the mesh cache modifier, pointing to the exported MDD
Added the vertex animation to the BleST export settings
Enabled "Generate sequence"
Pasted the BleST-generated QC segment into the QC file
Compiled

In HLMV, the animation appears perfectly fine. But when viewed in SFM's model browser or imported as a sequence on the model, the animation plays very slowly and only plays a short segment from near the end of the animation.

Is this a problem with SFM (which should support vertex animation, with it even working fine in SFM's HLMV) or am I doing something wrong that could cause this?

EDIT:
Publicado originalmente por Jill:
Late update on this, I figured this out a few hours ago.

I just stopped bothering with trying to use BleST's premade sequences and disabled the sequence feature. SFM then gives you direct access to the sliders to control the animation and that works just fine.

Thanks to everyone who tried to help regardless, what a weird issue.
Última edición por Jill; 24 JUN 2020 a las 12:56
< >
Mostrando 1-15 de 19 comentarios
xdshot 23 JUN 2020 a las 12:05 
Something wrong with qc i guess
Pte Jack 23 JUN 2020 a las 12:05 
Does the FPS rate you created the animation at in Blender = The FPS rate you set in your QC for the sequence and is it the same as the FPS rate for your clip?

Blender Default is 24FPS (unless you change it), $sequence "yada" "Yada.smd" FPS <Rate> (should be the same), SFM's default frame rate is also 24 FPS (unless you change it when you create a session).
Última edición por Pte Jack; 23 JUN 2020 a las 12:07
Jill 23 JUN 2020 a las 12:07 
Publicado originalmente por Pte Jack:
Does the FPS rate you created the animation at in Blender = The FPS rate you set in your QC for the sequence and is it the same as the FPS rate for your clip?

Yes. 60 in Blender, 60 in the QC, 60 in SFM
Pte Jack 23 JUN 2020 a las 12:08 
Publicado originalmente por Jill:
Publicado originalmente por Pte Jack:
Does the FPS rate you created the animation at in Blender = The FPS rate you set in your QC for the sequence and is it the same as the FPS rate for your clip?

Yes. 60 in Blender, 60 in the QC, 60 in SFM

Sheesh, didn't even get a chance to finish!! LOL Sorry don't know then!
Última edición por Pte Jack; 23 JUN 2020 a las 12:09
Jill 23 JUN 2020 a las 12:27 
Well, here's a link to the source files + blends if anyone else wants to take a stab at this. Be warned though that it's not pretty.

https://drive.google.com/file/d/1CpuJdA0oLClC-mGGCdNC72eG9PsSsC-z/view?usp=sharing
Pte Jack 23 JUN 2020 a las 12:49 
Just in the off chance you haven't seen this, it may help.

https://www.youtube.com/watch?v=zU9eMf5kKtg
Jill 23 JUN 2020 a las 12:56 
Publicado originalmente por Pte Jack:
Just in the off chance you haven't seen this, it may help.

https://www.youtube.com/watch?v=zU9eMf5kKtg

This is pretty much what I did, with the exception of the fact that BleST wouldn't export the animation just from baking. I had to export the baked animation as an MDD and then reapply it to the mesh using the Mesh Cache modifier to get BleST to actually export it.
Pte Jack 23 JUN 2020 a las 13:12 
Were you using the Eevee render engine or the Cycles engine? Eevee doesn't do some things that the Cycles engine does do... I know baking textures is one of them, but it may extend to baking period. You might want to switch engines, see if options change and try again.
Última edición por Pte Jack; 23 JUN 2020 a las 13:13
Jill 23 JUN 2020 a las 13:58 
Publicado originalmente por Pte Jack:
Were you using the Eevee render engine or the Cycles engine? Eevee doesn't do some things that the Cycles engine does do... I know baking textures is one of them, but it may extend to baking period. You might want to switch engines, see if options change and try again.

Seems odd that the render engine would change underlying functionality like that but stranger things have happened I suppose. I'll give it a shot next time I'm poking this.
Jill 24 JUN 2020 a las 6:33 
Publicado originalmente por Pte Jack:
Were you using the Eevee render engine or the Cycles engine? Eevee doesn't do some things that the Cycles engine does do... I know baking textures is one of them, but it may extend to baking period. You might want to switch engines, see if options change and try again.

As I expected switching to cycles did nothing.

I did manage to fix the issue with BleST not exporting baked animation, it seems when I tried previously it wasn't exporting properly because the default starting frame is 0, and apparently if one of the frames you have set isn't within range of the actual frames of the project BleST gets confused.

This doesn't bring me any closer to figuring out why the animation refuses to play properly in SFM though.
Pte Jack 24 JUN 2020 a las 9:29 
Well, Sorry Jill, I was only guessing and thought switching might give further options while baking or might fix the animation in SFM. Have you tried rolling back to 2.79b and BleST 2.10.2 to see if it works coming out of that mix? Other than that, I have nothing else to offer. But if it does work without modification coming out of the older mix, then there might be something wrong in the coding coming out of the new.
Última edición por Pte Jack; 24 JUN 2020 a las 9:31
xdshot 24 JUN 2020 a las 9:42 
Models should usually be bound to armature bone
xdshot 24 JUN 2020 a las 10:10 
Might only suggest to see how I did similar thing
https://mega nz/file/fQhDyAoS#EAehi7FBFAqTCMOXiZ7gLzU2EO3wIb1xKV2AEyn0PM4
Created all frames, edited controller, specified bone for flex driving
Though I must say, there's something with SFM as I have similar oddity when importing sequence...
xdshot 24 JUN 2020 a las 10:11 
You might want to just control bone itself as it specifies flexes states in range 0..1
xdshot 24 JUN 2020 a las 10:18 
Or just get rid of $boneflexdrivers and control BigReveal and multi_BigReveal flexes. First one "enables" animation, second specifies frame. Set BigReveal to 1 and Make linear interpolation for multi_BigReveal from 0 to 1 to playback animation.
< >
Mostrando 1-15 de 19 comentarios
Por página: 1530 50

Todas las discusiones > Help > Detalles del tema
Publicado el: 23 JUN 2020 a las 11:10
Mensajes: 19