Comments (9)
loader = new Loader3D();
loader.addEventListener(LoaderEvent.RESOURCE_COMPLETE, (event) -> {
view3d.scene.addChild(loader);
loader.scale(300);
loader.y += 100;
animator = new SkeletonAnimator(animationSet, skeleton);
mesh.animator = animator;
animator.play("node_0");
animator.autoUpdate = true;
});
I used this layer of code, but there is no animation, even the picture is distorted.
from away3d.
I started digging into this and fixing bugs. I haven't fixed everything yet, but I've successfully gotten an animation to play. Try pull request #40 and see if it helps.
from away3d.
I started digging into this and fixing bugs. I haven't fixed everything yet, but I've successfully gotten an animation to play. Try pull request #40 and see if it helps.
@player-03 This doesn't seem to help, is there no bones for loading dae? parentPose is null.
Error:
TypeError: Cannot read property 'orientation' of null
at away3d_animators_SkeletonAnimator.localToGlobalPose (AtalsRender.js:7492)
at away3d_animators_SkeletonAnimator.updateGlobalProperties (AtalsRender.js:7232)
at away3d_animators_SkeletonAnimator.setRenderState (AtalsRender.js:7172)
at away3d_materials_passes_DepthMapPass.updateAnimationState (AtalsRender.js:43722)
at away3d_materials_TextureMaterial.renderDepth (AtalsRender.js:36706)
at away3d_core_render_DepthRenderer.drawRenderables (AtalsRender.js:21737)
at away3d_core_render_DepthRenderer.draw (AtalsRender.js:21705)
at away3d_core_render_DepthRenderer.executeRender (AtalsRender.js:21359)
at away3d_core_render_DepthRenderer.render (AtalsRender.js:21320)
at away3d_lights_shadowmaps_DirectionalShadowMapper.drawDepthMap (AtalsRender.js:25104)
Later, even if I fixed the error, it seems that only part of the bones will be animated.
from away3d.
cat2.dae.zip
Error DAE file.
from away3d.
Thanks for the example file! I don't have time to look at this right now, but I definitely want to get to it.
from away3d.
Thanks, if you have any news, please let me know.
from away3d.
video.zip
This is the performance of animation.
from away3d.
from away3d.
Animate is ok now! @player-03
I created a pull request:#42
from away3d.
Related Issues (20)
- 100$ Bounty. Android chrome bad depth sorting and glitches. HOT 2
- 100$ Bounty. Huge performance difference on html5 with multiple meshes and merged in a single mesh.
- Please publish a new version to Haxelib HOT 1
- Problem with MD2Parser HOT 4
- Add Missing MouseEvent3D Events
- View3D project bug in shareContext HOT 2
- Bug in OrthographicLens.hx HOT 1
- How to lower screen resolution on mobile to render app faster? HOT 4
- Parallax Mapping. Possible? HOT 2
- FBX support? HOT 2
- [HTML5] shared context with starling doesn't work, if starling contain masks HOT 1
- [HTML5] Stage resizing issues with shared context
- Object3D.pivotPoint (bug) HOT 1
- If _billboardAxis is not null in ParticleBillboardState, the display object will disappear.
- Memory leak: material.lightPicker
- `ParticleGeometryHelper` creates one particle per subgeometry. HOT 2
- lime test flash fails HOT 1
- Starling/Away3D interoperability is broken HOT 1
- error on view3D.dispose() (i now provided my code) HOT 12
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 away3d.