GSoC 2017 with ViSP - lagadic/visp_cao_editor GitHub Wiki
Project Title: Markerless model-based tracker CAD model editor
For the past three months I have been working with ViSP, mentored by @Fabien Spindler and @S-trinh, on the above project as part of GSoC 2017. This wiki page covers briefly the content developed, the respective pull request for each of the features and future improvements.
Project Abstract:
ViSP supports CAD model in .cao
format or in .vrml
format which are needed for Markerless
model-based tracker module. Currently, the creation of .cao
model formats, which is a
homemade file format, and its corresponding config files has to be done manually. The goal of
this project is to automate this process by providing extensive tools to achieve perfect and
loss-less conversion from existing 3D file formats to .cao
and also generation from scratch:
- Develop dedicated Blender plugin to edit and convert from classical 3D file format
(for example
.obj
) to home-made CAD model file format. - Develop a very simple CAD model viewer and editor that allows to add ViSP MBT
specific characteristics to a face or a line such as a label or a level of details (
lod
).
Link to Visp Gsoc Wiki : https://github.com/lagadic/visp/wiki/GSoC_2017
Link to Project Proposal : Proposal.pdf
Features Implemented during GSoC
1. Blender Export and Import Plugin.
This Addon helps to export a blender scene to visp .cao
format. The Addon consists of a Property panel and a treeview panel.
- The Property panel, named ViSP CAD Properties Panel, is where the user will fill in the primitive details of a particular scene object.
- The treeview panel is where the user will manage (enable, disable, delete) the different primitives.
-
PULL REQUEST for Export Addon: [Commits] [Conversation]
-
PULL REQUEST for Import Addon: [Commits]
Tested on Blender Version: 2.69, 2.76 and 2.78.
Improvements and future work:
- Rectify Importing of
.cao
files. - New solution to model simplification.
2. Qt based CAO Model Editor.
This section consisted of building a desktop cross-platform cao model editor. Qt was chosen as the framework. Features:
- Model Viewer.
- Import & Export CAO models.
- Add
lod
parameters. - Generate XML config file and XML editor.
- Load & save
QCamera
properties from XML file. - Choose
init
points.
PULL REQUEST 1 for Qt Application: [Commits] [Conversations]
PULL REQUEST 2: [Commits] [Conversations]
Tested on Qt Version: 5.9.1
Improvements and future work:
- Finishing remaining tasks mentioned in PR#23.