Search the Community
Showing results for tags 'instancedmesh'.
-
Do anybody know if its possible to create a class Like InstancedMesh BUT use a separate skeleton... So I can either clone or build up a skeleton for each instancedMesh to use... that way each instanced mesh could play a separate animation... Don't know if its possible with the current InstancedMesh class but maybe can be re-write a class of subclass that can handle using a seperate skeleton... Maybe just wishful thinking Yo @Deltakosh do you think would be possible at all ???
-
Hi, I recently implemented LODs for an InstancedMesh. The problem is, this InstancedMesh has an EdgesRenderer (which works great) but when the quality is reduced (LOD), the edges aren't rendered anymore. The problem doesn't exist for a regular Mesh, even with LODs: http://www.babylonjs-playground.com/#QE7KM#14 Here's what happens when you add instances: http://www.babylonjs-playground.com/#14ESWC#13 You can see that edges are rendered only for the masterMesh and when one of the instances gets degraded, the edges are rendered for the sourceMesh. I tried to find an obvious solution to this but to no avail. It's not that big of a deal for me but I thought I'd ask anyway. Perhaps somebody knows a solution? Or maybe you're aware of this problem and are going to resolve it in a future update? Thanks in advance.
- 7 replies
-
- lod
- edgesrenderer
-
(and 1 more)
Tagged with:
-
Instance of mulitmaterial mesh does not render properly on some hardware see http://www.babylonjs-playground.com/#1UFKIN The MultiMaterial part starts at line 81 This renders fine on my PC. My PC has a dedicated graphics card This does not render well on my laptop. My laptop does not have a dedicated graphics card On my laptop it appears as in the attached screenshot.
-
InstancedMesh.clone() method throws folloiwing exception Uncaught TypeError: mesh._getInstancesRenderList is not a functionShadowGenerator.renderSubMesh @ babylon.2.4.max-04-23.js:10003 ShadowGenerator._shadowMap.customRenderFunction @ babylon.2.4.max-04-23.js:10047 RenderingGroup.render @ babylon.2.4.max-04-23.js:14077 RenderingManager.render @ babylon.2.4.max-04-23.js:14030 RenderTargetTexture.renderToTarget @ babylon.2.4.max-04-23.js:21082 RenderTargetTexture.render @ babylon.2.4.max-04-23.js:21046 Scene._renderForCamera @ babylon.2.4.max-04-23.js:15718 Scene._processSubCameras @ babylon.2.4.max-04-23.js:15787 Scene.render @ babylon.2.4.max-04-23.js:15940 (anonymous function) @ Vishva.js:1184 Engine._renderLoop @ babylon.2.4.max-04-23.js:5836
-
create an instance of a mesh add shadows to the instance serialize the scene load the scene instance does not show shadow