LEEF b3d

a b3d reader for minetest, cloned from modlib. Requires LEEF-filesystem, requires LEEF-Math for nodes module.

API / Library

Download (23 KB)

How do I install this?

LEEF-b3d

a b3d library that use's Appgurue's work, a b3d reader, and expands it's usefulness into node reading, global transformation solving, and more- mostly in one package. Online documentation can be found here.

dependencies

  • LEEF-filesystem: provides binary reading and media path tracking
  • LEEF-math: OPTIONAL allows use of b3d_nodes library (for node solving)

features:

  • read a b3d file
  • ignore specified chunks while reading a b3d file
  • find a node by it's name
  • solve the global position of a node
  • solve the global rotation of a node
  • solve the global transformation of a node (mat4)

todo:

  • allow use of get_node_by_name() without math lib. (move to b3d_reader or set alias?)

Without Appgurue's Modlib this would not be possible, and while I personally have my issues with it, it still provides useful tools, and it's worth looking into for libraries.

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Used By