Comments (4)
Sorry for the late reply. I updated to e95b38e and found the oriented V-V works well with my application. Thank you for your excellent work and help!
from rxmesh.
I have not implemented such "compound" queries where multiple queries (e.g., EF, EV, FV in your case) are needed to be computed and be resident in shared memory. But it is on my roadmap!
However, from the code snippet above, I would recommend restructuring your computation such that it would be vertex-centric instead of edge-centric. Doing so, the code would just loop over the vertex (i.e., v1
's) one ring. At each step, you would have access to v2
. If the query is marked as "oriented" here, you could additionally have access to the vertex before and after v2
i.e., v3
and v4
. You would also need to mark the query as "oriented" in prepare_launch_box
.
An example of the above suggestion can be found in the mcf_rxmesh_kernel.cuh
where p_id
is the center vertex we iterate over q_id
is the previous vertex in p_id
's one-ring, r_id
is the current one-ring vertex, and s_id
is the next vertex after r_id
.
Hope this is helpful! Please let me know if you have more questions.
from rxmesh.
Hi,
Thank you for your suggestion about reformulating the computation to being vertex-centric
and using the V-V relation instead of E-F-V. I think it's feasible as long as using oriented=True
to ensure the order of the neighborhood vertices.
However, I find that the oriented V-V query required the input mesh without boundary:
RXMesh/tests/RXMesh_test/test_queries.h
Lines 30 to 31 in 54f29b3
But it's not the case in my application. I am currently doing cloth simulation where meshes have boundaries. Do you have any idea for this? Any support would be much appreciated.
from rxmesh.
I have just pushed e95b38e a fix to allow oriented V-V (and V-E) on input mesh with boundaries (with a unit test). Please let me know if you need anything else to get your cloth simulation working :)
from rxmesh.
Related Issues (8)
- why i can not launch multithreads for Bilateral filtering? HOT 2
- Spelling/grammar mistake in geodesic.cu HOT 1
- like mesh hole filling or simplification works well? HOT 2
- big(>512 faces) isolate patch can not be Seperate in lloyd. HOT 2
- Feature Request: Python API
- ERROR On RTX3080 laptop with CUDA SDK 12.3 HOT 2
- Development status HOT 1
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 rxmesh.