Jean-Christophe Fillion-Robin
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee
  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # 39th Project Week: The future of rendering in VTK and Slicer _This document was created to organize links and notes related to the following breakout session: https://projectweek.na-mic.org/PW39_2023_Montreal/BreakoutSessions/RenderingBreakout/_ :bulb: Once the breakout session is over, the content of this document will be added directory to the `RenderingBreakout` page linked above. ## VTK C++: WebGPU _Contact: Sankhesh Jhaveri @ Kitware_ WebGPU effort in VTK aims to provide a future-proof rendering backend as an alternative to OpenGL. * VTK’s data model and visualization pipeline will have no architectural changes. * For the most part, there will be no frontend user-facing changes to the rendering classes either. Applications would still have to instantiate `vtkRenderWindow`, `vtkRenderer`, `vtkActor`, etc. * There will be changes with respect to how platform-specific windows are created. These windows no longer need to be tied to the graphics backend i.e. no need for `vtkXOpenGLRenderWindow`, etc. * For advanced users of VTK who modify rendering logic, use shader replacements, etc. there will be *significant* changes. This should be expected, IMO. Experimental: * RenderingWebGPU: https://docs.vtk.org/en/latest/modules/vtk-modules/Rendering/WebGPU/README.html * Draft: WebGPU: Native graphics backend. See https://gitlab.kitware.com/vtk/vtk/-/merge_requests/10239 Questions: * multi-volume rendering * Will it be the default ? In the OpenGL backend, there were two backends. * vtkMultiVolume issues * `SetVisibility` issue * `UserMatrix` not taken into account for the first volume (issue) (works in `TestGPURayCastMultiVolumeOverlapping`) * Cropping * Shading * Only shows up in Composite w/ Shading, but nothing in MIP (Error: Shader failed to compile in `raycastervs.glsl`) * context sharing ? * Goal is to reduce the memory footprint by avoiding having duplicate of teture memory (e.g multiple 3D views of the same volume data) * Availability of result of compute shader for rendering. * Compute shaders * WebGPU ? Notes: * [moltengl](https://moltengl.com/moltengl/): Applications built for OpenGL ES 2.0 can use MoltenGL to run on top of Metal, * Unity allows to easily compose complex rendering pipeline. * RenderingWebGPU: * The shader is the center piece * Possibly use [SPIRV-Reflection](https://github.com/KhronosGroup/SPIRV-Reflect) to decipher shader inputs, their attributes/dimensionality and expose a VTK interface to populate shader bindings with vtkImageData, vtkDataArray, etc. * Compute Shader * https://github.com/Punzo/SlicerAstro/tree/master/vtkOpenGLFilters * Simon will share details about experiment for implementing compute shader * AI and WebGPU for training ? * Rendering into texture ? * https://virtualgl.org/ * Idea would be to support Differential Rendering * https://towardsdatascience.com/differentiable-rendering-d00a4b0f14be * * Review meeting ? ### WebAssembly _Contact: Jaswant Panchumarti @ Kitware_ * Slides: [WASM/WebGPU in VTK](https://docs.google.com/presentation/d/1Nl0TVa55616QKCSHP54BoYBvByMKe6lIUl6IFZqSeJo/edit#slide=id.p) * Docs: [Getting Started / Using WebAssembly](https://docs.vtk.org/en/latest/getting_started/index.html#using-webassembly) * Leverage efforts done in the context of https://wasm.itk.org/ ## VTK C++: OpenXR _Contact: Lucas Gandel @ Kitware_ Improvement roadmap for `OpenXR` and `OpenXR Remoting` support in VTK: * OpenXR controller model support: * `vtkOpenXRManager` already supports for querying the controller models in a buffer (see [here](https://gitlab.kitware.com/vtk/vtk/-/blob/master/Rendering/OpenXR/vtkOpenXRManager.cxx#L297)) * The buffer should be forwarded to vtkGLTFReader using vtkResourceStream/vtkResourceParser * Need to add vtkResourceStream/vtkResourceParser support to vtkGLTFReader (see [PLYReader](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/10224/diffs) ) * OpenXR Remoting hand interaction improvements * The current interactor style does not allow for accessing different poses from a single Move3D event (see discussions in [this MR](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9595#note_1255954)) * Possible options are: * Add support for storing additional poses (maybe as additional TrackedDevice) * Add support for [hands joints tracking](https://registry.khronos.org/OpenXR/specs/1.0/html/xrspec.html#_conventions_of_hand_joints) and implement basic gestures recognition * Add support for [scene understanding](https://registry.khronos.org/OpenXR/specs/1.0/html/xrspec.html#XR_MSFT_scene_understanding) in OpenXR Remoting, to occlude the VTK scene with the real world. ## SlicerVirtualReality * Are we ready to transition to OpenXR ? * Before doing so, we would need to generalize the function [vtkOpenVRRenderWindow::GetOpenVRPose()](https://github.com/Slicer/VTK/blob/9bde2b3fa9887a801e3eec686ce591072986977f/Rendering/OpenVR/vtkOpenVRRenderWindow.cxx#L546-L558) currently specific to `Rendering/OpenV` and only available in `Slicer/VTK` ## SlicerMixedReality _Contact: Jean-Christophe Fillion-Robin @ Kitware_ See https://github.com/KitwareMedical/SlicerMixedReality/pull/2 Question: What to do once we start working on adding `OpenXR` support to `SlicerVirtualReality`. ## vtk.js: Rendering Non-uniform image series _Contact: Shreeraj Jadhav @ Kitware_ See https://docs.google.com/presentation/d/1mrMe8w2G5hgRan0KzdwqrxgKGLfyR-h3mM7Kj5KYz4c/edit#slide=id.p ## vtk.js: Interactive, in-browser cinematic volume rendering of medical images _Contact: Stephen Aylward & Forrest Li @ Kitware_ > The diversity and utility of cinematic volume rendering (CVR) for medical image visualisation have grown rapidly in recent years. At the same time, volume rendering on augmented and virtual reality systems is attracting greater interest with the advance of the WebXR standard. See https://doi.org/10.1080/21681163.2022.2145239 See https://volview.kitware.com/ ## vtk.js: WebXR _Contact: Tom Birdsong @ Kitware_ * Blog: [VTK.js Transforms Web-based Visualization with Immersive Virtual and Augmented Reality](https://www.kitware.com/vtk-js-transforms-web-based-visualization-with-immersive-virtual-and-augmented-reality/) * Blog: [Holograms Over the Web: Kitware Extends vtk.js to Support Looking Glass Factory’s Displays](https://www.kitware.com/holograms-over-the-web-kitware-extends-vtk-js-to-support-looking-glass-factorys-displays/) * Example and FAQs: https://kitware.github.io/vtk-js/docs/develop_webxr.html * [Supported devices](https://kitware.github.io/vtk-js/docs/develop_webxr.html#What-mixed-reality-devices-are-supported-by-VTK-js) * [Feature Support Roadmap](https://github.com/Kitware/vtk-js/issues/2571) ## VTK & ITK interoperability Web: * ITK IO are compiled to WASM and re-used in vtk.js based web application * ITK-WASM is a building block for VTK-WASM OME-Zarr: * https://www.biorxiv.org/content/10.1101/2023.02.17.528834v1 * https://github.com/InsightSoftwareConsortium/itkwidgets/blob/main/examples/integrations/zarr/OME-NGFF-Brainstem-MRI.ipynb Slicer + Large Image Rendering: * We currently do not have any readily available implementation in Slicer, from a high level, the idea would be to: - support streaming dataset at different resolutions and updating the rendering accordingly. - leverage ITK+Zarr integration and ensure information flow all the way through the VTK pipeline - Consolidate ITKVTKGlue modules * Improve ITK module: ITKIOOMEZarrNGFF. See https://github.com/InsightSoftwareConsortium/ITKIOOMEZarrNGFF

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully