Skip to content

Simple Grid Surface (FFD = Free-Form Deformation) #187

@magdesign

Description

@magdesign

Anyone know how to add a grid surface to ofxPiMapper?

Meaning a surface which is split into 4 parts as shown here:
quad_warp

So we are able to move the center point and also the horizontal and vertical middle.
I know that it should be solvable with a mathematical theorem (german=> Strahlensatz) solution.

Currently when I use several quads in ofxPiMapper it will not fit:
ofxpimapper

What I found is this paper: https://www.ronenbarzel.org/papers/warp.pdf
See on page 14:
freeform

and also this paper:
https://www.inf.ufrgs.br/~oliveira/pubs_files/PG01_Adaptive_subdivision.pdf

Maybe someone good in mathematics can tell us the formula to code this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions