scenerygraphics / sciview

sciview is a tool for visualization and interaction with ND image and mesh data
BSD 2-Clause "Simplified" License
64 stars 17 forks source link

Orthogonal Views #2

Open kephale opened 8 years ago

kephale commented 8 years ago

Orthogonal views was another way of viewing an image in 3D. This might be easily achieved via textures and Scenery's Plane Node.

kephale commented 6 years ago

@hanslovsky got this working somewhere

hanslovsky commented 6 years ago

@kephale This is what I have: https://github.com/saalfeldlab/bigcat/blob/063ad42e75d99023491ebeafcd6b1a8c224b67e9/src/main/java/bdv/bigcat/viewer/viewer3d/OrthoSlice.java https://github.com/saalfeldlab/bigcat/blob/063ad42e75d99023491ebeafcd6b1a8c224b67e9/src/main/java/bdv/bigcat/viewer/viewer3d/OrthoSliceMesh.java The OrthoSlice manages updates of the OrthoSliceMesh whenever the bdv renderer finishes or the transform changed but it should not be too hard to modify it to your use case. OrthoSliceMesh should be useable pretty much as is. There are some caveats:

skalarproduktraum commented 6 years ago

@hanslovsky the lighting you describe is just called ambient lighting, and I originally wanted to keep it out. But after talking to you, and Kyle and others, I think it actually makes sense to have it. I'll soon put it in so you can use it, the changes required from you then will be minimal

kephale commented 5 years ago

https://github.com/scenerygraphics/sciview/tree/ortho