Giter Site home page Giter Site logo

Orthogonal Views about sciview HOT 4 OPEN

scenerygraphics avatar scenerygraphics commented on July 29, 2024
Orthogonal Views

from sciview.

Comments (4)

kephale avatar kephale commented on July 29, 2024

@hanslovsky got this working somewhere

from sciview.

hanslovsky avatar hanslovsky commented on July 29, 2024

@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:

  • I am using GLTypeEnum.Byte as type for GenericTexture This should be GLTypeEnum.UnsignedByte instead (scenerygraphics/scenery#102)
  • I was using a diffuse texture but what we want for that is a self-illuminating texture that is always visible/bright regardless of other light sources, i.e. self-illumination as in JavaFX. Probably @skalarproduktraum can chime in here and tell us if and how that is possible.

from sciview.

skalarproduktraum avatar skalarproduktraum commented on July 29, 2024

@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

from sciview.

kephale avatar kephale commented on July 29, 2024

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

from sciview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.