avaxman / Directional

A library for Directional Field Synthesis, Design, and Processing.
184 stars 30 forks source link

load mesh and extract boundary preserving quad mesh #70

Closed bootsmakes closed 5 months ago

bootsmakes commented 10 months ago

Hi, I tried the 502_DifferentOrdersand 505_Meshing and have couple questions:

  1. how to generate the.rawfield files from a mesh
  2. how to extract the boundary preserving quad mesh from parametrized mesh with uv and save to .off?
avaxman commented 5 months ago
  1. The raw field is input, but I usually use the tutorial parts from Chapter 3 to create it (as integrable polyvectors).
  2. The tutorial itself writes it to OFF. It's not guaranteed to be boundary-preserving though.... this is an upcoming feature!