Dad72 Posted November 16, 2016 Share Posted November 16, 2016 I think your idea might work. Quote Link to comment Share on other sites More sharing options...
DigiHz Data Posted November 16, 2016 Share Posted November 16, 2016 It does work very nicely. Quote Link to comment Share on other sites More sharing options...
satguru Posted November 19, 2016 Author Share Posted November 19, 2016 On 11/13/2016 at 3:35 PM, joshcamas said: Question: when you add features, are you adding it to both the Vishva demo as well as the github repository? I can't wait to see the multi-selection! @joshcamas Yes, all features in Vishva demo should be in GitHub. The demo and all its assets , animations, characters, structures etc, are also in GitHub. They are not much but are free to use. As an FYI I have multi-selection in Visha but of course not in edit-control. Yet Quote Link to comment Share on other sites More sharing options...
satguru Posted November 19, 2016 Author Share Posted November 19, 2016 @DigiHz Data Pivot is a good idea . Will work on it. Thanks for the nice playground example. You put in lot of work there DigiHz Data 1 Quote Link to comment Share on other sites More sharing options...
DigiHz Data Posted November 19, 2016 Share Posted November 19, 2016 Thank you so much @satguru We do not want to stress you. But it would be nice if me and Dad72 could have the opportunity to test your future code for Edit control. I mean.... i want to help do Edit control better, and i am sure @Dad72 are willing to help out to. Well....bad work is no work, have to make PG's that can benefit many users. Quote Link to comment Share on other sites More sharing options...
JohnK Posted November 20, 2016 Share Posted November 20, 2016 On 01/25/2016 at 3:59 PM, Dad72 said: Maybe this is normal. but when the active rotation mode is inside the circles you can see what appears to translation axis. but maybe I'm wrong. I integrate it into my editor and it works well. except that I have a problem to convert Quaternion => Euler and Euler => Quaternion The problem with Euler and Quaternions has been solved by @adam from Babylon 2.5 You might like to check this out http://babylonjsguide.github.io/advanced/Euler_Angles And if you are thinking about pivots this as well http://babylonjsguide.github.io/snippets/ Keep going with the Editor it is progressing well and is easy to use. DigiHz Data 1 Quote Link to comment Share on other sites More sharing options...
satguru Posted May 15, 2017 Author Share Posted May 15, 2017 FYI I have updated the EditControl. I have changed It to use pivotpoint rather than absoluteposition. This is based on some discussions here Also to get rotation values back in euler you can set editControl.returnEuler(true); Pryme8 and DigiHz Data 2 Quote Link to comment Share on other sites More sharing options...
Spankied Posted May 21, 2017 Share Posted May 21, 2017 Are u trying to make a open-sim like project or just 3d editor? Think there would be alot of hype for open-sim project. Quote Link to comment Share on other sites More sharing options...
DigiHz Data Posted May 21, 2017 Share Posted May 21, 2017 @satguru Have you changed the editControl.isScalingEnabled(); in the documentation? O ris it still a typo in the documentation on GitHub? In your code it is editControl.isScaleEnabled() ; I will check out your new version later when i have time, right now i m busy on building an OS desktop for the web Keep up the good work. Quote Link to comment Share on other sites More sharing options...
satguru Posted May 21, 2017 Author Share Posted May 21, 2017 @Spankied If you are referring to Vishva then it is more like open-sim but at a much smaller scale @DigiHz Data Yes I have changed the code. It is isScalingEnabled() now. Good luck with OS desktop Quote Link to comment Share on other sites More sharing options...
satguru Posted June 6, 2017 Author Share Posted June 6, 2017 New Release 2.3.0 (06/05/2017) Changes migrated from Java to TypeScript rewrote picking process to make the control snappier added transforms in planes added scale snap changed UI - hopefully more intuitive now Documentation: https://ssatguru.github.io/BabylonJS-EditControl/ Demo: https://ssatguru.github.io/BabylonJS-EditControl/demo Download: https://github.com/ssatguru/BabylonJS-EditControl/releases Sebavan, GameMonetize, Dad72 and 2 others 5 Quote Link to comment Share on other sites More sharing options...
satguru Posted September 4, 2017 Author Share Posted September 4, 2017 New Release 2.4.5 (09/04/2017) see https://github.com/ssatguru/BabylonJS-EditControl/releases for details with this release the edit control is now also available from the NPM repository Quote Link to comment Share on other sites More sharing options...
renjianfeng Posted September 5, 2017 Share Posted September 5, 2017 Our editor USES your framework, it's great! satguru 1 Quote Link to comment Share on other sites More sharing options...
satguru Posted December 3, 2017 Author Share Posted December 3, 2017 New Release 2.5.0 (12/03/2017) added translation and scaling bounds. client can limit translation and scaling between a minimum and maximum value contributed by @focomoso Sebavan 1 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 23, 2017 Share Posted December 23, 2017 Hi, This no longer works when multiple scenes and multiple cameras are used. It also does not work with of objects cloned or instantiate And it seems that with older versions of EditControl and the current version of Babylon this is no longer compatible. Quote Link to comment Share on other sites More sharing options...
satguru Posted December 23, 2017 Author Share Posted December 23, 2017 @Dad72 can you reproduce in playground? Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 23, 2017 Share Posted December 23, 2017 No. you do not have a demo on the playground that includes your EditorControl. Your demo is on your site. You did not add it to extensions of Babylon too which does not simplify the creation of sample on the playground. I give up and I am rewriting another editorControl with another approach by drag drop without gizmo. Quote Link to comment Share on other sites More sharing options...
satguru Posted December 23, 2017 Author Share Posted December 23, 2017 @Dad72 clone and instance works for me. See this playground example https://www.babylonjs-playground.com/#97B3B7#21 I copied pasted the the latest edit-control code from https://github.com/ssatguru/BabylonJS-EditControl/blob/master/dist/EditControl.min.js Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 23, 2017 Share Posted December 23, 2017 I think it's because I use multiple cameras and multiple scenes. Before, it worked on all my projects and now I do not know what's going on, but nothing else works with the change of Babylon. I have problems with the CustomMaterial and now the EditorControl, without me changing anything and it worked fine until version 3.0 or 3.1 changes something. I had rewritten your EditorControl class in ES6 that worked well, but I do not want to start over again. Quote Link to comment Share on other sites More sharing options...
satguru Posted December 23, 2017 Author Share Posted December 23, 2017 @Dad72 Ok. As an aside, I had thought of adding this as an extension but I am too lazy and work too much in fits and starts to be able to properly support it as such. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 24, 2017 Share Posted December 24, 2017 Hi Satguru, I find a little bug for the setTransSnap (true) which does not work if we do not add setTransSnapValue (0.5). It works well for rotation and scaling, but not for translation. PG: https://www.babylonjs-playground.com/#97B3B7#22 I allowed myself to rewrite your class in ES6 that works for me : Manipulator in ES6 (I made some small improvements) Quote Link to comment Share on other sites More sharing options...
satguru Posted December 24, 2017 Author Share Posted December 24, 2017 @Dad72 Thanks for reporting the setTransSnap bug. I have fixed it. Let me know of improvements you made. I will try to add them to my version. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 24, 2017 Share Posted December 24, 2017 It's not big improvement it's more from the code point of view: I added the brace to if and else and I replaced the BABYLON.Vector3 (0,0,0) with BABYLON.Vector3.Zero () for example. Very small changes. Another small mistake, I see this from line 1314 : https://github.com/ssatguru/BabylonJS-EditControl/blob/fce2fe2cf529ec45f8fef42303156f930abf0e4a/dist/EditControl.js#L1314 }; ; ; Wishing you a merry christmas Quote Link to comment Share on other sites More sharing options...
satguru Posted December 25, 2017 Author Share Posted December 25, 2017 Wishing you and everybody else a very happy merry Christmas Quote Link to comment Share on other sites More sharing options...
satguru Posted December 31, 2017 Author Share Posted December 31, 2017 new release Release 3.0.0 (12/31/2017) major change to rotation UI now uses the more common "spherical" guides new methods getPosition() getRotationQuaternion() hide() show() isHidden() setVisibility() few properties and methods which were private were exposed by mistake. They are now hidden code refactoring. demo https://ssatguru.github.io/BabylonJS-EditControl/demo Gijs, JackFalcon, iiceman and 1 other 4 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.