Jump to content

Just two Questions (Licence information and zoomOn function)


KevinBLT
 Share

Recommended Posts

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

Link to comment
Share on other sites

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)
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...