Sign in to follow this  
ua4192

Zoom Window & text labels Interactive way

Recommended Posts

Hi.

I want to implement the typical Zoom Window feature available in CAD viewers but I don't know how to interact with canvas in order to perform this action.

Is there anybody who had implemented this functionality?

Is this possible?

I want also to be able to add text layers to my scene in an interactive way and also be able to save this information for future loads of the same scene.

Best regards

Share this post


Link to post
Share on other sites

Hi.

Unfortunately not. I don't how to start in BABYLONJS.

But concerning the zoom window, the idea is very simple.

I am trying to develop a web CAD viewer and as you can guess interact with objects shown in the canvas is a must.

In order to implement the zoom window, my idea was to be able to interactively draw a rectangle based on mouse click  on 2 different coordinates and be able to see this rectangle shown dynamically.

If you have played with any CAD viewer solution you will understand what I mean.

I know how to pick coordinates from canvas and my idea was to create a invisible box in order to focus zoom on it.

 

Best regards

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.