GithubHelp home page GithubHelp logo

neilmendoza / ofxcorkcsg Goto Github PK

View Code? Open in Web Editor NEW
44.0 44.0 1.0 3.5 MB

A constructive solid geometry (mesh boolean) addon for openFrameworks.

Makefile 1.15% C++ 38.77% C 60.08%
constructive-solid-geometries creative-coding csg mesh mesh-generation openframeworks openframeworks-addon

ofxcorkcsg's People

Contributors

neilmendoza 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

Watchers

 avatar  avatar  avatar  avatar

Forkers

samw3

ofxcorkcsg's Issues

crash on example-simple

cool addon!

if I run example-simple and hit "2" I see this crash:

the  edge is 0x1030c5eb8,  0x0
   1
coordinates for triangles
the tri
[-22.4144,-50,-83.6516]
[-35.3553,-70.7107,-61.2372]
[-43.3013,-50,-75]
[9.29832e-06,-75,-75]
[-75,-75,-75]
[7.62939e-06,-7.39098e-06,-75]
ENSURE FAILED at ../../../addons/ofxCorkCsg/libs/cork/src/mesh/mesh.isct.inl, line #333:
    vert
libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: ENSURE FAILED
(lldb) 

Simple difference operations not working, depending on parameters

This operation works

	ofxCorkCsg::box(mesh1, 300, 300, 50);
	ofxCorkCsg::box(mesh2, 200, 200, 160);
	ofxCorkCsg::computeDifference(mesh1, mesh2, outMesh);

And this doens't work

	ofxCorkCsg::box(mesh1, 300, 300, 50);
	ofxCorkCsg::box(mesh2, 240, 240, 160);
	ofxCorkCsg::computeDifference(mesh1, mesh2, outMesh);

Cheers!

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.