cx20

Members
  • Content count

    71
  • Joined

  • Last visited

About cx20

  • Rank
    Advanced Member

Contact Methods

  • Twitter
    cx20

Profile Information

  • Location
    Tokyo

Recent Profile Visitors

1,255 profile views
  1. @bghgary I understood that using the DDS file will make loading of the environment map faster. However, since I do not have enough knowledge about DDS files, I would like to investigate a bit.
  2. @Deltakosh Does it mean that it takes time to be displayed because the spherical harmonics calculation is done when environment texture is set? If so, is it because the spherical harmonics function is not calculated because the display of the next sample is fast? In the sample below Babylon.js v3.0 seems to be used. https://sbtron.github.io/BabylonJS-glTFLoader/?model=Hourglass Thank you for the good information. I would like to add this setting to the sample.
  3. @Dad72 I tried the advice you got and confirmed that it will speed up @aWeirdo I tried with the second argument of createDefaultSkybox() set to false. However, it seems that the display speed hardly changes. When I tried variously, I confirmed that it will be delayed when setting environmentTexture. I could not understand why it would happen BTW, since I want to test the glTF model of PBR, I would like to activate PBR
  4. I am using Skybox in the sample below. However, it takes a considerable time to display it compared to without using Skybox. It is 4 to 5 seconds to experience. I tried it in the following two environments, but both are felt late. PC1: ThinkPad X260 + Windows 10 Version 1709 (OS Biuld 16299.371) + Intel(R) HD Graphics 520 PC2: Desktop PC + Windows 10 Version 1803 (OS Build 17133.73) + NVIDIA GeForce GTX 660 Is the usage incorrect? I will be saved if you give me advice. https://cx20.github.io/gltf-test/examples/babylonjs/index.html?model=Duck&scale=1 // Skybox var cubeTexture = new BABYLON.CubeTexture( "../../textures/cube/skybox/", scene, ["px.jpg", "py.jpg", "pz.jpg", "nx.jpg", "ny.jpg", "nz.jpg"] ); scene.createDefaultSkybox(cubeTexture, true, 10000); It seems it takes 4 to 5 seconds to display irrespective of cache with or without cache. BTW, The following is a sample of Three.js. I am using Skybox, but it takes less than 1 second to display. https://cx20.github.io/gltf-test/examples/threejs/index.html?model=Duck&scale=1
  5. I confirmed that the sample below works with Babylon.js v3.1-rc-2. https://cx20.github.io/gltf-test/examples/babylonjs/index.html?model=BoxTextured&scale=1 https://cx20.github.io/gltf-test/examples/babylonjs/index.html?model=BoxAnimated&scale=0.5 https://cx20.github.io/gltf-test/examples/babylonjs/index.html?model=RiggedSimple&scale=0.2 I would like to test again when the sample model is updated.
  6. I tried to display the glTF model with the latest version of Babylon.js (v3.1 rc-1). However, it seems that some models do not display properly. BoxTextured ... Texture is not displayed BoxAnimated ... Animation only works partially RiggedSimple, RiggedFigure, CesiumMan, Monster, BrainStem, VirtualCity ... Animation does not work https://cx20.github.io/gltf-test/examples/babylonjs/index.html?model=BoxTextured&scale=1 https://cx20.github.io/gltf-test/examples/babylonjs/index.html?model=BoxAnimated&scale=0.5 https://cx20.github.io/gltf-test/examples/babylonjs/index.html?model=RiggedSimple&scale=0.2
  7. I confirmed that the problem was solved with the latest version. http://jsdo.it/cx20/aGqk
  8. @bghgary Hmm, It looks like it has not healed yet. I tried displaying polly.gltf which was updated with the latest library (v3.1-beta-6). project_polly.gltf 2017/11/08 https://github.com/KhronosGroup/glTF-Blender-Exporter/blob/0e23c773bf27dad67d2c25f060370d6fa012d87d/polly/project_polly.gltf http://jsdo.it/cx20/aGqk https://sandbox.babylonjs.com/
  9. cx20

    AnimatedTriangle.gltf is not displayed

    Sorry, it was my mistake. I thought that the model of the tutorial was newer, I brought javagl/gltfTutorialModels repository, However it seems to be old. Related: https://github.com/javagl/gltfTutorialModels/issues/3
  10. I tried to display the following model. https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/AnimatedTriangle/glTF However, it seems that an error is output to the console. https://cx20.github.io/gltf-test/examples/babylonjs/index.html?category=tutorialModels&model=AnimatedTriangle&scale=1&type=glTF babylon.max.js:sourcemap:6692 BJS - [02:09:32]: glTF Loader: #/animations/0/channels/0: Failed to find target node undefined Tools._ErrorEnabled @ babylon.max.js:sourcemap:6692 babylon.max.js:sourcemap:6692 BJS - [02:09:32]: Unable to load from ../../tutorialModels/AnimatedTriangle/glTF/AnimatedTriangle.gltf: #/animations/0/channels/0: Failed to find target node undefined Tools._ErrorEnabled @ babylon.max.js:sourcemap:6692 Previously it was correctly displayed. It is unknown when it became impossible to display in which version.
  11. cx20

    Bear glTF model could not display

    Thank you for fixing. I confirmed that it has been fixed. http://jsdo.it/cx20/gu06
  12. I tried to display the following model in Sketchfab with Babylon.js. https://sketchfab.com/models/f2f13a8630004b1c82730d8b9ffa0e1f bear_on_balloons\scene.gltf However, when trying to display with Babylon.js sandbox, an error was output to the console and it was not possible to display the glTF model. It seems there is a problem with animation processing. https://sandbox.babylonjs.com/ BJS - [00:09:49]: Babylon.js engine (v3.1-beta-6) launched Babylon.js:formatted:28342 Uncaught TypeError: Cannot read property 'frame' of undefined at t._interpolate (babylon.js:formatted:28342) at t.animate (babylon.js:formatted:28528) at t._animate (babylon.js:formatted:28682) at i._animate (babylon.js:formatted:14035) at i.render (babylon.js:formatted:14758) at t.renderFunction (babylon.js:formatted:37709) at babylon.js:formatted:37796 at n._renderLoop (babylon.js:formatted:6672)
  13. I think that there is probably an error in the resource url. LOW LYING FOG : https://www.babylonjs-playground.com/frame.html#1DZUBR#29 The following error is output to the console. babylon.js:3 BJS - [21:27:40]: Error while trying to load image: https://dl.dropboxusercontent.com/s/zpl44yb2jvopv8n/Smoke3.png
  14. The project "Polly" seems to have been created to introduce all new features of glTF 2.0. https://www.youtube.com/watch?v=l7TB1O51X_M However, I tried project_polly.gltf displayed in Babylon.js + glTF Loader, skinning animation seems not to be displayed correctly. Babylon.js + glTF Loader + project_polly.gltf result: http://jsdo.it/cx20/aGqk
  15. I confirmed that it was fixed. https://github.com/cx20/gltf-test#more-complex-models https://cdn.rawgit.com/cx20/gltf-test/40eebcd9f397b7e8df1af20dba0ba7b6ec1d12e1/examples/babylonjs/index.html?category=sampleModels&model=BoxInterleaved&scale=1&type=glTF Thank you for the quick fix.