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

Clickable objects in 3d, with editable info in the GUI #56

Closed
hmgaspar opened this issue Jul 3, 2018 · 3 comments
Closed

Clickable objects in 3d, with editable info in the GUI #56

hmgaspar opened this issue Jul 3, 2018 · 3 comments

Comments

@hmgaspar
Copy link
Member

hmgaspar commented Jul 3, 2018

Let the user click an object, and show basic info of this object in the GUI control (id, l, b, d, file3D, colors)

@EliasHasle EliasHasle removed their assignment Mar 12, 2019
@hmgaspar
Copy link
Member Author

Is this working? If so, can we have a simple example? @EliasHasle

@EliasHasle
Copy link
Collaborator

EliasHasle commented Sep 30, 2019

Not now. The ObjectMenu that I defined in the conflicting branch outlines how to do a GUI that can switch target. Object picking is typically done by casting a ray from the camera through the mouse pointer with THREE.Raycaster. Since multiple objects may intersect the ray, one may need a way to cycle between them, e.g. tab or mouse wheel. Or use picking only in a deck-wise 2D view.

You are welcome to use and improve the ObjectMenu.

https://github.com/EliasHasle/vesseljs/blob/rotation-scale/examples/js/ObjectMenu.js

@EliasHasle EliasHasle removed their assignment Sep 30, 2019
@hmgaspar
Copy link
Member Author

hmgaspar commented Oct 1, 2019

Thanks! I'll close the issue for now!

@hmgaspar hmgaspar closed this as completed Oct 1, 2019
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

2 participants