danielepanozzo / gp Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Good evening, I have a question about the hard constraint.
I wanted to approach the problem in a lazy fashion such that I did not need to remove the constrained x values or the "known" variables from my LHS. My approach was that whenever we encounter a face that is constrained, we do not add its e_f or e_g to the Q matrix. Instead, we bring e_f multiplied by its constrained vector to the RHS.
Therefore, after completing the Q matrix, I added extra rows for my Q matrix such that each "known" variable has its data essentially as 1 and its RHS as its vector value in complex form.
However, by doing so, our solved x values when converted back to vector form deviates from the values provided from the constraints because I think converting the constraint values into complex form and converting it back induces numerical rounding errors. Is this an okay approach or should I reorder the x values such that free variables to be solved are in the upper column whereas the known variables are just completely excluded from the column vector?
It seems that the function igl.per_corner_normals has not been defined in the python bindings. All I can see in the documentation are the following functions: per_edge_normals, per_face_normals, and per_vertex_normals.
Since I am running the code in both C++ and python, I did not find this issue in C++.
Hi Professor,
I have a problem installing the igl library on my mac m1. The conda install does not work and I tried to compile the bindings from scratch but there are still errors. I found similar issue in https://github.com/libigl/libigl/issues/1686 and someone metioned using header only mode but I am still confused about how to do it.
Is there any way to solve the problem in detail?
Hi Professor,
When I tried to install the requirements in general instruction,
conda install -c conda-forge igl
shows "Solving environment: failed with initial frozen solve. Retrying with flexible solve."
Then I tried to use conda env create -f environment.yml
directly, it shows
"Collecting package metadata (repodata.json): done
Solving environment: failed
ResolvePackageNotFound:
I'm not sure how to solve this porblem, the solutions I tried:
1.conda config --set channel_priority flexible
2. conda config --set channel_priority false
3. recreate an env and activate it.
But they all not work. So could I use Colab instead of Jupyter Notebook? Or how to solve this problem...
Also, when I used Colab to run the sample code
meshplot.plot(bunny_v, bunny_f, shading={"wireframe": True})
It throws “TraitError: The 'shadow' trait of a DirectionalLight instance expected an Uninitialized or a LightShadow, not the str 'IPY_MODEL_[object Object]'.”
Could you please tell me how to solve it? Thanks a lot.
Hi Professor,
I have a question about how to do the per_vertex_shading. I compute the exploded V and F, call "igl.per_vertex_normals" to get the per_vertex_normals, which is n, and plot the image using "meshplot.plot(exploded_v, exploded_f, n=n)". However, I got the exact same picture as per_face_normals. Is there anything wrong with my steps?
Good morning, I just want to confirm that we are solving MLS by picking points from our "3n" points set that are within a certain radius "h" from the current grid point "xi" and calculating the coefficients of our polynomial based on points that are within "h" distance from "xi". Then, we are using the polynomial to evaluate "xi"?
How do we pick the Wendlend radius or do we incorporate the W(x) matrix when approximating the LS? What are sensible radius to pick or we have to experiment to see ourselves?
How can we be certain that when a specific grid point has less than twice the number of polynomial coefficients of points near it, it is a positive outside point instead of an inside point?
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.