22 .
description(
"Values larger than the threshold are inside the generated mesh");
32 params.set_default_remaining_outputs();
35 bke::VolumeTreeAccessToken tree_token;
36 Mesh *mesh = bke::volume_grid_to_mesh(grid.get().grid(tree_token),
37 params.extract_input<
float>(
"Threshold"),
38 params.extract_input<
float>(
"Adaptivity"));
53 ntype.
ui_description =
"Generate a mesh on the \"surface\" of a volume grid";
General operations, lookup, etc. for materials.
void BKE_id_material_eval_ensure_default_slot(ID *id)
#define NODE_CLASS_GEOMETRY
#define GEO_NODE_GRID_TO_MESH
#define NOD_REGISTER_NODE(REGISTER_FUNC)
StructureType structure_type
void node_register_type(bNodeType &ntype)
void debug_randomize_mesh_order(Mesh *mesh)
static void node_register()
static void node_geo_exec(GeoNodeExecParams params)
static void node_declare(NodeDeclarationBuilder &b)
void node_geo_exec_with_missing_openvdb(GeoNodeExecParams ¶ms)
void geo_node_type_base(blender::bke::bNodeType *ntype, std::string idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeDeclareFunction declare
static GeometrySet from_mesh(Mesh *mesh, GeometryOwnershipType ownership=GeometryOwnershipType::Owned)