Unity3D 5 and Blender 3D a perfect Blend

2 posts / 0 new
Last post
jmvale
Unity3D 5 and Blender 3D a perfect Blend

Hi,

To begin you must understand how the Blender interface and how it works, these tutorials are simple and intuitive:

Beginners Blender 3D: Tutorial 1 - Starting Off

Beginners Blender 3D: Tutorial 2 - The Interface

Beginners Blender 3D: Tutorial 3 - Saving Your Work

After feeding ourselves with Blender, the following videos show that Blender with their most basic functions is a very effective and simple tool to handle:

Beginners Blender 3D: Tutorial 4 - Creating and Modifying Objects

Beginners Blender 3D: Tutorial 5 - Working in Edit 

 

As an example I leave here three videos that exemplify the implementation of a house (no textures) and their integration in Unity 3D.

Construir uma casa em Blender para usar no Unity (1 de 3) 

Start with a cube in Edit Mode, selecting each side repositioned them to take the base of the house. Adding "Edges" with CTRL + R and positioning the cursor in parallel, we can model the object to create the base of support for the construction of the walls, it is necessary to take into account the cutouts for doors and windows.
The command "extrude" is used to "lift" the walls just select the faces that represent its base, press the E key and move up the cursor to extend the object. It is necessary to take into account the windows and interior walls, it is sometimes necessary to fill spaces between lines, you use the "Fill" (F key) between two lines, careful because if we use the "extrude" on the face this is dragged and it is necessary to create it again.
Faces can be turned inside out, to correct it selects all with the A key and makes up the "recalculate" around the object.

Construir uma casa em Blender para usar no Unity (2 de 3)

The filling is made of faces that have been displaced by "extrude" to this end, it selects two adjacent lines followed by the F key to perform the creation of a face therebetween.
To make the roof side is necessary to remove the top of the wall lines, you select one by one by pressing the SHIFT key and the "delete" "dissolve edges" eliminates these "edges".
After growing the sidebar with the "extrude", you select all vertices on the same side of the wall, one on one with the shitf key down or selecting the first vertex and the last with the CONTROL key, and these assets makes up the "merge" followed by "At center" in order to join all the vertices on one, but centered. Selecting the upper lines that have now been created, adjusts its position with the arrow keys to center the roof on the house.
Finished, the roof side walls is created a top bars and binds its edges ("fill") to create the roof. You can embellish the roof ends selecting the faces and using the "extrude".
 

Construir uma casa em Blender para usar no Unity (3 de 3)

Once the finished and recorded object in BLENDER extension is necessary to export it to FBX extension for Unity recognize all settings and objects created in Blender.
 
With the open unity simply drag the nome_fich.fbx your directory to the folder "project" as "prefab" and dragging the object already converted into prefab for our virtual environment is made to import.
 
It takes into account the object scale, elimination of the camera and light imported from Blender and add the "colider" the imported object to the avatar collide and not pass through it.
 
The example of Unity:

http://jmvale.esy.es/Unity5/ProjectDaVinci/WebGL_fast_blogger/

(Open in Firefox and use keys 1, 2 and 3 to change navigation)

 

Some techniques is used are referenced where:

http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.63/BMesh

 

 

Júlio Vale

Visibility: 
Public - accessible to all site users
Edited by: jmvale on 2015/04/21 - 12:09
vcard
vcard's picture
Nice tutorial and great video

Nice tutorial and great video!
Congrats,
vcard