Comments (6)
So when you look at it 3D Software it has the hair helpers. This is something I recently fixed so you might not be using the latest version.
Perhaps you could try looking at your human.js and minde. Go in node_modules/makehuman/src/human.js and comparing it the latest code .
from makehuman-js.
That's ok.Thanks.
from makehuman-js.
// delete unused, uvs, faces, and vertices
geom.faceVertexUvs = geom.faceVertexUvs.filter((uv, i) => geom.faces[i].materialIndex === 0)
This statement maybe has a bug,the 'geom.faceVertexUvs[0] = geom.faceVertexUvs[0].filter((uv, i) => geom.faces[i].materialIndex === 0)' is really right?
from makehuman-js.
Yup, I'll explain what it's for. So I used face.materialIndex to assign each face to a group. Group one is the normal body, group 1+ are hidden helpers which we attach the clothes too. This way when we morph the body we also morph the helpers and the clothes and hair move in sync. For example the hair helper looks like a helmet in the shape of a mullet. So this code filters out faces that are not in group one, leaving us with only the body faces.
Anyway, to help you I added a download button to the example repo, so that might help you work out what's different.
Here's a workflow that works for me: If I
- go to http://makehuman-js-example.wassname.com/
- hard reload by pressing Cntrl-F5 (I updated it today)
- type in the js console
copy(app.human.io.toObj())
(this copys to clip board in chrome) - then paste it into
human.obj
- then import human.obj into blender.
- observe that It shows up in blender as just the body, with no helpers visible.
Can you try those steps on the example website and see if it works for you? If it does you can compare the code in makehuman-js-example.wassname.com to your deployment, and that will let you narrow down your problem.
from makehuman-js.
Thanks,I try to store app.human.io.toObj()
return value to a Blob object and download it to a file which is show in blender only body,with no helper visible.
Thanks again!
from makehuman-js.
That's what you wanted I think. If so I'm glad it worked!
from makehuman-js.
Related Issues (17)
- can i change the target.bin HOT 13
- Handle click/drag/drop a point on the body? HOT 1
- Android Compatibility HOT 1
- import from JSON file but return undefined
- any references about the interface with makehuman? HOT 2
- Issue of Web.gl crashing the render process HOT 3
- Webpack compiled successfully, but not showing any output in browser. why? HOT 3
- How can I integrate makehuman npm models into react js HOT 1
- How to export GLTF format? HOT 4
- Feature Request: Make an extension for automatic1111 webui
- Documentation HOT 2
- Documentation
- open example in android people model is black? HOT 3
- tests not passing HOT 1
- how to add new proxy? HOT 2
- Question | Can I make my own pose using Javascript ? HOT 3
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 makehuman-js.