• Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by satguru

  1. @Boz

    Sorry, I am not sure I understand.
    I am not preventing any mouse movement or action.
    When you press mouse left button and move the mouse it rotates the arcrotate camera around the character and if the character is moving it rotates the character too.
    Are you saying that you do not want the camera to rotate when the mouse is moved?



  2. Hi @Boz

    4 hours ago, Boz said:

    It really fits my needs, except one thing : I prefer to use the mouse to move left and right instead of A and D keys.
    But you disable the mouse from moving when the character is walking.


    when you say "move left and right" do you mean strafe left or right or turn left or right?

    Currently you can turn left and right using the mouse but you have to press  left mouse button  and move the mouse to do that.

    Are you looking for free mouse look? In other words turn the character by just moving the mouse instead of pressing and moving the mouse?

  3. @Luaacro

    That was fast.
    Much cleaner now.

    "Import Project" does not seem to be working.
    I see following error in console
    Uncaught (in promise) TypeError: Cannot read property 'name' of undefined
        at Editor.eval (editor.js:1)
        at step (editor.js:1)
        at Object.eval [as next] (editor.js:1)
        at eval (editor.js:1)
        at new Promise (<anonymous>)
        at __awaiter (editor.js:1)
        at dialogCallback (editor.js:1)
        at eval (editor.js:1)
        at Object.eval [as callBack] (editor.js:1)
        at HTMLButtonElement.<anonymous> (w2ui.min.js:7)


    "2) New Project with empty scene?" 
    Is there any other way to create an empty scene?
    Is there a way to delete everything in the scene in one stroke?
    I tried deleting each item in the scene one at a time but wasn't able to delete any of the GUI elements.
    So yes a new Project with empty scene would help

    What is "Export Template"?
    Is it a way to publish my scene?
    When I do that it tries to log me into some Microsoft account. 
    What if i do not have or want a a Microsoft account?
    It should allow me to save it to my disk







  4. @Luaacro


    Few other issues.

    1) Under menu item "Project", the  "Clean Project" does not seem to work. The same project is displayed again but this time I am unable to select anything.

    2) Instead of "Clean Project" maybe it should be called "New Project" ? Thats what most other  editors have.

    3) I find the "Project" menu confusing.

    We have
    "Import Project", "Export Project", "Save Project as."
    "Download Scene", "Export Scene As"

    Not sure about the difference between
    Export Project and Save Project
    Download Scene and Export Scene. (what about import Scene?)

    Also Project options and Scene options should be clubbed together under the Project menu?

    4)  Anyway to select , edit or delete GUI Items in the screen?

  5. @Luaacro

    Right now the ArcRotate camera just rotates about itself. It does not rotate about the object selected.

    Is there a shortcut key to focus on an object?

    Sometime double clicking an object shifts focus to it. But that seems to be buggy. It does not work most of the time. Also after focusing, if you left click, hold and drag the mouse the screen remains unresponsive and  if you let go off the mouse the mouse goes into free look.

  6. Here's a PG example.

    This loads a small obj file "TallWall.obj". The obj file has a small mtl file "TallWall.mtl".
    No textures, just colors.

    The files are located here

    In the PG example I print "mesh.material" from two places

    1) from inside the   ImportMesh() OnSuccess  method and

    2) outside it after waiting 2 secs.

    Inside I get undefined , outside, after 2 sec, I get the material

  7. Looks like the obj loader is not finished loading material when the BABYLON.SceneLoader.ImportMesh() onSuccess function is called.


    I need to make changes to the mesh material after the mesh is loaded by the obj loader.

    How would i know when the obj loader is done loading the material?

    what is the most reliable method for doing that?

  8. Thanks for the kind words.  I try to keep my edit control up to date as much as possible but making it a part of the engine would require much more commitment which I am not sure I can provide. So it is good to have an officially supported alternative. The more the better :)


    Nice work !!
    If somebody is having trouble starting the server then below might help
    1) "TerrainEditor.exe" shortcut does not work. It points to "D:" drive. 
         Instead of that click "PHPServeur\TerrainEditor.exe"
    2) Modify " PHPServeur\home\us_config\us_user.ini" 
         US_ROOTF_WWW = /TerrainEditor 
        US_ROOTF_WWW = ../
        You might also want to change  
        AP_PORT = 80  
        to a different port.