Giter Club home page Giter Club logo

meshroommaya's Introduction

MeshroomMaya

MeshroomMaya is a Maya plugin that enables to model 3D objects from images.

Requirements

  • Compiler compatible with your version of Maya
  • cmake
  • Maya
  • Qt compatible with you version of Maya (Qt4.8 until Maya 2016)
  • Maya 2017: requires Qt-5.6.1 qml modules ('qml' folder in standard Qt installation) to be in QML2_IMPORT_PATH at runtime (not embedded in Maya).

Installation

> git submodule update --init --recursive
> ./configure -DMAYA_EXECUTABLE=$MAYA_BIN -DQT_QMAKE_EXECUTABLE=$MAYA_QMAKE_PATH -DCMAKE_INSTALL_PREFIX=$INSTALL_DIRECTORY -DCMAKE_BUILD_TYPE=release
> make
> make install

Documentation

Plugin documentation is available here

License

MeshroomMaya is licensed under MPL v2 license.

Development

Clang format rules for MeshroomMaya can be found here. To format code easily, install Clang (dont forget to add bin path to PATH) and execute :

> ./format_all_files.sh

meshroommaya's People

Contributors

eprana avatar fabiencastan avatar fcastan avatar gregoire-dl avatar nrondaud avatar yann-lty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meshroommaya's Issues

Point cloud fit optim

Retrieve the points of the PC visible by the current camera on press instead of during the drag event.

Rename modified images

Specify the modifications applied on images in their names.
(ex: add _u for undistorted images)

Load image plane of the last clicked camera

In ImagePlaneCmd, create two flags.

  • "set" that load our custom "deffered" attribute(ie the image path) into the imageName attribute
  • "unset" that clear the imageName attribute

Change camera directly on selection change and add ImagePlaneCmd to idle queue.
When the command is executed, it will retrieve the used cameras and set the right imagePlane. It may have nothing to do if too much commands have been stacked.

Warning : check image cache and unload

Only display useful cameras to texture a mesh

The user want to select a mesh and only see the cameras that can be used to texture this mesh.

Solution 1:

  • retrieve the bounding box of the selected meshes

  • retrieve the 3D points of the point cloud visible in this bounding box

  • retrieve the cameras from the visibility of those points

  • hide other cameras

    ++ only useful cameras
    -- need the visibility information to work

Solution 2:

  • Retrieve all the vertices of the selected meshes

  • test the intersection of thoses points with all cameras

  • hide other cameras

    -- will get to much cameras
    -- more computation is required than in the solution 1
    ++ don't need the visibility information to work

Select current mesh in mayaMVG

Currently, only the mesh created from MayaMVG are modifiable via the plugin.
Add an UI select the meshes we want to use in plugin and specify the current mesh

Remove error on set MVGContext

If no project set :
[MayaMVG] Unexpected error (/datas/pra/openMVG-UI/src/mayaMVG/maya/MVGMayaUtil.cpp:233)
[MayaMVG] Unexpected error (/datas/pra/openMVG-UI/src/mayaMVG/core/MVGCamera.cpp:153)

Mesh creation display

Avoid opaque quad. Use wireframe if we cannot use opacity.

Use RED color when we cannot create the face.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.