Skip to content

Commit

Permalink
Tutorial: Transform FBX to Collada and change its origin (#195)
Browse files Browse the repository at this point in the history
* Tutorial: Transform FBX to Collada and change its origin

Signed-off-by: ahcorde <[email protected]>

* Added feedback

Signed-off-by: ahcorde <[email protected]>

* Added feedback

Signed-off-by: ahcorde <[email protected]>

* fix gif path

Signed-off-by: Ian Chen <[email protected]>

* resized gifs

Signed-off-by: ahcorde <[email protected]>

Co-authored-by: Ian Chen <[email protected]>
  • Loading branch information
ahcorde and iche033 authored Jan 26, 2021
1 parent 95949c1 commit 27f9977
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions tutorials.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Ignition @IGN_DESIGNATION_CAP@ library and how to use the library effectively.
8. \subpage simple_demo "Simple demo"
9. \subpage text_geom "Text geom"
10. \subpage particles "Particles"
12. \subpage transform_fbx_to_dae "Transform FBX to Collada in Blender"

## License

Expand Down
40 changes: 40 additions & 0 deletions tutorials/21_transform_fbx_to_dae.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
\page transform_fbx_to_dae Transform FBX to Collada in Blender

This tutorial shows how to transform a mesh in fbx format to collada with Blender and change its origin.

You can download Blender +2.81 from [this web site](https://www.blender.org/download/).

# Importing the FBX file

Remove all the elements in the scene. You can select the elements pushing `Ctrl + Shift + left mouse button`
from the list of elements that you can see in the right top corner of the Blender window.

@image html img/transform_fbx_to_dae/remove_elemets.gif

Then import your FBX model. `File -> Import -> Fbx (.fbx).`

@image html img/transform_fbx_to_dae/import_model.gif

# Modify properties of the model

Now we can edit some of the properties of the object.

## Change the origin of the model (Optional)

Sometimes a mesh may have an origin at an offset from the desired location. For example,
you may want to move the origin of a robot arm to the base or move the origin of a wheel to its center.

Select the object by pushing the letter `a` and enter to `Edit mode` by pushing `Tab`.
Select the part of the object at which you’d like to place the origin point (vertex, edge or face).
When we are ready push `Shift + s` to bring up the *snap menu* and select `Cursor to active` to locate
the Blender cursor (red/white circle thing) in the selected new place.
Switch back to `Object Mode` and see the Blender cursor where your future origin is going to be.
In the `Options` menu select `Origins` and then select in the object menu `Object -> Set Origin -> Origin to 3D Cursor`.
Now your origin is at the desired place. We can move this origin to another place by editing the
transform dialog.

@image html img/transform_fbx_to_dae/edit_origin.gif

# Exporting to Collada

Finally export your model to collada `File -> Export -> Collada (default)(.dae).`
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 27f9977

Please sign in to comment.