Comments (8)
Thanks for your suggestion.
I need some time to figure it out.
from romp.
Sorry for the delay. I am trapped by some urgent projects.
It could work with careful adjustment on the camera parameters
from romp.
@Arthur151 It's okay. I've managed to get it to work already that's why I closed. Thanks for your attention
from romp.
Glad to know about that.
May I ask how did you make it work? Is it convenient to share the relative code? So I can merge it into this repository and make more people enjoy your work.
from romp.
I'll do it for sure! :)
I had to make a few changes on the code because I am working with another model(with more vertices) and made it to work with this new model but I will try to make it to work based on your code and I'll update you soon ;)
from romp.
Thanks!
from romp.
@Arthur151 Sorry, I don't have time to go deep into it.
Btw, There's the main code block that I've used to add texture to the model object (.obj).
tex = Image.open('../texture.jpg')
mat = trimesh.visual.material.SimpleMaterial(image=tex)
mesh = trimesh.exchange.load.load(open('../object_with_vt.obj','rb'), file_type='obj', force='mesh')
mesh.visual.material = mat
The problem here is adding vt indices into .obj. I had some troubles doing it then I started using those .obj from Tex2Shape which already had vt indices on it instead of trying to reproduce them properly. Once you can see the texture on the .obj model on a mesh viewer software like ctmviewer you're good to go with the snippet above. Sorry for not having the final solution for you but this way worked for me.
from romp.
Thanks a lot! I will look into it. This seems like a portable way.
from romp.
Related Issues (20)
- Cannot find romp.pack_smpl_info HOT 2
- KeyError: 'pw3d_vibe-MPJPE'
- AttributeError: 'TRACE' object has no attribute 'smpl_model_path' HOT 1
- 相機外參問題
- KeyError: 'joints_smpl24' HOT 3
- romp smpl output poses is not fit with f_smpl/m_smpl.fbx HOT 1
- Permission denied: '/home/yusun' when running demo of TRACE HOT 2
- EVAL CMU dataset HOT 1
- Export Trace results to motion files like AMASS
- TRACE's result on MuPoTS-3D dataset
- Extending Pose Estimation Model for 3D Objects: Customization and Challenges
- No file or directory
- missing files
- pth generation HOT 1
- 大佬您好,想请问下世界坐标系下的可视化问题。 HOT 1
- RuntimeError: Sizes of tensors must match except in dimension 1
- convert2fbx.py multiple person
- Creating avatar on the live cam window
- Fail to track more than one person in each frame HOT 1
- How to get the principal point?
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 romp.