Mesh Attributes
App: apps/mesh_attributes/
A single triangle with per-vertex animation: each vertex’s position (px, py, pz) and color (r, g, b, a) are updated every frame via setVertexAttribute. Also shows a small GUI (window size, “Log” button) and terminal commands (help, reload) using #!command.
Run from root
Section titled “Run from root”% ./plume3d mesh_attributesor
Run from app directory
Section titled “Run from app directory”% ./../plume3d .What it does
Section titled “What it does”- Mesh — Three vertices; in
update, vertex 0: animate X and red; vertex 1: Y and green; vertex 2: Z, blue, and alpha. No explicitflush()in this app; add_mesh.flush()after attribute updates if your backend requires it for dynamic data. - GUI — Window with current width/height and a “Log” button that logs mouse position with
Logger.info. - Terminal —
#!command(description = "Print help message") help()lists commands (help, reload).