KevinBLT Posted July 3, 2015 Share Posted July 3, 2015 Hello folks! I wonder why the "zoomOn" method overwrites the maxZ attribute in the arcrotatecamera. Is there anywhay to pretend it from doing that? If I zoom on the meshes and the user zooms out afterwards, the mesh will become invisible.Therefore I always have remember the old maxZ, call the function and then reasign the old maxZ again.Any advice? Other question: What would be the best place for putting the "using babylon" informations?Somewhere behind an info button?Or in the corner of the 3D view?Like a "powered by BabylonJS"? I know that's the one thing to do when using Apache 2.0 for anything.Babylon is used to show 3D files or for 3D powered online configurators. We don't want to get into any troubles about that.Some advices are recommend. Thanks! Kevin Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 3, 2015 Share Posted July 3, 2015 Hey actually Babylon.js is published under loveware: it is a specific license specifying that you can do whatever you want with it. If you want to credit babylon.js, you can do it like you want. We just want you to send us some love by telling people how happy you are to use babylon.js (tweets, facebooks, mails, advertising on TV, whatever you want) For your first question, we override the max to avoid the clipping effect, but I get your point and next checkin on the repo will introduce a new optional parameter to zoomOn:public zoomOn(meshes?: AbstractMesh[], doNotUpdateMaxZ = false) jerome 1 Quote Link to comment Share on other sites More sharing options...
jerome Posted July 3, 2015 Share Posted July 3, 2015 Loveware, excellent ! Quote Link to comment Share on other sites More sharing options...
KevinBLT Posted July 6, 2015 Author Share Posted July 6, 2015 Absolutely fantastic! Of course I will recommend Babylon everytime I can! Thanks! 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.