26 .
description(
"Width of the active voxel surface, in voxels");
35 if (!mesh || mesh->faces_num == 0) {
36 params.set_default_remaining_outputs();
40 mesh->vert_positions(),
43 params.extract_input<
float>(
"Voxel Size"),
44 std::max(1,
params.extract_input<
int>(
"Band Width")));
45 params.set_output(
"SDF Grid", std::move(grid));
#define NODE_CLASS_GEOMETRY
#define NOD_REGISTER_NODE(REGISTER_FUNC)
local_group_size(16, 16) .push_constant(Type b
void node_register_type(bNodeType *ntype)
static void node_geo_exec(GeoNodeExecParams params)
static void node_declare(NodeDeclarationBuilder &b)
static void node_register()
void search_link_ops_for_volume_grid_node(GatherLinkSearchOpParams ¶ms)
void node_geo_exec_with_missing_openvdb(GeoNodeExecParams ¶ms)
void geo_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
const Mesh * get_mesh() const
NodeGeometryExecFunction geometry_node_execute
NodeGatherSocketLinkOperationsFunction gather_link_search_ops
NodeDeclareFunction declare