Comments (4)
Moved this to a new issue for supporting more image formats :)
from tif2blender.
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.
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.
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.
Thanks again for the prompt message! :)
Best,
Higor
from tif2blender.
Related Issues (20)
- update documentation! HOT 1
- add clip distance eevee to preset env
- merge scalebox meshes by distance directly to homogenize culling HOT 1
- initial volumetric material sometimes missing HOT 3
- Create tests HOT 1
- LUTs in tif2blender + Apply LUT... in node tools HOT 1
- Bump to blender 4
- Volume loads but no nodes in shading or geometry HOT 5
- add otsu as checkmark
- tifffile install sometimes shows error?
- segmentation mask load as mesh HOT 3
- Supporting extra image formats
- remove requirements.txt files and rely purely on poetry
- rework tests to run full blender instance
- Add docstrings
- Time stretching on load of time axis data
- set cache directory HOT 1
- instantiate mesh to volume objects for all channels
- Tifffile install reports it fails, upon restart Blender finds the dependency HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tif2blender.