Thursday, October 29, 2009

Tuesday, October 20, 2009

Sunday, October 18, 2009

Maya: Render from command line

You know, normally we will render our scenes from:

[Rendering]

Render --> Batch Render.

However that involves opening our maya application overnight.

Here's how to render from command line:

go to the directory where the mb/ma file resides.

render <filename>

That is assuming that you've got all your file properties set correctly for rendering.
Easy eh?

More help here: http://www.wonderhowto.com/how-to/video/how-to-render-maya-scenes-from-the-command-line-249001/

Maya: Motion along path

Needed a short animation for motion along path to simulate running across forest.
Ah-har! This helps! Basically motion of camera along a certain path.
Phew! Thanks!

http://caad.arch.ethz.ch/info/maya/manual/UserGuide/Animation/KeyframeMoPath/06_animating_motion_paths.doc2.html


Basic animation how to:
http://www.expertrating.com/courseware/mayacourse/MAYA-Animation-Basics-1.asp

Monday, October 5, 2009

Creating mathematical symbols with MS Word

There are four sections to this document

  • Before you can use the Equation Editor
  • (Very) Basic operation of the Equation Editor
  • Shortcut Keys are your very best friend
  • Simonds tips on using the equation editor
Before you can use the Equation Editor

The other three sections of this document will work only if the Microsoft Equation Editor has been installed on the machine you are using; the Equation Editor comes with Microsoft Office but is not installed under a standard installation. The computers in the Sylvania CRC and Sylvania math classrooms all have the Equation Editor installed. On your home machine you probably will need to load your Microsoft office CD and do a custom install to install the Equation Editor. (It's easier to do than the phrase "custom install" implies. J ) All of the maneuvers described in this section of the document will need to be done at most once.

After installing the Equation Editor, you also want to customize your toolbar so that the Equation Editor button is easily accessible. (The button is already on the CRC and math classroom machines.)

The menu shown in Figure 1 was opened by selecting Tools - Customize from the toolbar menu across the top of the screen, then selecting the commands file-tab at the top of the dialogue box, then selecting the insert category on the left side of the box, and finally scrolling down on the right-side of the box until the Equation Editor button was in view. Once you have located the Equation Editor button, left-click and drag the button up to your toolbar menu.

Figure 1: Customizing your Toolbar

(Very) Basic operation of the Equation Editor

Once your Equation Editor button is in place, all you need to do to open an Equation Box is left-click that button. Upon your click an Equation Box like that shown in Figure 2 will appear as well as the Equation Editor Menu shown in Figure 3. (As a side note I should mention that the Equation Editor Menu has the unfortunate habit of sometimes opening directly on top of the location at which you are typing. L Should this happen, simply left-click and drag the solid strip across the top of the box until the box is out of the way.)


Figure 2: Equation Box

Figure 3: Equation Editor Menu
The Equation Editor Menu can be used to insert both symbols and templates for complicated mathematical expressions. For example, Figure 4 shows what you click to insert the Pi symbol; Figure 5 shows what to click to insert a fraction template.
Figure 4: Inserting a Pi symbol


Figure 5: Inserting a Fraction Template

Once a template has been inserted into your Equation Box, you need to look and see where inside the template the cursor is flashing. You then go ahead and type the information that goes into that location. To move to the next location in the template you press the Tab key. You also press the Tab key to exit the template. When you are done typing in your expression, you left-click anywhere outside of the Equation Box. If you need to edit an existing Equation Box you simply double-click anywhere over the expression contained within the box.

Shortcut Keys are your very best friend

Mousing all of your math symbols and templates gets real old real fast; thankfully there are shortcut keys that enable you to avoid your mouse in most circumstances. The shortcut keys are found in the Help Menu when you have an Equation Box open. I have copied the most commonly used shortcut keys into figures 6, 7, and 8.
Figure 6: Shortcut Keys for selected Math Templates

Figure 7: Shortcut Keys for after the fact symbol Embellishments

Figure 8: Shortcut keys for selected math symbols

Simonds tips on using the equation editor

  • Always add a full space before and after an equal sign, before and after a plus or minus sign, after a limit sign or integral sign, and before each limit on a definite integral. A full space is created inside an equation box by pressing Ctrl+Shift+Space Bar.
  • Always add a half space between a coefficient and a variable and before and after the arrow sign in a limit. A half space is created by pressing Ctrl+Space Bar.
  • To line up your equal signs (J ) you need to use the format/align option shown in Figure 9.

Figure 9: Gotta' line up them equal signs!
  • You can add text inside an Equation box by selecting Style - Text from the toolbar menu. (See Figure 10.)

Figure 10: Adding text inside an Equation Box
  • Sometimes you might want to insert text along with a multistep simplification or other type process. One way to achieve this is with a matrix. For example, the simplification shown in Figure 11 was typed using a matrix with 7 rows and two columns. The style used in the left column was "Math" while the style used in the right column was "Text." I always insert a blank row between every line to avoid crowding - that's why the matrix had seven rows as opposed to four. The appropriate Menu and Dialogue Box are shown in Figures 12 and 13.

Figure 11: Adding text along with mathematics

Figure 12: The Matrix Menu Bar

Figure 13: The Matrix Dialogue Box

Finally, you will find below is a keystroke guide for creating the expression .

  1. Open an Equation Box
  2. press Ctrl+t, u
  3. type in "lim" (don't type the quotes J )
  4. press Tab
  5. type in "h"
  6. press Ctrl+Space Bar
  7. press Ctrl+k, a
  8. press Ctrl+Space Bar
  9. type in "0"
  10. press Tab
  11. press Ctrl+Shift+Space Bar
  12. press Ctrl+f
  13. press Ctrl+9
  14. type in "3"
  15. press Ctrl+shift+Space Bar
  16. type in "+"
  17. press Ctrl+shift+Space Bar
  18. type in "h"
  19. press Tab
  20. press Ctrl+h
  21. type "2"
  22. press Tab
  23. press Ctrl+Shift+Space Bar
  24. type in "-"
  25. press Ctrl+Shift+Space Bar
  26. type in "9"
  27. press Tab
  28. type in "h"
  29. press Tab
  30. click anywhere outside the Equation Box to close the equation box
Blatantly copied from: http://spot.pcc.edu/~ssimonds/thisandthat/msword.htm

Thursday, October 1, 2009