{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Bioxel Nodes","text":"
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.
Click Getting Started to begin your journey into visualizing volumetric data!
"},{"location":"#support-multiple-formats","title":"Support Multiple Formats","text":"Format EXT Test DICOM .dcm, .DICOM \u2705 pass BMP .bmp, .BMP \u2705 pass JPEG .jpg, .JPG, .jpeg, .JPEG \u2705 pass PNG .png, .PNG \u2705 pass TIFF .tif, .TIF, .tiff, .TIFF \u2705 pass Nifti .nia, .nii, .nii.gz, .hdr, .img, .img.gz \u2705 pass Nrrd .nrrd, .nhdr \u2705 pass HDF5 .hdf, .h4, .hdf4, .he2, .h5, .hdf5, .he5 \u2705 pass"},{"location":"#support-4d-volumetric-data","title":"Support 4D volumetric data","text":"\ud83e\udd70 4D volumetric data can also be imported into Blender.
"},{"location":"#support-eevee-next","title":"Support EEVEE NEXT","text":"\ud83d\udc4d EEVEE NEXT is absolutely AWESOME! Bioxel Nodes is fully support EEVEE NEXT now! However, there are some limitations:
Updating this addon may break old files, so read the following carefully before updating
Before updating this addon, 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, unlike the newer versions, 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.
"},{"location":"#roadmap","title":"Roadmap","text":"This type of node is responsible for setting the color properties of the shader
"},{"location":"concept/","title":"Concepts & Pipeline","text":""},{"location":"concept/#container-layer-component","title":"Container, Layer, Component","text":"Bioxel Nodes imports volumetric data and put it into a Container as a Layer. One container may has more than one layer, and each layer stores the information of different fields under the same location, which is similar to the view layers in map app, except that here it is in 3D space.
In order to visualize the volumetric data the way we want it to, we need to build renderable objects from layers. We call those objects Component. The following diagram shows the relationship of Container, Layer, and Component:
"},{"location":"concept/#container-structure","title":"Container Structure","text":"In Blender, container structure is like this:
Case_0000 # Container\n|-- Case_0000_CT # Layer\n|-- Case_0000_Label_1 # Layer\n`-- Case_0000_Label_2 # Layer\n The container also stores the build process in geometry nodes:
"},{"location":"concept/#layer-type","title":"Layer Type","text":"The layer is categorized into these by data type:
In order to build a component, the general process is to first use a \"Mask Method\" node to build the surface of the component based on its layers, and then connect to a \"Assign Shader\" node to add the physical properties. Finally, if you need to cut the cross-section, then connect to a \"Cut\" node. The whole process is shown in the following diagram
A typical example looks like this:
The \"Mask Method\" node tends to be very computationally intensive, and if it consumes too much time, then you can bake it with a \"Bake\" node after it (but you need to save the Blender file first).
"},{"location":"cut/","title":"Cut the Component","text":"This type of node is responsible for cutting components to present cross-section
"},{"location":"import/","title":"Import & Preprocess","text":""},{"location":"import/#first-time-import-volume-data","title":"First Time Import Volume Data","text":"File > Import > Volume Data as Bioxel Layer
"},{"location":"import/#resample","title":"Resample","text":"Sometimes the original data is too big, or the spacing in the original data is not reasonable, you can modify the Bioxel Size and Original Spacing to adjust the Shape of the layer.
A bioxel is like a pixel, the larger the Bioxel Size, the lower the resolution of the image, Original Spacing will be read from the original data record, but sometimes the image doesn't have original spacing, you may need to input it manually to get the correct shape.
as Scalar
In some cases the environment value is higher than the value of the target object, you can check Invert Scalar to adjust the value for better result.
as Labels
Many AI segmentation task datasets, provide segmentation data, which are often an integer value representing a layer of segmentation labels. You can set it to Labels to load them.
as Vector (Not implemented yet)
as Color (Not implemented yet)
Scene Scale determines how many units of length in the Blender world correspond to one unit of length in the Bioxel world. Since Blender defaults to meters, and the default size of blender primitives are around 1 blender unit. Therefore Scene Scale set to 0.01 is appropriate.
Orient to RAS determines whether the layer should be converted to the RAS coordinate system. Regardless of the format of the medical image data, the coordinate system is mostly the LPS coordinate system. Bioxel, however, are in the RAS coordinate system and therefore need to be transformed in most cases.
In 3D view or outliner panel, select the container and right click, Bioxel Nodes > Add Volume Data to Container. The import settings are the same as for the first time import.
"},{"location":"installation/","title":"Installation","text":"Currently only support Blender 4.1 or above, make sure you have the correct version of Blender.
"},{"location":"installation/#for-blender-42-or-higher","title":"For Blender 4.2 or higher","text":"The most recommended way is to open Edit > Preferences > Extension, enter \"bio\" in the search box and click Install. since the addon is quite large (20MB) you may need to wait a while!
Thats it!
If it cannot be enable, reboot blender or install again as administrator
Also, you can do it maually. Download the Extension version BioxelNodes_Extension_{version}.zip from https://github.com/OmooLab/BioxelNodes/releases/latest In Blender, Edit > Preferences > Extensions > Install from Disk, select the zip file you just downloaded.
Download the Addon version BioxelNodes_Addon_{version}.zip from https://github.com/OmooLab/BioxelNodes/releases/latest In Blender, Edit > Preferences > Add-ons > Install, select the zip file you just downloaded.
The add-on requires a third-party python dependency called SimpleITK, click Install SimpleITK button below to install the dependency. After clicking, blender may get stuck, it is downloading and installing, just wait for a moment. After that, click Reboot Blender button.
This step may have failed due to network factors, just click \"Set PyPI Mirror\" to change the mirror.
"},{"location":"mask/","title":"Mask Methods","text":"This type of node is responsible for culling out the extent of the component that does not need to be rendered, forming the interface between the object and the object, or the surface of the object (i.e., the interface between the object and the air)
"},{"location":"nodes/","title":"Nodes","text":""},{"location":"nodes/#mask-methods","title":"Mask Methods","text":""},{"location":"nodes/#mask-by-threshold","title":"\u2b06\ufe0f Mask by Threshold","text":"Generate a mask by keeping only the positions that exceed the threshold (this only works with scalar)
Node Parameter:
Generate a mask by keeping only the positions that in range (this only works with scalar)
Node Parameter:
Generate a mask by keeping only the positions that in label (this only works with label)
Node Parameter:
Assign a opaque shader based on a preview mesh with no inclusions visible. Fastest rendering speed. Does not support cross-section and color ramp.
Node Parameter:
Assign a semi-transparent shader based on the preview mesh with visible inclusions. Does not support cross-section and color ramp.
Node Parameter:
Assign a volume-based shader with support for cross-section and color ramp.
Node Parameter:
Assign a ultimate shader, supporting all features of Bioxel Nodes. Of course, the price is slow rendering, which can be greatly improved by adjusting the Volumes > Step Rate to 100 in the Render Settings Panel.
Node Parameter:
Execute all cutters on one component.
Node Parameter:
Also a plane cutter, but origin and direction are based on exist object.
Node Parameter:
Set color from presets.
Node Parameter:
Set color ramp base on scalar value.
Node Parameter:
Set color ramp base on scalar value.
Node Parameter:
Set color ramp base on scalar value.
Node Parameter:
Set color ramp base on scalar value.
Node Parameter:
Components' combination should not be done by \"Join Geometry\" node because Blender Cycles can't render volumes in the same position, so the node will slightly offset all components randomly to avoid this problem.
Node Parameter:
First thing first, you need to get your volumetric data ready in disk. Bioxel Nodes is developed based on Simple ITK, so theoretically all formats supported by Simple ITK are supported by the addon. If your data is not in the support list, you may do the data conversion first.
Format EXT Test DICOM .dcm, .DICOM \u2705 pass BMP .bmp, .BMP \u2705 pass JPEG .jpg, .JPG, .jpeg, .JPEG \u2705 pass PNG .png, .PNG \u2705 pass TIFF .tif, .TIF, .tiff, .TIFF \u2705 pass Nifti .nia, .nii, .nii.gz, .hdr, .img, .img.gz \u2705 pass Nrrd .nrrd, .nhdr \u2705 pass Meta .mha, .mhd yet HDF5 .hdf, .h4, .hdf4, .he2, .h5, .hdf5, .he5 \u2705 pass VTK .vtk yet BioRad .PIC, .pic yet Gipl .gipl, .gipl.gz yet LSM .lsm, .LSM yet MINC .mnc, .MNC yet MRC .mrc, .rec yet"},{"location":"prepare_data/#download-data-from-internet","title":"Download Data from Internet","text":"If you don't have any volumetric data, you can access open research data from list below.
Note that just because they are open and available for download does not mean you can use them for anything! Be sure to look at the description of the available scopes from website.
Source Object MorphoSource Open Research Data Dryad Open Research Data OpenOrganelle Cells Embodi3D Medical Images Github Medical Images NIHR Medical Images Medical Segmentation Decathlon Medical Images Allen Cell Explorer Cells Visible Human Project Medical Images"},{"location":"shader/","title":"Assgin a Shader","text":"This type of node is responsible for setting material physical properties to the component to reflect the differences in rendering effects of different components.
"},{"location":"step_by_step/","title":"Step by Step","text":""},{"location":"step_by_step/#1-import-volumetric-data","title":"1. Import Volumetric Data","text":"Bioxel Nodes > Import Volumetric Data (Init) > as Scalar, select the data file, click on Import as Scalar. If the data is a sequence of files in directory, just pick one file in that directory, not the whole directory or multiple selection of files.
you can also drag one of the data file directly into the 3D viewport to trigger the importing
It may take a while to read data. After finishing reading, it will pop up a dialog box. Ignore all the options, just click OK (we will talk about them later).
After the importing, the add-on will automatically add the necessary nodes to build the preview.
If there is nothing in the bbox wireframe, select the wireframe in 3D viewport, open the geometry nodes panel, set Threshold in the node lower to modify the preview.
"},{"location":"step_by_step/#2-shading-the-structure","title":"2. Shading the Structure","text":"The only node \"Scalar\" is responsible for mask out the unwanted area and generate the structure surface. You need to assign a shader to truly see the structure, connect a Slime Shader node (Add > Bioxel Nodes > Shaders > Slime Shader) after it. Turned on the cycles rendering to see the result.
You may change the Color, Density to modify the shader effect. All the parameters are straightforward, you can understand them by changing their values.
"},{"location":"step_by_step/#3-cut-to-cross-section","title":"3. Cut to Cross-section","text":"We often need to cut the structure to see the inside of the volumetric data. With Bioxel Nodes, it can be done by one click: select the structure in 3D viewport, right click, Bioxel Nodes > Add a Plane Cutter . The add-on will add a cut node and a cutter object node to the node graph, which are responsible for the cutting process.
Change the shader from Slime to Universal to render the cross-section. But it will increase rendering time
"},{"location":"step_by_step/#4-save-staged-data-optional","title":"4. Save Staged Data (Optional)","text":"The VDB cache and the custom nodes are not reachable to other computers if you don't save them. Those staged data should be saved, If you want to give your blender file to someone else, or you want to archive your blender file.
Save your blender file, then just click Bioxel Nodes > Save Staged Data
Just click OK, after that, both the VDB cache and the custom nodes are restored in relative locations. When you share this file with someone, pack the entire directory so that the resources will be not lost. The other person will be able to open it correctly, regardless of whether they have Bioxel Nodes installed or not.
"},{"location":"step_by_step/#5-convert-to-editable-mesh-optional","title":"5. Convert to Editable Mesh (Optional)","text":"If you want digital sculpting, 3D printing, exporting to game engine, you should convert to editable mesh first.
Select the wireframe in 3D viewport, right click Bioxel Nodes > Pick Mesh.
It will create a new object with geometry nodes to refer the mesh. You can apply the geometry node to break the connection.
"},{"location":"terms/","title":"Terms","text":""},{"location":"terms/#bioxels","title":"Bioxels","text":"Bioxels is based on the RAS coordinate system, Right Aanterior Superior, which was chosen over LPS because it is more compatible with most 3D CG software coordinate systems, and is in line with the 3D artist's understanding of space.
All distances within Bioxels are in Units, and are specified in Meter pre unit. However, when Bioxels is imported into 3D CG software, its size in the software is not scaled by reading the Meter pre unit directly. The reason for this is that many 3D operations in software require that the primtives not be too large or too small.
"}]}