Hersir

Members
  • Content count

    55
  • Joined

  • Last visited

  1. Hi do I need to include pep library for picking? I added click event bit saw that scene has pointer coardinates window.addEventListener("click", function () { var pickResult = scene.pick(scene.pointerX, scene.pointerY); })
  2. Hi, sorry for stupid question probably, but is model size affecting performance, lets say I have small model and camera is 3 units from it and big model with camera 100 from it. Will performance be different for them or its doesn't matter how big model is exported fro 3d max.
  3. solved

    @Deltakosh Works great in chrome, firefox, opera, just safari is broken. Safari: WebGL v1 - WebGL 1.0 (2.1 INTEL-10.24.45) - Intel Iris Pro OpenGL Engine Chrome, Opera: WebGL v2 - WebGL 2.0 (OpenGL ES 3.0 Chromium) - Intel Iris Pro OpenGL Engine Firefox: Inspector is not scrollable so I can't see version
  4. solved

    @JCPalmer Thx for info
  5. @jellix No I use stable version of browsers, but textures could be with different aspect ratios, I will check.
  6. Hi, I tried to generate textures with PVRTexToolCLI but 2 were not done (astc and dxt). Astc was not created without error (junk.txt was created) but dxt said that format BC1 or BC2 is not found (I checked with -help supported formats and they really were not in the list). I am using mac so probably they are win only?
  7. Hi, does anyone knows what this warning means? [.Offscreen-For-WebGL-0x7fbd8c95ea00]RENDER WARNING: there is no texture bound to the unit 0 I get it in chrome, looks like that everything works fine, but I wouldn't like to ignore it I tried to search for it and looks like it was reported for other libs also (threejs ...)
  8. solved

    @Jaskar Yes , sorry, Mac OS: 10.12.4 Safari: 10.1 Unable to compile effect, Error: ERROR: unsupported shader version, Uniforms: world, view, viewProjection, vEyePosition, vLightsType, vAmbientColor, vDiffuseColor, vSpecularColor, vEmissiveColor, vFogInfos, vFogColor, pointSize, vDiffuseInfos, vAmbientInfos, vOpacityInfos, vReflectionInfos, vEmissiveInfos, vSpecularInfos, vBumpInfos, vLightmapInfos, vRefractionInfos, mBones, vClipPlane, diffuseMatrix, ambientMatrix, opacityMatrix, reflectionMatrix, emissiveMatrix, specularMatrix, bumpMatrix, lightmapMatrix, refractionMatrix, depthValues, diffuseLeftColor, diffuseRightColor, opacityParts, reflectionLeftColor, reflectionRightColor, emissiveLeftColor, emissiveRightColor, refractionLeftColor, refractionRightColor, logarithmicDepthConstant, vLightData0, vLightDiffuse0, vLightSpecular0, vLightDirection0, vLightGround0, lightMatrix0, shadowsInfo0, diffuseSampler, ambientSampler, opacitySampler, reflectionCubeSampler, reflection2DSampler, emissiveSampler, specularSampler, bumpSampler, lightmapSampler, refractionCubeSampler, refraction2DSampler, shadowSampler0 Playground: http://www.babylonjs-playground.com/?2 but even basic scene fails Fails when run is clicked or switch to different scene
  9. solved

    Ok thanx , link to issue https://github.com/BabylonJS/Babylon.js/issues/2056
  10. Hi, does anyone have problems with new playground on mac safari browsers? Every time I click run scene just disappears.
  11. solved

    Created issue https://github.com/BabylonJS/Babylon.js/issues/2042 Looking from code only ArcRotateCamera should be changed.
  12. Hi, I used to add mesh as camera.setTarget so camera follows mesh. But in t.ds file only Vector3 is allowed as target. But example with mesh as target works: http://www.babylonjs-playground.com/#BXII%2323 Typings are wrong or I am doing something wrongly?
  13. solved

    @Deltakosh Thanks for explanation
  14. solved

    @Deltakosh Thanks for feedback. I should just check it inside registerBeforeRender ?
  15. solved

    Found source of error. const copy = mesh.createInstance(`copy_${current}`); copy.parent = mesh.parent; copy.setAbsolutePosition(mesh.getAbsolutePosition()); copy.rotation = mesh.rotation.clone(); I copied loaded mesh 30x times. Looks like using incremental loading crush something in createInstance. Could be related to: Should I wait before creating instances? Right now I do it on SceneLoader callback.