Module: maths > bezier > vbz_bezier_path

Documentation > Modules > maths > bezier > vbz_bezier_path

Module: maths > bezier > vbz_bezier_path

Description

Loads a VBZ file exported from Blender. This is a JSON file containing array of 3-dimensional beziers. To export such files, you need a Python plugin for blender. This is available on Vovoid's github page.

This module can be useful for camera paths or object paths. Also supports "tilt" (Blender's nomenclature). The tilt value is a rotation (in radians) around a vector formed by the tangent of the current point. There are different ways of interpreting this mathematically but this module rotates an "up" vector of (0, 1, 0) by the tilt value and then constructs a rotation matrix by taking the cross product of that and finally converting it into a quaternion.

Input Parameters

filename

Type: resource

Connections: Allowed

Compatible modules

position

Type: float

Connections: Allowed

Compatible modules

Output Parameters

result_position

Type: float3

Connections: Allowed

Compatible modules

result_rotation

Type: quaternion

Connections: Allowed

Compatible modules

result_tilt

Type: float

Connections: Allowed

Compatible modules