Difference between revisions of "SFM/Common issues and questions"

From Valve Developer Community
< SFM
Jump to: navigation, search
(How do I import custom audio?)
Line 1: Line 1:
{{toc-right}}
+
{{Toc-right}}
  
{{Note|The SFM is an internal tool made by Valve for its own animators. While you can do some amazing things with it, it has very few safeguards, and it requires a high-powered gaming computer to run well.}}
+
{{Note|The SFM is an internal tool made by Valve for its own animators. While you can do some amazing things with it, it has very few safeguards, and it requires a high-powered gaming computer to run well.}}
  
 
== Installation and setup ==
 
== Installation and setup ==
 
 
=== Why can't I run the SFM on my laptop? ===
 
=== Why can't I run the SFM on my laptop? ===
 
 
The SFM requires a substantial gaming system to run well. Laptops with embedded graphics chips or small screens are unlikely to be able to run the SFM. For more information about minimum hardware requirements, see [[SFM/Installation|Installation]]. If your laptop has a powerful video chip that is capable of running other 3D software without any problems, check your driver settings; it is possible that it may have incorrectly categorized the SFM as a "low performance" application.
 
The SFM requires a substantial gaming system to run well. Laptops with embedded graphics chips or small screens are unlikely to be able to run the SFM. For more information about minimum hardware requirements, see [[SFM/Installation|Installation]]. If your laptop has a powerful video chip that is capable of running other 3D software without any problems, check your driver settings; it is possible that it may have incorrectly categorized the SFM as a "low performance" application.
  
 
=== Why does my viewport have a white line across it or look washed out? ===
 
=== Why does my viewport have a white line across it or look washed out? ===
 
 
Your computer does not meet the Source Filmmaker's [[SFM/Installation|minimum requirements]].
 
Your computer does not meet the Source Filmmaker's [[SFM/Installation|minimum requirements]].
  
 
== Layout ==
 
== Layout ==
 
 
=== My SFM window is the wrong size and I can't reach the menus. How do I reset it? ===
 
=== My SFM window is the wrong size and I can't reach the menus. How do I reset it? ===
 
 
Click the Reset Layouts option in the Layout section of the Windows menu (Windows -&gt; Layouts -&gt; Reset Layouts).
 
Click the Reset Layouts option in the Layout section of the Windows menu (Windows -&gt; Layouts -&gt; Reset Layouts).
  
 
== Viewport navigation ==
 
== Viewport navigation ==
 
 
=== Why does my camera not move sometimes in the viewport? ===
 
=== Why does my camera not move sometimes in the viewport? ===
 
+
The camera might be animated. For more information, see "The scene camera and the viewport," in [[SFM/Cameras overview|Cameras overview]].
The camera might be animated. For more information, see "The scene camera and the viewport," in [[SFM/Cameras overview|Cameras overview]].
 
  
 
== Game mode and movie mode ==
 
== Game mode and movie mode ==
 
 
=== I exited game mode with {{key|Alt}}+{{key|Tab}}; how do I get my mouse pointer back? ===
 
=== I exited game mode with {{key|Alt}}+{{key|Tab}}; how do I get my mouse pointer back? ===
 
 
You have to exit game mode with {{key|F11}} before you can move your mouse pointer in movie mode.
 
You have to exit game mode with {{key|F11}} before you can move your mouse pointer in movie mode.
  
 
=== Can I record gameplay in a game other than TF2? ===
 
=== Can I record gameplay in a game other than TF2? ===
 
 
Not at this time.
 
Not at this time.
  
 
== Animation tips ==
 
== Animation tips ==
 
 
=== How can I move a gun to the position of a character's hand? ===
 
=== How can I move a gun to the position of a character's hand? ===
 
+
Lock the gun to the hand, use the Zero preset on the gun's animation, and unlock the gun. For more information, see [[SFM/Working with locks|Working with locks]] and [[SFM/List of procedural presets|List of procedural presets]].
Lock the gun to the hand, use the Zero preset on the gun's animation, and unlock the gun. For more information, see [[SFM/Working with locks|Working with locks]] and [[SFM/List of procedural presets|List of procedural presets]].
 
  
 
=== How can I make a gun follow a hand's existing animation? ===
 
=== How can I make a gun follow a hand's existing animation? ===
 
+
Lock the gun to the hand, use the Playhead preset on the gun's animation, and unlock the gun. For more information, see [[SFM/Working with locks|Working with locks]] and [[SFM/List of procedural presets|List of procedural presets]].
Lock the gun to the hand, use the Playhead preset on the gun's animation, and unlock the gun. For more information, see [[SFM/Working with locks|Working with locks]] and [[SFM/List of procedural presets|List of procedural presets]].
 
  
 
=== How can I animate the scene camera orbiting around a character? ===
 
=== How can I animate the scene camera orbiting around a character? ===
 
 
Select the camera, place the pivot on the character, and use the rotation manipulator to move the camera in a circle around the character.  For more information, see [[SFM/The screen manipulator|The screen manipulator]] and [[SFM/The rotation manipulator|The rotation manipulator]].
 
Select the camera, place the pivot on the character, and use the rotation manipulator to move the camera in a circle around the character.  For more information, see [[SFM/The screen manipulator|The screen manipulator]] and [[SFM/The rotation manipulator|The rotation manipulator]].
  
 
=== How do I create smooth camera motion in the SFM? ===
 
=== How do I create smooth camera motion in the SFM? ===
 
 
You can puppeteer the viewport manipulator with left drag and the WASDZX keys and hitting the spacebar. You must have the animation set for the active camera selected and be in the motion editor with all of time selected for this to work. Afterwards, you can apply the "smooth" preset, or select a custom region of time with falloff and use the "round" preset.  
 
You can puppeteer the viewport manipulator with left drag and the WASDZX keys and hitting the spacebar. You must have the animation set for the active camera selected and be in the motion editor with all of time selected for this to work. Afterwards, you can apply the "smooth" preset, or select a custom region of time with falloff and use the "round" preset.  
  
 
=== How can I pose the Scout's dogtags or the Soldier's helmet straps? ===
 
=== How can I pose the Scout's dogtags or the Soldier's helmet straps? ===
 
 
Many less commonly modified controls are hidden on a variety of models by default. You can see these hidden controls by toggling "show hidden controls" from the options menu in the animation set editor. You can also show and hide selected controls from the context menu.  
 
Many less commonly modified controls are hidden on a variety of models by default. You can see these hidden controls by toggling "show hidden controls" from the options menu in the animation set editor. You can also show and hide selected controls from the context menu.  
  
 
=== I want to create facial animation—why can't I see the Phoneme and Emotion tabs? ===
 
=== I want to create facial animation—why can't I see the Phoneme and Emotion tabs? ===
 
+
You may not have imported the "hwm" version of the character model. This is a higher-quality version of the model that is used for facial animation and lip-sync. Try adding a new model, and type "hwm" into the Filter text box at the bottom of the model browser. You'll see a list of all nine TF hwm models. Pick the one you want, and add it to your shot. You should see the Phoneme, Viseme, and Emotion tabs now.
You may not have imported the "hwm" version of the character model. This is a higher-quality version of the model that is used for facial animation and lip-sync. Try adding a new model, and type "hwm" into the Filter text box at the bottom of the model browser. You'll see a list of all nine TF hwm models. Pick the one you want, and add it to your shot. You should see the Phoneme, Viseme, and Emotion tabs now.
 
  
 
=== How can I make my movie feel more cinematic? ===
 
=== How can I make my movie feel more cinematic? ===
 
 
Try narrowing the field of view using one of the lens presets to mimic a real world lens. Movies are rarely shot with a wide angle lens on every shot.  
 
Try narrowing the field of view using one of the lens presets to mimic a real world lens. Movies are rarely shot with a wide angle lens on every shot.  
  
 
=== How can I avoid gimbal lock in the SFM? ===
 
=== How can I avoid gimbal lock in the SFM? ===
 
+
You don't have to, because the SFM uses quaternion rotation instead of Euler rotation. The XYZ curves and XYZ manipulator handles are included for convenience, not because the SFM uses Euler rotation. You may notice that while you are adjusting the curves in the Graph Editor, the other "XYZ" channels are adjusting slightly and will insert keys even if those curves are not selected. But don't worry; when the other channels auto-adjust this way, their actual animation will not change. This is because the Graph Editor is operating on top of the quaternion data, converting from XYZ as you work. The upshot of all this is that you should not be able to encounter gimbal lock in the SFM.
You don't have to, because the SFM uses quaternion rotation instead of Euler rotation. The XYZ curves and XYZ manipulator handles are included for convenience, not because the SFM uses Euler rotation. You may notice that while you are adjusting the curves in the Graph Editor, the other "XYZ" channels are adjusting slightly and will insert keys even if those curves are not selected. But don't worry; when the other channels auto-adjust this way, their actual animation will not change. This is because the Graph Editor is operating on top of the quaternion data, converting from XYZ as you work. The upshot of all this is that you should not be able to encounter gimbal lock in the SFM.
 
  
 
== Content creation ==
 
== Content creation ==
 
 
=== How can I get my models and maps to work with the SFM? ===
 
=== How can I get my models and maps to work with the SFM? ===
 
+
If you want to use additional models or maps, beyond those that come with the SFM, recompile them first. This includes any models or maps from Team Fortress 2, or any other Source game. For information about compiling models, see [[Compiling a model]].  For information about compiling maps, see [[Saving and Compiling]].
If you want to use additional models or maps, beyond those that come with the SFM, recompile them first. This includes any models or maps from Team Fortress 2, or any other Source game. For information about compiling models, see [[Compiling a model]].  For information about compiling maps, see [[Saving and Compiling]].
 
  
 
=== How do I change a model's materials? ===
 
=== How do I change a model's materials? ===
 
 
Find the .vmt that the model is using and copy it into your own mod. The way source modding works, any files of the same name and location are used instead of the models in tf or tf_movies so you can tweak it however you want. The [https://developer.valvesoftware.com/wiki/Category:Material_System Source developer wiki] can tell you more.  
 
Find the .vmt that the model is using and copy it into your own mod. The way source modding works, any files of the same name and location are used instead of the models in tf or tf_movies so you can tweak it however you want. The [https://developer.valvesoftware.com/wiki/Category:Material_System Source developer wiki] can tell you more.  
  
 
== Working with shots ==
 
== Working with shots ==
 
 
=== Why does my animation stop too soon? ===
 
=== Why does my animation stop too soon? ===
 
+
You may need to make your shot longer. For more information, see [[SFM/Manipulating shots|Manipulating shots]].
You may need to make your shot longer. For more information, see [[SFM/Manipulating shots|Manipulating shots]].
 
  
 
== Audio ==
 
== Audio ==
 
 
=== How do I import custom audio? ===
 
=== How do I import custom audio? ===
 
 
Make sure your audio is a 44.1khz 16bit .wav file and save it somewhere under your mod/sounds directory. MP3's also work, but they don't scrub well. if you want to extract lip sync from a sound file, make sure there is only voice in the file with no background noise or music.
 
Make sure your audio is a 44.1khz 16bit .wav file and save it somewhere under your mod/sounds directory. MP3's also work, but they don't scrub well. if you want to extract lip sync from a sound file, make sure there is only voice in the file with no background noise or music.
  
 
=== How do I disable reverb on audio effects? ===
 
=== How do I disable reverb on audio effects? ===
 
 
Put a # in front of your path for the sound in the element viewer, and it will be played regardless of the soundscape the player is currently standing in.
 
Put a # in front of your path for the sound in the element viewer, and it will be played regardless of the soundscape the player is currently standing in.
  
 
== Rendering ==
 
== Rendering ==
 
 
=== I am seeing speckles (noisy shadows), how can I remove them? ===
 
=== I am seeing speckles (noisy shadows), how can I remove them? ===
 
 
[[File:sfm ao speckles.png|thumb|right|180px|SSAO speckles (click to see)]]
 
[[File:sfm ao speckles.png|thumb|right|180px|SSAO speckles (click to see)]]
  
Line 108: Line 79:
  
 
=== Why don't I see the option to render at 1080p in the export movie dialog? ===
 
=== Why don't I see the option to render at 1080p in the export movie dialog? ===
 
+
To render at 1080p, you have to add ''–sfm_resolution 1080'' to your SFM launch options. For more information, see [[SFM/Rendering at 1080p|Rendering at 1080p]]. If you need help setting the launch options, see [https://support.steampowered.com/kb_article.php?ref=1040-JWMT-2947 Setting Game Launch Options].  
To render at 1080p, you have to add ''–sfm_resolution 1080'' to your SFM launch options. For more information, see [[SFM/Rendering at 1080p|Rendering_at_1080p]]. If you need help setting the launch options, see [https://support.steampowered.com/kb_article.php?ref=1040-JWMT-2947 Setting Game Launch Options].  
 
  
 
== Sharing your movies ==
 
== Sharing your movies ==
 
 
=== How can I publish my movie to YouTube? ===
 
=== How can I publish my movie to YouTube? ===
 
 
On the '''File''' menu, click '''Sharing''', and then click '''Publish Movie to YouTube and Steam'''.  In the dialog box that comes up, type in your YouTube username and password.  If you don't already have a YouTube account, click '''Create Account'''.  Note that currently, the SFM does not support 2-step verification.
 
On the '''File''' menu, click '''Sharing''', and then click '''Publish Movie to YouTube and Steam'''.  In the dialog box that comes up, type in your YouTube username and password.  If you don't already have a YouTube account, click '''Create Account'''.  Note that currently, the SFM does not support 2-step verification.
  
 
== Resources ==
 
== Resources ==
 
 
=== What are some good resources I can use to learn to animate better? ===
 
=== What are some good resources I can use to learn to animate better? ===
+
Check out [[wikipedia:12 basic principles of animation|12 basic principles of animation]], The Illusion of Life, Timing for Animation, and Acting for Animators.
Check out [http://en.wikipedia.org/wiki/12_basic_principles_of_animation http://en.wikipedia.org/wiki/12_basic_principles_of_animation], The Illusion of Life, Timing for Animation, and Acting for Animators.
 
  
 
== Reporting bugs ==
 
== Reporting bugs ==
 
 
=== How do I report a bug, ask a question, or make a suggestion? ===
 
=== How do I report a bug, ask a question, or make a suggestion? ===
 
+
Visit the [http://forums.steampowered.com/forums/forumdisplay.php?f=1469 forums], and if your bug, question, or suggestion is not listed there, you might create a new forum entry. For bugs, you can also [[SFM/Bug reports|file a bug report]] and send it to [mailto:sfmbugs@valvesoftware.com sfmbugs@valvesoftware.com].
Visit the [http://forums.steampowered.com/forums/forumdisplay.php?f=1469 forums], and if your bug, question, or suggestion is not listed there, you might create a new forum entry. For bugs, you can also [[SFM/Bug reports|file a bug report]] and send it to [mailto:sfmbugs@valvesoftware.com sfmbugs@valvesoftware.com].
 
  
 
== See also ==
 
== See also ==
 
 
* [[SFM/Bug reports|Bug reports]]
 
* [[SFM/Bug reports|Bug reports]]
  
 
{{shortpagetitle}}
 
{{shortpagetitle}}
 +
 
[[Category:Source Filmmaker]]
 
[[Category:Source Filmmaker]]

Revision as of 22:35, 27 March 2016

Contents

Note:The SFM is an internal tool made by Valve for its own animators. While you can do some amazing things with it, it has very few safeguards, and it requires a high-powered gaming computer to run well.

Installation and setup

Why can't I run the SFM on my laptop?

The SFM requires a substantial gaming system to run well. Laptops with embedded graphics chips or small screens are unlikely to be able to run the SFM. For more information about minimum hardware requirements, see Installation. If your laptop has a powerful video chip that is capable of running other 3D software without any problems, check your driver settings; it is possible that it may have incorrectly categorized the SFM as a "low performance" application.

Why does my viewport have a white line across it or look washed out?

Your computer does not meet the Source Filmmaker's minimum requirements.

Layout

My SFM window is the wrong size and I can't reach the menus. How do I reset it?

Click the Reset Layouts option in the Layout section of the Windows menu (Windows -> Layouts -> Reset Layouts).

Viewport navigation

Why does my camera not move sometimes in the viewport?

The camera might be animated. For more information, see "The scene camera and the viewport," in Cameras overview.

Game mode and movie mode

I exited game mode with Alt+Tab ; how do I get my mouse pointer back?

You have to exit game mode with F11 before you can move your mouse pointer in movie mode.

Can I record gameplay in a game other than TF2?

Not at this time.

Animation tips

How can I move a gun to the position of a character's hand?

Lock the gun to the hand, use the Zero preset on the gun's animation, and unlock the gun. For more information, see Working with locks and List of procedural presets.

How can I make a gun follow a hand's existing animation?

Lock the gun to the hand, use the Playhead preset on the gun's animation, and unlock the gun. For more information, see Working with locks and List of procedural presets.

How can I animate the scene camera orbiting around a character?

Select the camera, place the pivot on the character, and use the rotation manipulator to move the camera in a circle around the character. For more information, see The screen manipulator and The rotation manipulator.

How do I create smooth camera motion in the SFM?

You can puppeteer the viewport manipulator with left drag and the WASDZX keys and hitting the spacebar. You must have the animation set for the active camera selected and be in the motion editor with all of time selected for this to work. Afterwards, you can apply the "smooth" preset, or select a custom region of time with falloff and use the "round" preset.

How can I pose the Scout's dogtags or the Soldier's helmet straps?

Many less commonly modified controls are hidden on a variety of models by default. You can see these hidden controls by toggling "show hidden controls" from the options menu in the animation set editor. You can also show and hide selected controls from the context menu.

I want to create facial animation—why can't I see the Phoneme and Emotion tabs?

You may not have imported the "hwm" version of the character model. This is a higher-quality version of the model that is used for facial animation and lip-sync. Try adding a new model, and type "hwm" into the Filter text box at the bottom of the model browser. You'll see a list of all nine TF hwm models. Pick the one you want, and add it to your shot. You should see the Phoneme, Viseme, and Emotion tabs now.

How can I make my movie feel more cinematic?

Try narrowing the field of view using one of the lens presets to mimic a real world lens. Movies are rarely shot with a wide angle lens on every shot.

How can I avoid gimbal lock in the SFM?

You don't have to, because the SFM uses quaternion rotation instead of Euler rotation. The XYZ curves and XYZ manipulator handles are included for convenience, not because the SFM uses Euler rotation. You may notice that while you are adjusting the curves in the Graph Editor, the other "XYZ" channels are adjusting slightly and will insert keys even if those curves are not selected. But don't worry; when the other channels auto-adjust this way, their actual animation will not change. This is because the Graph Editor is operating on top of the quaternion data, converting from XYZ as you work. The upshot of all this is that you should not be able to encounter gimbal lock in the SFM.

Content creation

How can I get my models and maps to work with the SFM?

If you want to use additional models or maps, beyond those that come with the SFM, recompile them first. This includes any models or maps from Team Fortress 2, or any other Source game. For information about compiling models, see Compiling a model. For information about compiling maps, see Saving and Compiling.

How do I change a model's materials?

Find the .vmt that the model is using and copy it into your own mod. The way source modding works, any files of the same name and location are used instead of the models in tf or tf_movies so you can tweak it however you want. The Source developer wiki can tell you more.

Working with shots

Why does my animation stop too soon?

You may need to make your shot longer. For more information, see Manipulating shots.

Audio

How do I import custom audio?

Make sure your audio is a 44.1khz 16bit .wav file and save it somewhere under your mod/sounds directory. MP3's also work, but they don't scrub well. if you want to extract lip sync from a sound file, make sure there is only voice in the file with no background noise or music.

How do I disable reverb on audio effects?

Put a # in front of your path for the sound in the element viewer, and it will be played regardless of the soundscape the player is currently standing in.

Rendering

I am seeing speckles (noisy shadows), how can I remove them?

SSAO speckles (click to see)

What you're seeing is a preview of ambient occlusion, which is a lighting technique that simulates certain aspects of real-world light and shadow. Leaving it on means that your rendered movie will have a more realistic look. But if you want to, you can turn it off in the render settings by right-clicking in the viewport.

To be noticeably smoothed out, ambient occlusion requires at least 64 samples of depth of field.

Alternatively, you may disable ambient occlusion by right-clicking in the viewport, clicking "rendering settings", and un-ticking Ambient Occlusion. This will have the benefit of increasing the framerate of the viewports, as well as decreasing rendering times.

Why don't I see the option to render at 1080p in the export movie dialog?

To render at 1080p, you have to add –sfm_resolution 1080 to your SFM launch options. For more information, see Rendering at 1080p. If you need help setting the launch options, see Setting Game Launch Options.

Sharing your movies

How can I publish my movie to YouTube?

On the File menu, click Sharing, and then click Publish Movie to YouTube and Steam. In the dialog box that comes up, type in your YouTube username and password. If you don't already have a YouTube account, click Create Account. Note that currently, the SFM does not support 2-step verification.

Resources

What are some good resources I can use to learn to animate better?

Check out 12 basic principles of animation, The Illusion of Life, Timing for Animation, and Acting for Animators.

Reporting bugs

How do I report a bug, ask a question, or make a suggestion?

Visit the forums, and if your bug, question, or suggestion is not listed there, you might create a new forum entry. For bugs, you can also file a bug report and send it to sfmbugs@valvesoftware.com.

See also