• Content count

  • Joined

  • Last visited

  • Days Won


satguru last won the day on January 1

satguru had the most liked content!

1 Follower

About satguru

  • Rank
    Advanced Member

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    Cedar Rapids, Iowa, USA

Recent Profile Visitors

1,758 profile views
  1. Mousewheel for FreeCamera

    this maybe
  2. Character Controller

    @psikoT Found a way by which you can make your model work without changing its orientation. Create an empty mesh, make it a parent of your model and pass that, instead of your model, to the character controller. Use character controller setAvatarSkeleton() method to set the skeleton to your model's skeleton Attached is an updated version of your index.html which works. index.html
  3. Character Controller

    Hi @psikoT Thanks for providing the character. Found what the issue is. Your model has Z up and Y forward. Babylon (and the Character Controller) expects Y up and Z forward. Here is a screenshot of your character in babylon sandbox. If you can change that then it will work fine. Nice character and animations by the way
  4. Character Controller

    @psikoT I am curious what the problem might be. Do you mind sharing your character Babylon file?
  5. glb loader flips faces in right handed scene

    @bghgary I see that this is fixed now. Thanks
  6. Absolute Position and Pivot Point

    glad this is getting fixed. had me confused too sometime back
  7. Split large ground mesh into sections

    @MackeyK24 Maybe you can use BABYLON.DynamicTerrain.CreateMapFromHeightMap function to get a data map from the ht map and then create sub meshes from the data map? @jerome might have some idea on how to do that.
  8. Matrix decompose scaling bug

    I will work on a pr
  9. Matrix decompose scaling bug

    @Deltakosh Me too it seems that based on just the matrix the only conclusion one can definitely arrive at is i) one scale is -negative or all scales are negative or ii) one scale is positive or all scales are positive but not which scale exactly. This would be based on taking cross product of two vectors and then dot product with the third vector So if (Vector3.Cross(ux,uy).Dot(uz))<0 then one scale is negative or all scales are negative else one scale is positive or all scales are positive Maybe mathematically impossible to determine the sign of the original scale? If that is the case then should the user provide the information ? as optional params? Matrix.Decompose(scale,rotation,translation,signX?,signY?,signZ?); where signX,signY,signZ would be 1 or -1
  10. @tips4design nice to know. but I suspect some overhead to this approach. a quick google search bring's up some interesting discussion
  11. you cannot access "mesh._enabled" if your are programming in TypeScript. its probably defined as "private" in TypeScript. unfortunately JavaScript does not have anything equivalent to make a property private. so the only thing you can do is follow some convention like underscore to make the JavaScript programmer aware they are accessing a private property and let them know if they do so BABYLON cannot guarantee proper behavior.
  12. gltf,glb and left- handed system

    3) One of the reason I was advocating converting to left handed system was to avoid adding extraneous nodes. In other words keep things as close as possible to the original. We don't want users scratching their head wondering "from where did this node come from? I didn't have this in my gltf file". So I was thinking that there should be something like a "fast-left-handed-load" option which should be off by default. That option would come with the caveat that if the user turns it on then they would get faster load time but at the cost of having to deal with an extra nodes called "__root__" and -ve scaling.
  13. Matrix decompose scaling bug

    @Deltakosh @bghgary check this playground example wherein I am printing out the rotationQuaternion using different methods I get different results If i comment out line 12 (thus removing the negative scaling), I get correct results.
  14. gltf,glb and left- handed system

    1) won't we have to iterate through each of the elements anyway, to move them from gltf data structure to babylon data structure? Or is the gltf data structure so similar to the babylon data structure that that won't be an issue? 2) by offline I did mean creating a .babylon file 3) not sure about making the option off by default. In a right handed scene I am assuming we won't be adding a "__root__" node. So by default in right handed scene the meshes would show up without "__root__". Whereas, if the default is off, then by default in a left handed scene meshes will show up with "__root__" node. Potential for confusion?
  15. BabylonJS EditControl

    Release 3.1.0 (01/22/2018) * planar guides always rotate to face camera. makes it easier to pick them * mesh with parents or childs are properly supported. see * constructor now has an additional optional parameter called "pickWidth". This determines how close the pointers need to get to an axis before the axis can be picked up. The default is 0.02 * constructor "scale" parameter has been made optional. Default is 1. * code refactored. private properties are prefixed with underscore "_". This warns JavaScript coders from using those as JavaScript does not honor TypeScript's "private" keyword. Underscore also helps with property name mangling and thus reducing the minified size. * added additional demo file (demo-parenting.html). The long term intention being to use these for tests.