Jump to content

  • Log In with Google      Sign In   
  • Create Account






Day 9 – Unity, Blender and .blend import

Posted by Alex.SilR, in General 05 November 2012 · 467 views

Mirrored from my blog (en, pt-br).

On 9 I read chapters 7 and 8 of the book Unity 3.x Game Development Essentials and watched Parts 6 and 7 of the video lesson Blender 2.6 Essential training.

In Chapter 7 of the book is built a mini-game where the player has to shoot down all three targets with coconuts to liberate one of four power cells in order to open the door. The only thing interesting about this chapter is the use of coroutine. Actually, later I’ll look deeper into coroutines.

http://www.youtube.com/watch?v=LVSSHx01Zcc&feature=player_embedded

In chapter 8 of the book is built a fire and made a simple mechanic that makes the player lights the fire from a matchbox that is inside the station. The main subject in this chapter is the particle system, as when the book was written was still using the old system, the author made a video showing how to do the same fire in the new system (shuriken).

http://www.youtube.com/watch?v=ZJm9SQKBFvU&feature=player_embedded

Part 6 of video lessons talked about textures and more interesting, that I wasn’t sure how it worked, UV Mapping.

Posted Image

Part 7 talked about the types of lighting that Blender has, and showed one by one.

Posted Image

Posted Image

One thing I did today too was to test the interaction of Unity with Blender.

The Unity automatically imports the file .blend that is in the project structure. I created a standard sized cube in Blender and imported to Unity, then I created a cube of size 1 in Unity itself. The cube of the Blender was twice the size in comparison to the Unity. So to maintain the aspect ratio is necessary to put the scale at 0.5 on the properties of import.

After scaling test I took a scene from the video lessons (the room) and imported to Unity. Using scale to 0.5, the size was good, but when importing the material was not with the texture. I need to make a search on how to export Blender material in Unity.

Render of the Room in Blender:

Posted Image

In Unity:

http://www.youtube.com/watch?v=OE7lHpGMke4&feature=player_embedded

PS: Sorry for the bad english.




September 2014 »

S M T W T F S
  1 23456
78910111213
14151617181920
21222324252627
282930    

Recent Entries

PARTNERS