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

add multiple view to viewport #25

Closed
ostatni5 opened this issue Sep 2, 2021 · 3 comments · Fixed by #26
Closed

add multiple view to viewport #25

ostatni5 opened this issue Sep 2, 2021 · 3 comments · Fixed by #26
Assignees

Comments

@ostatni5
Copy link
Member

ostatni5 commented Sep 2, 2021

https://threejs.org/examples/?q=multip#webgl_multiple_views

@grzanka
Copy link
Contributor

grzanka commented Sep 6, 2021

The view should consist of 3D view and 3 sections, like here:
image
(from https://fluka.cern/news/release-flair-30-new-licence)

@grzanka
Copy link
Contributor

grzanka commented Sep 6, 2021

User should be able to choose the coordinate at which section is being made. Simplest choice - scrollbar, as here:
https://threejs.org/examples/#webgl_clipping_stencil

@grzanka
Copy link
Contributor

grzanka commented Sep 6, 2021

See also #24

@ostatni5 ostatni5 linked a pull request Sep 7, 2021 that will close this issue
@ostatni5 ostatni5 self-assigned this Sep 7, 2021
grzanka added a commit that referenced this issue Sep 11, 2021
* connect CSGManager with ui

* change default material

* add simple thread-worker

* fix missing gizmo from editor

* add cylinder

* fix calculating mouse pos on gizmo

* add multiple views

* install split-grid

* make viewpanels resizable and add 2 cameras

* add two layouts and cleanup code (#25)

* Update src/ThreeEditor/util/CSGManager.ts

* Fix Warnings

Co-authored-by: ostatni5 <26521377+ostatni5@users.noreply.github.com>
Co-authored-by: Jakub Niechaj <quban123@gmail.com>
grzanka pushed a commit that referenced this issue Sep 13, 2021
* connect CSGManager with ui

* install throttle-debounce

* add id to displayed name

* add dobunced updated

* change default material

* add simple thread-worker

* add cylinder

* fix missing gizmo from editor

* use pointer events by view helper

* remove unused geometries

* remove sidebar animations

* handle unsupported geometries in sidebar

* remove duplicated libs

* remove unused propeteries

* fix calculating mouse pos on gizmo

* add multiple views

* install split-grid

* make viewpanels resizable and add 2 cameras

* add two layouts and cleanup code (#25)

* change EditorControls to OrbitControls (#24)

* add default camera and fix camera select (#24)

* wrap OrbitControls (#24)

* add sample plane clipping (#24)

* add light and cross section shader (#24)

* add clip controls and helpers (#24)

* viewport improvement (#24)
fix grid rotation
change default material
fix plane helpers

* add comments (#24)

* update comment (#24)

* Apply suggestions from code review

Return new UI creation and remove duplicate lines

* Apply suggestions from code review

Fix bracket paring error

* remove console log

Co-authored-by: Jakub Niechaj <quban123@gmail.com>
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

Successfully merging a pull request may close this issue.

2 participants