Jump to content

Hersir

Members
  • Content Count

    329
  • Joined

  • Last visited

  • Days Won

    1

Hersir last won the day on July 21 2017

Hersir had the most liked content!

About Hersir

  • Rank
    Advanced Member
  • Birthday 08/26/1986

Contact Methods

  • Website URL
    http://hersir88.github.io
  • Twitter
    hansagames

Profile Information

  • Gender
    Male
  • Location
    Riga

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. But as engine is not listening to them my script gets stuck for ever, as its waiting for up event, for now added `pointercancel` event on app side, and just triggering onPointerUp from scene to force cancel as up, till now works well but in long term could get in some issues where valid cancel event will be executed as up
  2. @Sebavan Hi, I have pep.js as pointer events are working, just on some andorid devices instead of PointerUp, PointerCancel event is called especially if taps are done very quickly
  3. `this._pointerCaptures` have these pointer ids as true
  4. Hi, have encountered such issue, I am listening on pointer events observable: scene.onPointerObservable.add(this.onPointer); this method listens to down, up, move events: function onPointer(info: PointerInfo) { if (info.type === PointerEventTypes.POINTERMOVE) { this.handleMove(info.event); } else if (info.type === PointerEventTypes.POINTERUP) { this.handleUp(info.event); } else if (info.type === PointerEventTypes.POINTERDOWN) { this.handleDown(info.event); } } all woks well till on some android devices
  5. Ok now can confirm it was webpack version missmatch now after upgrade to webpack 4 it works
  6. Hi, I use TransformNode as parent for my meshes and would like to add all children to ShadowGenerator, like this `addShadowCaster(node, true)` but it accepts just AbstractMesh as input there, what about changing type to TransformNode ? Like this: public addShadowCaster(mesh: TransformNode, includeDescendants = true): ShadowGenerator { if (!this._shadowMap) { return this; } if (!this._shadowMap.renderList) { this._shadowMap.renderList = []; } // Need to check if is real mesh i
  7. @waverider Would be nice to get GPU, OS, browser versions, but this is android gpu `features` Try this: force webgl 1 if webgl 2 is used remove shadows if used change light types, try to use just 1 type and 1 light to see if that cuases it try different materials remove env map if used I have worked with such issues a lot, and most of time found comp that causes this, but at the end its usually weak, bugy gpu driver or OS, as sometimes same device works well with minor os downgrade / upgrade. I usually try to reproduce bug in playground wit
  8. @RaananW sorry wrong wording from my side, I meant that import "babylonjs-gui"; import "babylonjs-loaders"; import "babylonjs-serializers"; dont have any errors if included, but import "babylonjs-inspector"; still have bind error as before I also tried rc4 but have same issue, and `babylonjs-serializers` is still missing if inspector is installed from npm. I would bet on webpack version differences ,as cold be that dependency bundling was changed from wp3 to wp4.
  9. @RaananW You mean like this ? import "babylonjs-gui"; import "babylonjs-loaders"; import "babylonjs-serializers"; if yes than worked fine, launched without error
  10. Hi @RaananW so all in order System: macOS High Sierra 10.13.6 Browser: Chrome 69.0.3497.100, Safari 12.0, Firefox 62.0 Webpack: 3.12.0 Babylonjs: 3.3.0.-rc.1 Inspector: 3.3.0.-rc.1 Tried: import { Inspector } from "babylonjs-inspector"; new Inspector´╗┐(this._scene, false, 0, null´╗┐);´╗┐ and import "babylonjs-inspector"; scene.debugLayer.show(); both produce same bind error at start of load, dont even get to new Inspector or show: Uncaught TypeError: Cannot read property 'bind' of undefined at universalModuleDefinition:1 at universalModuleDef
  11. Tried to use npm version of inspector but there is same error about bind. Off topic npm inspector package is missing dependencies, (babylonjs-gui, babylonjs-loaders, babylonjs-serializers), would be nice to add it in package.json of inspector so they are auto installed, as it doesn't work without them.
  12. Looks like inspector script is loaded, but global INSPECTOR is still undefined, could be related to fact that I use, webpack 3, but inspector is bundled with webpack 4
  13. Hi, tried to open inspector by: this.getScene().debugLayer.show(); but that produces following errors: bootstrap:129 Uncaught TypeError: Cannot read property 'bind' of undefined at bootstrap:129 at bootstrap:137 at universalModuleDefinition:9 at universalModuleDefinition:1 Uncaught TypeError: Cannot read property 'Inspector' of undefined at t.webpackJsonp.1921.t._createInspector (babylon.js:1) at HTMLScriptElement.n.onload (babylon.js:1) I am using babylonjs rc-1, and webpack for packing. I am missing some new configs ?, as it used to work 2-3 ve
×
×
  • Create New...