Git Product home page Git Product logo

vfxgal's Introduction

vfxgal

Geometric algorithms library for the VFX industry.

core/

This directory contains the majority of the implementation. Vfxgal is primarily a template-based, generic geometric algorithm library. It provides functions such as - mesh/plane clipping (with closure); mesh/convex hull clipping; removal of degenerate mesh vertices; mesh edge addition; and mesh voronoi cell fracturing.

Vfxgal functions use an adaptor pattern, which means that you can write a small adaptor class (see core/adaptors), and then you will be able to input your own data types directly into the vfxgal algorithms. For eg, at the time of writing vfxgal ships with houdini-11 adaptors. All you need to do is include core/adaptors/houdini.hpp, and then you can pass houdini types directly into the various vfxgal algorithms.

Dependencies: boost, tbb, qhull (cmdlin only, for voronoi only). Dependencies shipped with the code: pystring, boost.process.

houdini/

This is the houdini binding for vfxgal. Various geometric functions are implemented as SOP nodes. Only Houdini 11 is supported at the moment - because of hou12's geo API changes, new bindings have to be written for it.

license

Copyright 2012, Allan Johns

vfxgal is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

vfxgal is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with vfxgal. If not, see http://www.gnu.org/licenses/.

vfxgal's People

Contributors

mchamberlain avatar nerdvegas 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

Watchers

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

vfxgal's Issues

simple_mesh struct and typedef error

I was trying to compile your code on linux with houdini 11 and I got the following error:

vfxgal/core/vfxgal/algorithm/voronoiFractureMesh3D.hpp: At global scope:
vfxgal/core/vfxgal/algorithm/voronoiFractureMesh3D.hpp:118: error: declaration of 'typedef struct vfxgal::simple_mesh<typename vfxgal::mesh_adaptor::point_type> vfxgal::detail::thread_voronoiFractureMesh3D::simple_mesh'
vfxgal/core/vfxgal/algorithm/../simple_mesh.hpp:20: error: changes meaning of 'simple_mesh' from 'struct vfxgal::simple_mesh<typename vfxgal::mesh_adaptor::point_type>'
make[2]: *** [houdini/src/CMakeFiles/SOP_vfxgal_voronoifracture.dir/SOP_VoronoiFracture.cpp.o] Error 1
make[1]: *** [houdini/src/CMakeFiles/SOP_vfxgal_voronoifracture.dir/all] Error 2
make: *** [all] Error 2

As well as boost (1.46) error:

vfxgal/houdini/src/SOP_VoronoiFracture.cpp:6:
vfxgal/contrib/boost_process/boost/process/operations.hpp: In function 'std::string boost::process::find_executable_in_path(const std::string&, std::string)':
vfxgal/contrib/boost_process/boost/process/operations.hpp:85: error: 'filesystem_error' is not a member of 'boost::filesystem'
In file included from vfxgal/contrib/boost_process/boost/process.hpp:42,
from vfxgal/core/vfxgal/algorithm/../detail/qhull_voronoi.hpp:10,
from vfxgal/core/vfxgal/algorithm/voronoiFractureMesh3D.hpp:10,
from vfxgal/houdini/src/SOP_VoronoiFracture.cpp:6:
vfxgal/contrib/boost_process/boost/process/operations.hpp:130: error: 'filesystem_error' is not a member of 'boost::filesystem'

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.