Giter Site home page Giter Site logo

Comments (4)

oanegros avatar oanegros commented on May 26, 2024 1

Moved this to a new issue for supporting more image formats :)

from tif2blender.

oanegros avatar oanegros commented on May 26, 2024

Hi Higor!

Slicing is possible in the shader by setting the Density/Emission to 0 (or giving no shader) dependent on the Position of the voxel:

And here you can insert more complicated math if you want to slice differently.
This does not flush the unused voxels from RAM, currently.

In the future i would like to still make a dedicated slicing node maybe? But maybe this is more fun if you can actually do arbitrary slicing with another geometry (i.e. a combined masking/slicing node), but this requires a bit more advanced volume nodes than we currently have.

One other thing i've seen people with EM data do when slicing, is set the density very high (or volumetric Max Bounces low) and also pipe the voxel data to the Color

from tif2blender.

oanegros avatar oanegros commented on May 26, 2024

Could you also send me the output you get in the Scripting tab when trying to open LZW tifs?
I think this should be supported with tifffile

from tif2blender.

hvdrosa avatar hvdrosa commented on May 26, 2024

Hi Oane,

Thanks a lot for the tip on slicing with shaders! I'll try this soon and I'll get back to you!
Here it's the output when trying to load the LZW compressed tiffs. It seems I'm missing the imagecodecs package required for tiffile to be able to read. (I've tried to install it using the console, but even after this, it's not working... It might also be an issue during my compression that somehow is disabling tiffile to read it)

Anyway, I'm fine loading without compressing them, but I just want to highlight this here in case another person faces the same issue, or if you want to provide a solution for this.
image

Thanks again for the prompt message! :)
Best,
Higor

from tif2blender.

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.