Dad72 Posted January 28, 2016 Share Posted January 28, 2016 Je suis sur Chrome. Si tu décoche la case "local" et que tu déplace le cube sur l'axe X (bleu), il est largement plus lent que tu tu coche "local" et que tu déplace sur l'axe X (bleu). j'ai vider les caches du navigateur et c’est visuellement flagrant. J'avais peut être mal expliquer en anglais. http://ssatguru.appspot.com/babylonjs/EditControl/webapp/index.html Quote Link to comment Share on other sites More sharing options...
satguru Posted January 28, 2016 Author Share Posted January 28, 2016 4 hours ago, Dad72 said: Je suis sur Chrome. Si tu décoche la case "local" et que tu déplace le cube sur l'axe X (bleu), il est largement plus lent que tu tu coche "local" et que tu déplace sur l'axe X (bleu). j'ai vider les caches du navigateur et c’est visuellement flagrant. J'avais peut être mal expliquer en anglais. http://ssatguru.appspot.com/babylonjs/EditControl/webapp/index.html I'm on Chrome. If you uncheck the "local" box and you move the cube on the x-axis (blue) , it is widely slower than tu tu "local" checkmark and you move on the X axis (blue). I empty the browser cache and it is visually obvious. I may be wrong explain in English . I am sorry I still do not see the problem ( also x-axis should be red). Are you testing on PC (wondows/mac?) mobile, tablet ? Can somebody on the forum please test and confirm what Dad72 is finding? Regards Quote Link to comment Share on other sites More sharing options...
Dad72 Posted January 29, 2016 Share Posted January 29, 2016 I'm on PC with Windows 10. I'll try to make a short video when I get the time if you wish. Quote Link to comment Share on other sites More sharing options...
satguru Posted January 29, 2016 Author Share Posted January 29, 2016 A video will be nice. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted January 30, 2016 Share Posted January 30, 2016 ok, here is the link of video. See the cursor during displacement in local and world: controlEditor.avi Quote Link to comment Share on other sites More sharing options...
satguru Posted January 30, 2016 Author Share Posted January 30, 2016 No clue why this is happening to you . Work fine for me . Wonder if other people have the same issue at my demo site http://ssatguru.appspot.com/babylonjs/EditControl/webapp/index.html Let me know if you or anybody else have any idea And thanks for taking the time to make this video. Regards Quote Link to comment Share on other sites More sharing options...
Dad72 Posted January 30, 2016 Share Posted January 30, 2016 Apparently it comes from my PC because on the computer of my girl friend, it works correctly. I do not know what can cause this, my PC works well. Mouse parametre can beings? (Logitech Gaming laser G700) Quote Link to comment Share on other sites More sharing options...
satguru Posted February 6, 2016 Author Share Posted February 6, 2016 FYI Have uploaded a new version uses babylonjs 2.3 ui changes added undo/redo capability demo at http://ssatguru.appspot.com/babylonjs/EditControl/webapp/index.html GameMonetize, jerome, iiceman and 2 others 5 Quote Link to comment Share on other sites More sharing options...
satguru Posted February 8, 2016 Author Share Posted February 8, 2016 On 1/30/2016 at 10:16 AM, Dad72 said: Apparently it comes from my PC because on the computer of my girl friend, it works correctly. I do not know what can cause this, my PC works well. Mouse parametre can beings? (Logitech Gaming laser G700) @Dad72 When I upgraded to 2.3 I ran into exactly the same issue which you described (slow translate on global) but, in my case, only on Firefox. Anyway, I worked around that issue. Could you try my new version and see if it solves this issue? Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 8, 2016 Share Posted February 8, 2016 Hi, I had to try the new version and it was even slower. Quote Link to comment Share on other sites More sharing options...
satguru Posted February 8, 2016 Author Share Posted February 8, 2016 Damn! Will keep looking Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 14, 2016 Share Posted February 14, 2016 I just tested today and it sounds better now. I suppose you send a new version. Quote Link to comment Share on other sites More sharing options...
satguru Posted February 14, 2016 Author Share Posted February 14, 2016 @Dad72, Glad to know its working for you now. Not sure what got that working. Have been making few changes. Just uploaded a new version which uses jquery PEP instead of hand.js. I found that hand.js has been discontinued. See https://github.com/Deltakosh/handjs Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 14, 2016 Share Posted February 14, 2016 Ah yes, indeed hand.js has been discontinued. I'll take a look at jQuery PEP. Thank you Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 28, 2016 Share Posted February 28, 2016 Hello, I feel that if an object is given a smaller scale, rotation is extremely fast. If I put a character scale 1 ok, but 0.5, the figure is 10 times 180 degrees by moving the mouse of 1 millimeter. Quote Link to comment Share on other sites More sharing options...
satguru Posted February 28, 2016 Author Share Posted February 28, 2016 @Dad72 Are you using 2.4? Rotation does not work properly with 2.4. Looking into it. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 28, 2016 Share Posted February 28, 2016 I use the latest version of the repository, yes. Maybe we should add the ability to adjust the speed or add something to adjust based on the scale used. Thanks Satguru Quote Link to comment Share on other sites More sharing options...
satguru Posted February 29, 2016 Author Share Posted February 29, 2016 We probably should. Let me first figure out why it has stopped working withe the latest 2.4 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 29, 2016 Share Posted February 29, 2016 I guess it depends on the scale of the model. On objects that are to a large scale, if I put a smaller scale is 0.3 or 0.5, the rotation becomes very fast. I guess it's a question of scale, by deduction, but I'm not sure. Thanks satguru Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 10, 2016 Share Posted March 10, 2016 Hi, Did you try the latest version of Babylon? it seems that there is a problem with onPointerUp() When moving an object, and the mouse is released, the camera is attached to the pointer of mouse. I do not know if it's a bug of Babylon or EditeControl Have you been looking for the problem previous for rotation along the scale of objects ? Rotation that is extremely sensitive with some objects. Thanks Satguru Quote Link to comment Share on other sites More sharing options...
satguru Posted March 10, 2016 Author Share Posted March 10, 2016 @Dad72 Yes I am aware of the issue. Seems to be related to changes introduced by Added Camera.ForceAttachControlToAlwaysPreventDefault For some reason the camera.detachControl() is not working as expected now. Regarding scale issue. I do not think it is a scale issue. Can you test with 2.3 and see if you have the same issue? I know there was an issue with euler / quaternion - http://www.html5gamedevs.com/topic/20963-euler-to-quaternion-rotation-issue/ Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 10, 2016 Share Posted March 10, 2016 Yes I use the latest version of 25 days ago. Ok so it's a little bug on Camera.ForceAttachControlToAlwaysPreventDefault Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 10, 2016 Share Posted March 10, 2016 Is it still the case? If yes can you provide a PG? Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 10, 2016 Share Posted March 10, 2016 Yes, PG here: http://www.html5gamedevs.com/topic/21086-cameradetachcontrol/?do=findComment&comment=120074 Quote Link to comment Share on other sites More sharing options...
Voobus Posted March 12, 2016 Share Posted March 12, 2016 I'm a huge proponent of the new JS syntax/feature additions, and so I wanted to write my new project using JS modules, etc. Unfortunately, your code is not written with modern javascript in mind, and therfore I have opened an issue on the repo: https://github.com/ssatguru/BabylonJS-EditControl/issues/1 I can translate all of your Java code to new ES6+ code that will transpile down to browser-ready code with Babel. I'd love to get the ball rolling on this ASAP. Let me know. Thanks -------------------------------- UPDATE I decided that I was not keen on waiting, and so I went ahead and did a 1:1 translation of your java into modern javascript. I'll put it on github right away. I hope we can collaborate on this. Translating the code is one thing, understanding what it does is another thing, haha. As it stands, the code is as close to a 1:1 translation as I could get it (it's very close). It does require a lot of cleanup, in my opinion. A lot of the code and logic could be simplified. This is my next goal. Alright, here's the github url: https://github.com/ndugger/babylonjs-editcontrol-js Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.