Giter VIP home page Giter VIP logo

bioxelnodes's Introduction

中文文档

Bioxel Nodes

For Blender GitHub License GitHub Release GitHub Repo stars

Discord

Bioxel Nodes is a Blender addon for scientific volumetric data visualization. It using Blender's powerful Geometry Nodes and Cycles to process and render volumetric data.

cover

  • Realistic rendering result, also support EEVEE NEXT.
  • Support multiple formats.
  • Support 4D volumetric data.
  • All kinds of cutters.
  • Simple and powerful nodes.
  • Based on blender natively, can work without addon.

Read the getting started to begin your journey into visualizing volumetric data!

Welcome to our discord server, if you have any problems with this add-on.

Support Multiple Formats

Format EXT Test
DICOM .dcm, .DCM, .DICOM, .ima, .IMA ✅ pass
BMP .bmp, .BMP ✅ pass
JPEG .jpg, .JPG, .jpeg, .JPEG ✅ pass
PNG .png, .PNG ✅ pass
TIFF .tif, .TIF, .tiff, .TIFF ✅ pass
Nifti .nia, .nii, .nii.gz, .hdr, .img, .img.gz ✅ pass
Nrrd .nrrd, .nhdr ✅ pass
HDF5 .hdf, .h4, .hdf4, .he2, .h5, .hdf5, .he5 ✅ pass
OME .ome.tiff, .ome.tif ✅ pass
MRC .mrc, .mrc.gz, .map, .map.gz ✅ pass

Support 4D volumetric data

4d

🥰 4D volumetric data can also be imported into Blender.

Support EEVEE NEXT

eevee

👍 EEVEE NEXT is absolutely AWESOME! Bioxel Nodes is fully support EEVEE NEXT now! However, there are some limitations:

  1. Only one cutter supported.
  2. EEVEE result is not that great as Cycles does.

Known Limitations

  • Only works with Cycles CPU , Cycles GPU (OptiX), EEVEE
  • Section surface cannot be generated when convert to mesh (will be supported soon)

Compatible to Newer Version

v0.3.x is not compatible to v0.2.x, Updating this addon may break old files. Read the following carefully before upgradation

Before upgradation, you need to ask yourself whether this project file will be modified again or not, if it's an archived project file, I would recommend that you run Bioxel Nodes > Save Staged Data to make the addon nodes permanent. In this way, there will be no potential problem with the nodes not functioning due to the addon update.

After the addon update, your old project files may not work either, this may be because you had executed Save Staged Data. If so, you need to execute Bioxel Nodes > Relink Nodes to Addon to relink them to make sure that the addon's new functionality and the addon nodes are synchronized.

Also, the older shaders are not based on OSL, so if you find that you can't render volumes, you need to turn on Open Shading Language (OSL) in the Render Settings.

Roadmap

  • Better multi-format import experience
  • One-click bake model with texture
  • AI Segmentation to Generate Labels

bioxelnodes's People

Contributors

icrdr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bioxelnodes's Issues

Cylinder cutter not working

It is my understanding that cylinder cutter should keep the content inside the cylinder volume. However I tried to cut with a cylinder but the result is that everything is gone. If I check the invert option, then nothing is cut, meaning everything is still there. Could you double check if there is a bug? I'm using Blender 4.2 on linux with BioxelNodes v0.3.2

Linux support

In the blender extensions web its not mentioned Linux as supported os, will it be supported in future versions? Thanks

Importing from Visible Human Project crashes Blender:

Seems that Blender crashes when Bioxel try to import the first image.

I'm using Blender 4.2.0 downloaded from the Blender site.
Operating system is Debian Trixie (testing) updated daily
Bioxel version is 0.3.3
The image set I'm trying to import is taken from here

https://data.lhncbc.nlm.nih.gov/public/Visible-Human/Male-Images/PNG_format/thorax/index.html

I'm doing something wrong?

Below the blender log and the crash.txt file

mirto@bianco500:~$ /usr/local/bin/blender-4.2.0-linux-x64/blender-launcher
Reloading external rigs...
Reloading external metarigs...
register_class(...):
Info: Registering operator class: 'OBJECT_OT_AlignOperator', bl_idname 'object.align' has been registered before, unregistering previous
Read blend: "/BIANCO-SATA1/BLENDER-DICOM/test01.blend"
Collecting Meta Data...
WARN (bpy.rna): source/blender/python/intern/bpy_rna.cc:1360 pyrna_enum_to_py: current value '0' matches no enum in 'BIOXELNODES_OT_parse_volumetric_data', '(null)', 'series_id'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.cc:1360 pyrna_enum_to_py: current value '0' matches no enum in 'BIOXELNODES_OT_parse_volumetric_data', '(null)', 'series_id'
Parsing with SimpleITK...
name: a_vm
description: 
spacing: (1.0, 1.0, 1.0)
affine: [[1. 0. 0. 0.]
 [0. 1. 0. 0.]
 [0. 0. 1. 0.]
 [0. 0. 0. 1.]]
xyz_shape: (2048, 1216, 409)
frame_count: 1
channel_count: 3
WARN (bpy.rna): source/blender/python/intern/bpy_rna.cc:1360 pyrna_enum_to_py: current value '0' matches no enum in 'BIOXELNODES_OT_parse_volumetric_data', '(null)', 'series_id'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.cc:1360 pyrna_enum_to_py: current value '0' matches no enum in 'BIOXELNODES_OT_parse_volumetric_data', '(null)', 'series_id'
Info: Successfully Readed.
Parsing with SimpleITK...
Saving the Cache of Scalar...
Loading the Cache of Scalar...
Creating Node for Scalar...
Info: Successfully Imported
Writing: /BIANCO-SSD2/ssd2-mirto/DOCUMENTI_CORRENTI/Blender_Bianco500/TEMP/test01.crash.txt
Errore di segmentazione (core dump creato)
mirto@bianco500:~$ cat /BIANCO-SSD2/ssd2-mirto/DOCUMENTI_CORRENTI/Blender_Bianco500/TEMP/test01.crash.txt
# Blender 4.2.0, Commit date: 2024-07-16 06:20, Hash a51f293548ad
Successfully Readed.  # Info
bpy.ops.mesh.primitive_cube_add(enter_editmode=False, align='WORLD', location=(0, 0, 0), scale=(1, 1, 1))  # Operator
bpy.ops.node.new_geometry_nodes_modifier()  # Operator
bpy.ops.object.volume_import(filepath="/home/mirto/.bioxelnodes/VDBs/2e2c0b7b-0325-4ef3-9de4-a90dfbd9fa57.vdb", align='WORLD', location=(0, 0, 0), scale=(1, 1, 1))  # Operator
bpy.ops.node.new_geometry_nodes_modifier()  # Operator
Successfully Imported  # Info

# backtrace
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0xf3d790]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x842f60]
/lib/x86_64-linux-gnu/libc.so.6(+0x3f590) [0x7fd1fd656590]
/lib/x86_64-linux-gnu/libc.so.6(+0x1592c7) [0x7fd1fd7702c7]
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(+0x6a9628) [0x7fd1aeca9628]
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so(+0x132f8b) [0x7fd1ae732f8b]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x56c0baf]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x56c0420]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x56a2529]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x56a257f]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x56a2672]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x12c3740]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x128fc53]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x128fc1f]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x128f1cf]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x11efb43]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x11e7e5e]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x11e81b9]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x113fb32]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x113ffe7]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x20d5fa5]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x1631937]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0xf89f32]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0xf852e0]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x72f084]
/lib/x86_64-linux-gnu/libc.so.6(+0x29c8a) [0x7fd1fd640c8a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fd1fd640d45]
/usr/local/bin/blender-4.2.0-linux-x64/blender() [0x83e7fe]

# Python backtrace
mirto@bianco500:~$ 

MR support

Hi there,
I think this is a very cool project. I have tried the guide on the MR DICOM files I have (3D raw file from the scanner). But it seems like it's not doing anything (the included example works, so probably not because of my setup) . Since I am also very new to 3D renderings, is this project also works for MRI images? And if so what kind of data would it take ?
Thank you very much!
Best

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.