c75

Members
  • Content count

    61
  • Joined

  • Last visited

About c75

  • Rank
    Advanced Member

Recent Profile Visitors

621 profile views
  1. @adam thank you!
  2. Hello guys, can you help? I have matrix and want to extract position, rotation and scale from it. To get position I use matrix.getTranslation(). What about rotation and scale? Can't find it in docs. Not sure that it allowed.
  3. or you can use vorlon.js to see console log on your mobile device - it's much easier and faster then use adb if you just want see console messages and errors from remote client
  4. not sure about your problem, but I had problems with Cordova and webgl - webgl not works there by default. The solution was using this plugin https://crosswalk-project.org/ It is custom webview component that contains all cool features of modern browsers. Check out that your environment supports webgl http://stackoverflow.com/questions/11871077/proper-way-to-detect-webgl-support
  5. @hunts seems what i'm searching for. Thank you!
  6. Hi guys! Found very usefull feature in three.js like ability to set texture as scene backgorund (https://threejs.org/docs/index.html#Reference/Scenes/Scene) Is there something like that in Babylon? Ofcourse we can use two scenes, put texture to plane, setup orthogonal camera... but it's very uncomfortable
  7. When exported Blender scene is loading with `scene.useRightHandedSystem=false` - it's ok, I see it as in Blender, but if I load messhes when `scene.useRightHandedSystem=true` - objects have wrong positions+rotations. (I'm using BABYLON.SceneLoader.ImportMesh) Is it bug? If not, is there any built in function to convert object hands-orientation matrix after import?
  8. it's run the FRONT camera default on android in chrome for me, and to switch to another camera - video device ID must be added to getUserMedia constraints, but `CreateFromWebCam` does not have this param
  9. I think you should modify CreateFromWebCam function and add to navigator.getUserMedia ID of your cam https://github.com/BabylonJS/Babylon.js/blob/5dfa40ab8ccfb1ea31af53f72b5e4f66de8c759e/src/Materials/Textures/babylon.videoTexture.ts#L98 if (navigator.getUserMedia) { navigator.getUserMedia({ video: { deviceId: {exact: VIDEO_SOURCE}, // <<<<<<<<<<< width: { min: (constraints && constraints.minWidth) || 256, ... replace VIDEO_SOURCE with your camera ID. You can get devices list using navigator.mediaDevices.enumerateDevices function
  10. Great job! Have you any plans to make augmented reality demo with babylon?
  11. Hello guys! Can I change PostProcesses settings dynamically (smoothly) on my scene?
  12. everybody love cubes)) http://files.c75.in/pub/demo/babylon-platformer-cube/ (space to jump, reload page to restart )
  13. it looks cool
  14. @Arthuron can you give picture similar to waht you want?