Wednesday, March 7, 2012

Friday, March 2, 2012

Backup Local Git Repo

I wanted to backup my local git repo into a single file that I could save it to an external storage.


Create a bundle for my git repo:


git bundle create myrepo.bundle master


Create the repo from the bundle:


git clone myrepo.bundle -b master myrepo

Thursday, March 1, 2012

Open Hidden Files in MAC OS

In the Open Dialog Window, do Command+Shift+. (period)

This will show the hidden files and you can choose the open that you want to open.

If you want the Finder to show, do this:

At command line, enter:
defaults write com.apple.Finder AppleShowAllFiles YES


Hold down Alt, right click on the Finder, and do "Relaunch"

GitHub

Problem:

ERROR: Repository not found.
fatal: The remote end hung up unexpectedly

Solution:

To do ssh, you need to set up your SSH key:  http://help.github.com/mac-set-up-git/

ssh-add

Tuesday, February 7, 2012

Use Apple Magic Mouse With Blender

Magic mouse doesn't have the middle button, so this can be problematic to navigate in Blender.  To alleviate this, download "BetterTouchTool" if you haven't already.  This is a really nifty program that allows you to program your Magic Mouse to your liking.  In my case, I want the middle click on the Magic Mouse to act as the middle button, and I only want this functionality specific for Blender, what I do is to add Blender as to the left panel (App Specific) and choose "Single Finger Middle Click" for "Magic Mouse Gesture" and "Middleclick" for the the "Predefined Action."  That's it.  Problem solved.

No Textures on Models When I Opened .blend Files in Unity

When I open .blend files in Unity, I don't see any textures.  I thought that Unity would automatically import the textures.  I'm just a beginner here, so I'm not sure, but I was able to get the textures to show up on the models by exporting the textures out of the .blend files and importing them into Unity manually.

Importing/Opening .blend Files in Unity

Unity supports .blend files natively.  However, I couldn't open .blend files created with Blender 2.6 in Unity 3.4.  I could open them with Unity 3.5 though.