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

mixing 2D and 3D objects #63

Open
chrishavlin opened this issue Jul 27, 2023 · 0 comments
Open

mixing 2D and 3D objects #63

chrishavlin opened this issue Jul 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@chrishavlin
Copy link
Collaborator

With #62, you can now load in a mix of slices and volumes with the caveat that the slices are treated as independent image layers. This means they will not be scaled or oriented in the way the 3D volumes are.

I played around with getting a 2D plane into 3D in a way that the position in 3D can be controlled and the simplest way is to add a singleton 3rd dimension to the image array, which allows specification of all the 3D vectors that control location (the scale, translate, rotation arguments to add_image). see this example for reference.

So it should be possible to orient the 2D planes relative to the 3D scene, but I'm going to leave this to a future release...

@chrishavlin chrishavlin added the enhancement New feature or request label Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant