vincelee.net

Scripting

GiT Ignore Rules Being Ignored

by Vince on May.24, 2010, under Scripting

Just a quick post about working with git ignore files not seemingly not being recognised by git.

Having followed everything in the manual, my git was still picking up the files I set to ignore. After muchos trawling, I found this post, detailing the command to clear your cache, and sorting out my woes.

The commands:

git rm -r --cached .
git add .
git commit -m ".gitignore is now working"

1 Comment : more...

Augmented Reality Tinkering

by Vince on Mar.02, 2010, under as3

Having been fiddling with an augmented reality tutorial for the last few evenings, I have finally got it working!

I was following the video tutorial at gotoandlearn.com, but ran into a few snags – solutions for which I’m posting here to help anyone else struggling with it!

I used Flex Builder 3 to write the source (free trial here) and got the code libraries via Subversion, as described in the video.

Vector class not found – This is down to Flex exporting to Flash Player 9 by default. Fix this by following these articles: article 1 and article 2.

FLARRgbRaster_BitmapData expects 2 int parameters – Importing the FLARToolkit library from the trunk folder has the wrong class. I used the one from /FLARToolKit/branches/ver1_x_x/src.

Once those little problems are taken care of, you’re on your way!

Leave a Comment :, , , more...

Looking for something?

Use the form below to search the site:

Still can't find what you're looking for? Drop me a comment on a post or contact me!