Comments (2)
I'm a bit unclear if this line is correct:
https://github.com/timkurvers/wowser/blob/master/src/lib/pipeline/m2/index.js#L116
this.skinData.submeshes.forEach((submesh, id) => {
...
rootBones.forEach((bone) => {
mesh.add(bone);
});
...
});
It seems to me that mesh.add()
is going to keep changing the parent submesh of each root bone each time a different submesh is iterated over in the parent (submeshes) forEach
. That doesn't sound right to me. Why add to something if it's going to be overwritten immediately?
Is the rootBone property of the submesh entry a pointer to the correct bone index to add to the mesh? I gave that a shot and it deformed the Northrend Penguin skeleton in a weird way. I don't really understand the difference between rootBone and startBone in the submesh definition from the M2, though.
from wowser.
That's totally true, didn't think about that. I suppose binding the skeleton to the submesh is enough?
from wowser.
Related Issues (20)
- WMO groups aren't fully cloned
- WMO doodad sets use wrong index when loading HOT 2
- Excessive CPU time spent on WebGLRenderer.setProgram HOT 3
- WMO material defs inappropriately override one another HOT 1
- Ensure Node 6 is supported HOT 1
- Improve Travis build process HOT 1
- Implement distance culling HOT 1
- Test Gitter integration HOT 1
- [Enhancement] chat system and AzerothCore support
- Pass NODE_ENV environment variable in to webpack
- Proxy on windows doesn't work HOT 2
- Project Future HOT 4
- Host images for the repository
- Possible double trademark infringement HOT 1
- Implement some Battle.net stuff HOT 9
- Downgrade if Battle.net cannot be implemented HOT 2
- Godot Game Engine HOT 3
- Are you still active? HOT 3
- Is this project alive? HOT 2
- Updated installation and use?
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 wowser.