Sunday, 15 December 2013

Exporting FBX From Blender To Unity3D With Correct Rotation HD


If you ever encounter rotation issue while exporting 3d model from blender to unity 3d this simple tutorial will help you. I am discussing here what are the consequences of different local axis on an object in blender and unity.

Wednesday, 11 December 2013

Using reflection to access property names from the class in ASP.NET MVC

There are sometimes situations where we want to to find out what is the name of the property of the class when application is running.

To access name of the single property we use reflection:

public static string GetPropertyName<T, TValue>(Expression<Func<T, TValue>> memberAccess)
{
    return ((MemberExpression)memberAccess.Body).Member.Name;
}
We can access all properties without writing static method.

foreach (var item in new T().GetType().GetProperties())
{
    // Get name for single item -  item.Name.ToString()
} 


Tuesday, 3 December 2013

Great Warrior Final Fantasy 7 Guitar and Piano Cover


Yahoo mail issue - error 45 - Unable to read emails

As an owner of yahoo mail account, actually I call this "Give me more spam account" I was unable to read some old messages that holds some info I needed.

You probably get this message when trying to view email :
"We’re sorry, but there appears to be a problem loading the email"

I found an easy way to switch back to old yahoo mail style, that use a different server requests.
Click on gear icon in right top corner and choose settings. Then go to viewing email tab and under mail version check "Basic" and now you should be able to read your emails.


I think the issue is in the way the data is retrieve back from the server.
In old yahoo mail data comes as full html where in new mail we are getting Json that is incomplete and front end is failing to generate anything from Json file that is missing some parameters like "message". 
As you can see at the bottom image new yahoo is using different method to retrieve data from the server. 


Sunday, 1 December 2013

Real Space Rush - #update 4 - New Space area level

This weekend was busy as I was working on new level. It is at the moment empty level without any assets, which I will add soon.
Level only have 327 vertices which should not extend more than 3-4 k at the end as this is for mobile game.