Jump to content

Zoom Window & text labels Interactive way


ua4192
 Share

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

Link to comment
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

 

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...