Jump to content

How to set a selected area as the frustum plane


fdeng
 Share

Recommended Posts

hi @fdeng

https://www.babylonjs-playground.com/#9FD1KJ#78

i made this for ArcRotateCamera

but some bug i have 

1. i make select on div top of canvas 

2. that close object use by scale arcrotatecamera radius parameter

3. just one direction   selected

** use click ight for back

** after any change you most reload full html and see correct result

https://www.babylonjs-playground.com/#9FD1KJ#82

 

 

Link to comment
Share on other sites

@Deltakosh

I don't want to chip anything, I just want to select a rectangle area, and then scale up it to fill the render canvas size.

 

@NasimiAsl

Thanks for your PG demo,  it can zoom in the selected area, but the scale is a little different than what I want.

Your method is also a good choice if I can't find a better way to implement it 

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