Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orthographic camera | How to manage display direction | Interior Elevation #532

Open
shahbaziparisa opened this issue Jul 30, 2024 · 0 comments

Comments

@shahbaziparisa
Copy link

Describe the bug

How to specify the display direction
For example, let's say I want to have a top view perpendicular to the scene. A view as if the camera is placed in the middle of a room and I see the wall on the right and left and in front and behind me vertically.
How should I implement this possibility in the course of this camera?

To Reproduce

sth

Code

I use That open company and three.js

  const camera2Dmode = async () => {
    await world.camera.controls.setLookAt(-15, 200, 5.50, 0, 0, 0);
    // world.camera.set('Plan')
    world.camera.projection.set('Orthographic');

  }
Can you help me to manage different directions of camera from top,right ,left ,front.back

Like elevations in BIM software

I need to control camera in Orthographic mode but inside of model like in a house.

Live example

No response

Expected behavior

sth

Screenshots or Video

Screenshot 2024-07-30 at 11 54 57 PM
Screenshot 2024-07-30 at 11 56 09 PM

Device

Desktop

OS

MacOS

Browser

Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant