babbleon

Members
  • Content Count

    230
  • Joined

  • Last visited

  • Days Won

    2

babbleon last won the day on June 4

babbleon had the most liked content!

About babbleon

  • Rank
    Advanced Member

Profile Information

  • Location
    England

Recent Profile Visitors

831 profile views
  1. babbleon

    camera similar to DeviceOrientationCamera

    Hi @Deltakosh, I have tried the below, but regardless of what I set xxxCorrection to it makes to difference to the movement of the camera when I move by device around. var camera = new BABYLON.ArcRotateCamera("Camera", 0, 0, 5, new BABYLON.Vector3(0, .3, 0), scene); camera.inputs.add(new BABYLON.ArcRotateCameraVRDeviceOrientationInput()); camera.inputs.attached.VRDeviceOrientation.alphaCorrection = -1; camera.inputs.attached.VRDeviceOrientation.betaCorrection = -1; camera.inputs.attached.VRDeviceOrientation.gammaCorrection = -1; Am I doing something obviously wrong?
  2. babbleon

    camera similar to DeviceOrientationCamera

    Cheers @Deltakosh, will check it out this evening.
  3. babbleon

    camera similar to DeviceOrientationCamera

    This works: var camera = new BABYLON.VRDeviceOrientationArcRotateCamera('Camera', 0, 0, 5, new BABYLON.Vector3(0, .3, 0), scene); camera.cameraRigMode = 0; However, when i rotate my device, the BJS camera seems to rotate the opposite way.
  4. Hello, Do we have something like DeviceOrientationCamera, but when the device is moved: the camera moves and the 'look at' position stays the sames as opposed to the camera position staying the same and the 'look at' position moving? I'd imagine if it existed it would be called DeviceArcRotateCamera. 😊 Hope this make sense! Thank you.
  5. babbleon

    Playground works, zipped copy does not

    oh... Is my problem due to this? getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details. That's a pain if it is. Do we have a workaround?
  6. Hello, This PG works fine on Android Chrome when viewed as a PG: https://www.babylonjs-playground.com/#5Q0MBS#10 but not when I download as a ZIP and then stick it on my server. I do not get any output from the devices camera. Chrome gives me this error: babylon.js:1 BJS - [15:09:01]: NotSupportedError _._ErrorEnabled @ babylon.js:1 (anonymous) @ babylon.js:1 Promise.catch (async) o.CreateFromWebCam @ babylon.js:1 (anonymous) @ (index):122 (anonymous) @ (index):120 Promise.then (async) createScene @ (index):116 (anonymous) @ (index):137 Does anyone have any ideas as to why it might not work and what the error message may relate to please? Screenshots below. Thank you.
  7. Thank you @Milton, I have been able to render successfully on a headless server.. but I'm always interested in anything that will improve speed.
  8. Hi @Sam82, would this enable me to render stuff on a headless Linux server without a GPU.. or have I missed the point?
  9. babbleon

    OBJExport confusion

    Many thanks @kcoley & no worries about the delay, I'm grateful you came back with a workaround! I shall give this a try later on and report if I have any problems.
  10. babbleon

    Gizmo Get Distance in Local Space

    Hi @inxs, have a closer look at the number.. it's 4.6e-16, a very small number indeed! Try this: console.log(.00000000000000046)
  11. Games arent my thing, the last one I put any effort into was Flight Unlimited in about 1996 / 97. If that came to Babylon it would be awesome. Makes me wonder actually, how many ppl on here are developing games or just other 3d stuff?
  12. babbleon

    Gizmo Get Distance in Local Space

    The difference in Y is very small though. If you rounded to, say, 8 decimal places it would = 0.
  13. babbleon

    OBJExport confusion

    Thank you @kcoley for looking into this. glTF won't work for me at the moment, but thank you for the suggestion.
  14. Hello, I am trying to export an OBJ from a scene which was loaded from a .babylon. The loading bit works fine and displays as expected. https://playground.babylonjs.com/#FLVK0U#1 However, the exported OBJ is partially flipped along the X-axis, see screenshot: This is very odd, as both the text and the monkey is one mesh... yet only one is flipped. Does anyone have any bright ideas please? Thank you
  15. Perhaps have a form where people can add their domain and a checkbox indicating if that can be made public or not. For what its worth, I use BJS - so you have at least one (very happy) user. 😀