Jump to content


  • Content Count

  • Joined

  • Last visited

About jacquesr

  • Rank
    Advanced Member

Recent Profile Visitors

1535 profile views
  1. sorry, I did not see the forum was closed, haven't been here for a long time 🤭
  2. Hi, I saw that the engine has a fallback texture (the red-black checkerboard texture). Like in this example, where I deliberately try to load a non existing texture. https://www.babylonjs-playground.com/#CZ9EMB Is there a way to assign this fallback texture to a material via the API on purpose? I want to show it in certain scenarios even when I am not trying to load a texture, but also if I am trying to create an invalid material. We have a high level material description that must follow some rules and I want to unify the appearance of invalid materials in the
  3. Sorry, seems to be a known issue as filed here. I expect this to be the same problem.
  4. Hi, since Firefox 58 is released, our component that uses Babylon.js to display truck loads renders certain cubes in grey. This only happens in recent Firefox versions. I investigated the scene objects and the materials and their colors are indeed assigned to the objects. There are no errors in the console. Also, this does not affect all objects, only the ones we create before the first render (as it seems, so far...) alhtough we create everything using the MeshBuilder createBox/createCylinder factory methods. Also, this does NOT happen on every machine. I experienced this on my own
  5. Hey Raanan, just see those examples: left handed http://www.babylonjs-playground.com/#9U086#201 right handed http://www.babylonjs-playground.com/#9U086#200
  6. Hi guys, please forgive me, I was not sure if reporting this as a bug is really the best approach or if it should rather be an open discussion. From what I can see I expect that scene.useRightHandedSystem is just scaling everything as "x *=-1" This makes the feature rather impractical when text (on textures, basically) is involved in the scene. I was hoping so much for this setting to address an issue we have where in our ecosystem, babylonjs is the only component with a left handed coordinate system and requires offset translations for everything we draw... I may also have
  7. You made my day. And the next day, too. And the day after tomorrow. And all that within 10 minutes. Great, thanks
  8. Oh and this.sceneObjects.sunLight is a directional light
  9. Hi guys, I recently started with some visual fidelity stuff in my scene and I wanted to add shadows. Now, I load a mesh that I exported from blender and I do this BABYLON.SceneLoader.ImportMesh("", "lib/orteclbvis/themes/defaulttheme/models/","yard.babylon", this.scene, (newMeshes, ParticleSystem, skeletons ) => { newMeshes[0].rotate(BABYLON.Axis.Y, BABYLON.Tools.ToRadians(180), BABYLON.Space.LOCAL); newMeshes[0].position.y = this.getEnvironmentHeight(); newMeshes[0].position.z = 0; newMeshes[0].position.x = 30000; if(this.sceneObjects.su
  10. http://www.babylonjs-playground.com/indexstable#43BR33#5 worked days ago, also still works on stable but doesn't work correctly in latest
  11. Hello everyone, I started programming motion calculation to get into math and physics a little deeper again. I know that my problems have already been solved by other people around the globe every day, but I don't want to use the simple approach with a physics engine for now. I want to understand how things work. So. Here is my problem: I have an entity with mass and velocity and it is currently heading 0. Now, I apply a side force (centripetal force). It might come from any angle. My current implementation uses a standard centripetal force calculation using a circle, where I ge
  12. Hello everyone, I started working on a game. Those of you who can remember Soviet Strike/Nuclear Strike can take this as reference regarding what I am going for with my helicopter controls. I'm not that much of a physics / math pro and so I started thinking about how I can model the behavior of a helicopter where my assumption is that its height over the surface is not controllable but instead is automatically adjusted when moving across the game world. My current idea is to model the helicopter behavior with the inertia of a sphere that moves on a flat surface and I apply force to i
  13. great starting point, thank you very much
  14. Hi, I would like to have a silhouette effect around a mesh, comparable to the targeting help of diablo 3 (see the attached, unfortunately low-res screenshot). I know that there are properties for that in babylon.js but they don't work that well with my scenario. The mesh has several submeshes and I really only want to have a single outline that might be the result of evaluating child mesh geometry edges. It would be great if you guys could lead me into the correct direction for solving that problem since such a visualization could greatly enhance the UX in my app. Regards
  15. Hi, I need to implement a check that can determine if a bounding box is completely inside a set of bounding boxes. See my attached graphic for a better understanding of the situation. I am thinking of consuming the A to B paths on each axis of the original bounding box using the axes limits of the containing bounding boxes. Then, for each axis, I would store those in an array, sort them by starting point, find if there are overlaps, eliminate them, find gaps (could probably happen if outer bounding boxes are not adjacent to each other) and if none are there, look if the total le
  • Create New...