heyx3 / Bplus.jl

A modern OpenGL 4.6 rendering framework, written in Julia.
Other
70 stars 3 forks source link

Fields for coordinate transformations #13

Open heyx3 opened 1 year ago

heyx3 commented 1 year ago
  1. Translation
  2. Rotation
  3. Scale
  4. Skew
  5. Arbitrary matrix

Derivative should be fairly easy in these cases; it needs to be evaluated for the transformed position then projected backwards (scaled down for the Scale transform, un-rotated for the Rotate transform, etc).

Some of these may only make sense in certain dimensions (e.x. rotation is very hard for me to get an intuition for in 4+ dimensions), and that's OK.