« Back to search

Mod

LEEF b3d

by fatalerror420 · score 458.5 · license: MIT

LEEF b3d

Download latest release

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

library

LEEF-b3d

A b3d library that uses 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.