Comments (4)
For using a single function as an oracle, please see this discussion.
I'm assuming the segfaults is #537 and will reply in that thread separately.
from libfive.
Hi Matt!
Thank you for the discussion link!
Now I understand how to use the Oracle in C++.
Is there any chance to perform the same in C only with passing a callback function, or is this functionality simply missing in C world ?
Or: is there any chance converting a Tree instance to libfive_tree ?
Thank you
from libfive.
There's no way to implement oracles in plain C, because they use C++ inheritance.
libfive_tree
is defined with
typedef const libfive::Tree::Data* libfive_tree;
(here); you can use Tree::{acquire, release}
to convert to and from this inner representation.
from libfive.
Thanx for the information.
i have successfully ported to c++ now.
from libfive.
Related Issues (20)
- frac function? Edit: Solved! Use mod 1! HOT 4
- I cant see a Window when opening Libfive Studio HOT 2
- Stream meshing immediately to STL? HOT 2
- Compiling on Fedore FC37 HOT 1
- Problem to compile libfive on FC37 HOT 8
- Feature request: Separate bounds/resolutions for different objects in the same scene? HOT 2
- Return multiple shapes without using union, in Python? HOT 4
- New url for inspekt3d HOT 2
- Double free or corruption error when trying to use libfive HOT 3
- Expose normals in libfive_mesh HOT 2
- Does Mesh::render consume the libfive_tree? HOT 3
- Unioning nothing at the top level causes things to mesh very slow HOT 6
- koffi and ffi-napi both segfault when meshing non-trivial models HOT 6
- Publish new release and set soversion for building shared libraries
- I've packaged this for OpenSuse
- Feature resolution is unexpectedly impacted by the size of the bounding box HOT 3
- Crash in DCTree<3u>::intersection
- QSocketNotifier error message
- Need precompiled Windows binaries of any kind HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libfive.