Git Product home page Git Product logo

Comments (10)

jbms avatar jbms commented on April 27, 2024

from neuroglancer.

djkapner avatar djkapner commented on April 27, 2024

I did notice that / character was different, but moving it did not change the behavior I'm reporting.

Thanks for the tip about the json edit. I'm not seeing any curly bracket, I'll check what version I'm running

from neuroglancer.

djkapner avatar djkapner commented on April 27, 2024

another easy way to see that it is not encoded entirely is to build up a multi-layer view with blending (no manual URL twiddling), then copy/paste the URL into another browser tab, blending doesn't follow.

from neuroglancer.

jbms avatar jbms commented on April 27, 2024

The JSON editor may not have been merged into ndviz yet.

I noticed that 'blend': 'additive' is being specified in the wrong place. It should be a per-layer property rather than a global property. Not sure if this is a neuroglancer/ndviz difference.

from neuroglancer.

djkapner avatar djkapner commented on April 27, 2024

ok, I wasn't sure if this was a neuroglanceror ndviz issue. Sounds like ndviz, I'll post over there

from neuroglancer.

fcollman avatar fcollman commented on April 27, 2024

@jbms I think the issue here is that the blend mode is not getting attached to the url state of the layer when new layers are getting added. The blend_mode at the top level does successfully cause new layers to get additive blending, but then that isn't encoded in the url, so when dan adds the query parameter to the url, and the browser goes to this 'new' page, the blend mode state is lost.

from neuroglancer.

jbms avatar jbms commented on April 27, 2024

The top-level blend mode is an ndviz-only feature, though.

from neuroglancer.

fcollman avatar fcollman commented on April 27, 2024

ah i see... i'm talking to @alexbaden and @perlman about fixing this for ndviz. Is this feature portable to neuroglancer? I think the general use case of having a visualization routine which involves changing the default options for new layers is something worth considering how to handle. for example, having a different default shader for each layer, the blend mode, etc.

from neuroglancer.

fcollman avatar fcollman commented on April 27, 2024

but this is probably not worth thinking about until/if there are ways to express more complex ui controls/options available.

from neuroglancer.

djkapner avatar djkapner commented on April 27, 2024

fixed in ndviz neurodata/ndviz#181

from neuroglancer.

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.