Comments (4)
Hi, loveaca-sunlight! Following our paper, there are 3 steps to customize the region of the texture swapping.
- Annotate the region you want to swap on each mesh with blender. Our code recognizes the swapping region by the vertex color. All white nodes are selected as swapped candidates. The step can be done with the vertex paint mode in Blender. Please note that the vertices order of exported mesh should be the same as the original mesh. After that, the path of the main mesh(
main_mask_mesh
) and affiliated mesh should be written on the config.
NeuMesh/render_texture_swapping.py
Line 276 in 86ebce8
- Align the swapped region in Euclidean space.
T_s_m
denotes the similarity transformation from the main mesh(painted mesh) to the affiliated mesh(provide texture).corr
denotes the still points when deforming mesh with as rigid as possible. The step can be easily done by enablingestimate_srt
and our method will computeT_s_m
,corr
automatically with your intervention
NeuMesh/render_texture_swapping.py
Line 435 in 86ebce8
- Run the code and enjoy it.
from neumesh.
Thanks a lot, I've made some progress with your tips.
I'd also like to double-check that your mention of "the vertices order should be the same" means that I shouldn't delete any vertices in Blender? If I paint one of them black and the other white in vertex drawing, shouldn't it affect the vertex order?
from neumesh.
Hi, the full code has been released! Please take a look at it for more details.
- In our implementation, the vertices should not be deleted. However, I think some tricks can be employed to index the vertex correctly before and after deletion.
- Painting the vertex will not affect the vertex order if you check the
keep the vertex order
when exporting mesh in Blender.
from neumesh.
Close the inactive issues. Feel free to reopen it if the problem still needs to be solved.
from neumesh.
Related Issues (20)
- Visualization of signed distance fields HOT 2
- May I ask when will the full code be released HOT 2
- Texture painting problem HOT 2
- question about the prior mesh
- SIREN activations HOT 2
- Link to Paper seems to be broken HOT 2
- The link for pre-trained models is expired HOT 2
- About the benefits of NeuMesh over the extracted geometry from neural fields HOT 1
- vertex color when extracting mesh
- Question for rendering HOT 1
- ETA on training code HOT 3
- Question for the mesh HOT 2
- The link for pre-trained models is expired. HOT 1
- Release of Training Code HOT 2
- Rendering time HOT 2
- Nearest Neigbours
- Questions about Texture Painting. HOT 5
- Deforming Mesh HOT 1
- Coordinate frame and other questions HOT 2
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 neumesh.