Thursday, August 26, 2010

Git newbie: Fatal : Cannot use user as an exclude file

So I started using Github. Since everyone is using it I thought, well just go ahead and use it. Should not be that hard right? Oh well, I guess people forgot to mention that you will loose some hair first before you can upload things - specially if it is related to iphone / xcode.

So after initial git commit etc, I have happily created a new xcode and tried to upload. Terminal says, sorry cant upload some items. So I Googled and found that you got to put .gitignore for iphone / xcode things.

But the problem is, I dont know where to add the ignore file. And to make it worse, I have NO IDEA how to create it. After many many search I found, to create - I got to use

nano .gitignore

And vola, now I can create a gitignore file. So I added those and saved it and then I tried to git it and there you go, a new error popped up.

fatal : cannot use /users/avi/ as an exclude file

I searched high and low what might have caused it. Tried all sorts of command only to find more and more errors. Here are a few : 
1.  fatal: bad revision 'HEAD'

After many many tries, I finally found the solution 

nano ~/.gitconfig

This will bring you to the main config file which has these 

your user details

exclude users/avi/

Once I deleted those lines, I could commit and upload it right away. 

Sunday, August 22, 2010

fixing repeat export error in imovie or any other i-things

One of the most annoying thing of built in i-things (iphoto, imovie etc) that once you want to do more than what is there, it is very hard. However, what makes it worse is, when you export it and you got it wrong, you just keep getting it wrong.

Yesterday while exporting a video from imovie found the solution - duplicate the project and change the settings in that duplicated project. If you do that, you can export again. Else - oh well!!

Friday, June 18, 2010

Sessions for Google speech project

Tuesday, June 8, 2010

iTunes automatically deletes from iPod, iPad or iPhone

This articles shows how to prevent iTunes automatically delete your apps in 4 simple and easy steps from iTunes itself without any codes etc.

After purchasing your app and downloading, a lot of times iTunes tend to delete apps that you have bought. And in case you have jailbroken with sprit / cydia, the moment you connect and sync your iPod or iPhone with iTunes, it is bound to delete your apps. And if you ask not to sync your apps, iTunes threatens to delete all apps from your touch or phone. 

Fortunately the solution is right inside iTunes. 

Step 1 : To stop automatically sync itunes with ur iPod or iPhone, first go to "Preference" in iTunes. 

Step 2: In Preference window, go to "Devices"
Step 3: Check / tick"Prevent ipods, iPhones and iPads from Syncing Automatically. 
Step 4: Now connect your iPod / iPhone / iPad. Once connected go to File > Transfer purchases from your ipod / iphone / ipad. 

Once you do that, now your apps will never get deleted. Now you can sync it back. 
If you wish to enable auto-sync, you can uncheck from step 3 now. But I recommend manual sync. 

Sunday, June 6, 2010

Unity3d class schedule for Sem 43 - 2010/2011


7 June 2010
Week 1

1.     Getting familiar with Behaviour Modelling
2.     What to expect in the class
3.     Marks distribution

14 June 2010
Week 2

Lecture: Virtual Storytelling: Narrativity and Authoring

Tut: First unity3d project, Unity interface, Terrian creation

1.     Interactive drama
2.     Character focused narrative generation
3.     Plot conduction
4.     Gameplay into interactive dramas
5.     Developing believable body language in virtual actors

21 June 2010
Week 3

Tut: Creating workflow in untiy 3d, assets, importing, versions,

Lecture: Workflow pipeline setup

1.     Benefits of setting up workflow
2.     Incorporating version control system (GIT, SVN) for 3d workflow

Exercise 1 Brief – 20%
Total marks 20%
Focus: Importing and animation
28 June 2010
Week 4

Lecture: Interaction basics

Tut: Basic Interactions in Unity3d, using simple javascript, applying scripts to imported assets and animations

1.     Why design interaction?
2.     Four Approaches to interaction design (User centered, Activity centered, System, Genius)
3.     Scaling interaction design from prototype to larger content

5 July 2010
Week 5

Lecture: Animation in Virtual environment
1.     Interaction with animated characters in virtual environment
2.     Recycling and Reducing animation data
3.     Simulating humans
4.     Motion planning

Tut: Importing rigged character and assigning controls and animation
12 July
Week 6

Tut: Generic Scripting (Prefabs, Collections and HUD)
- Picking up items
Principles of animation
1.     Squash and stretch
2.     Anticipation
3.     pose-to-pose
4.     straight-ahead
5.     Follow-through
6.     Overlapping
7.     Slow-in and slow-out
8.     Arcs
9.     Secondary action
10.   Timing
11.   Exaggeration

Lecture: Animation and physics

Submission of Exercise 1
Briefing of exercise 2
Total marks – 30%
Focus – Picking up, physics, explosion and scoring
19 July
Week 7

Tut: Instantiations, Rigid Bodies and Particle System
-        Prepping the grenade
-       Creating fire
1.     Visual effects in films and how they can be applied in virtual environment
2.     Image compositing
3.     Matte painting to create background
4.     Visual effects in games

Lecture: Visual effects in Virtual Environment
Bonus Class: Iphone games development part 1
1.     Obtain digital certificate
2.     Provision your device to use with iphone / ipod touch
3.    Common errors and solutions
9 August 2010
Week 9
Lecture: User interface designing with user in mind

1.     What does user do (in web, games, vr)?
2.     Benefits of having an interface
3.     Designing for scanning, not reading- users just want to play
4.    Giving first impression intro page
Tut: Graphical User Input Design
-        Adding 3d menu
-       Scripting GUI
Bonus Class: Iphone games Control setup
 Setting up controls
Materials and shaders for iphone
16 August 2010
Week 10

Lecture: Physics in virtual environment

1.     Adding realism with physics movements
2.     Why physics engine? Advantages and disadvantages. Nvidia Physix, a case study
3.     Laws of motion
4.     Springs and hooks
5.     Collision – face, boundary
6.     Rigidbody
7.    Constrains
Tut: Applying physics to the scene
Bonus class: Iphone collission
Collssion setup
Trigger setup

Exercise 2 Submission
Briefing of Exercise 3 – 10%

Total Marks: 15%
Focus on Networking
23 August 2010 Week 11
Tut: Multiplayer networking part 1
1.     Connecting user
2.     Server and client concepts
3.     Ping, delays,
4.     User home and destinations
5.    Firewalls, ports
Lecture: Why multiplayer?
Bonus class: Iphone GUI setup
Adding Game Over Screen
Creating personal Game intro screen
30 August 2010
Week 12
Tut: Multiplayer networking part 2 - badumna

1.     Virtual Crowds
2.     Crowd simulation models
3.    Presence in virtual crowds
Lecture: Autonomous character
Bonus class: Iphone GUI setup
Adding Game Over Screen
Creating personal Game intro screen
6 September 2010
Week 13
Lecture: What difference does Audio make?
Invited Lecturer: Mr Norman
1.     Importance of Audio in virtual environment
2.     Background music and suitable genres
3.    Sound effects
Tut: Mixing real time 3d with Audio and Video

Bonus class: Iphone distribution
Setting up distribution
Collaboration between teams

Submission of Exercise 3

13 September 2010
Week 14
*Might be cancelled due to Hari Raya Haji. If there is a class, it will be followed as such

Lecture: Ubiquitous and Pervasive interaction: Post desktop model

1.     What is everyware
2.     How is everyware different from what we are used to?
3.     What drives the emergence?
4.     Issues of omnipresent data
5.    Building your game / vr / application based on location
Tut: Provisioning device for interactive environment, interactive with accelerometer and position support

Teaching staff
Avijit Paul
Rom 1048
Phone: +6 03 8312 5610 / +6 016 357 2576
Email: avijit.paul '  at  ' or avijit.paul.1992 ' at ' gmail  'dot ' com