JuliaGeometry / JuliaGeometry/CoordinateTransformations.jl

How to efficiently transform array of vectors, or why the homogeneous coordinates were not chosen to represent affine/projective transformations?

Open
#91 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
185
Forks
24
PR merge metrics
No merged PRs in 30d

Description

Hi,

I often need to affine transform a set of vertices, and have used the homogeneous coordinates to simply represent any composition of affine/projective transformation in a single matrix, and any transform is a matrix multiplications.

when i look at the package, it seems that i have to transform vertices one by one. and the affine implementation was a linearmap plus a translation.

Is there any suggestions to how use this package to efficiently transform a set of vectors, or explain the merits of current approach vs. homogeneous coordinates approach that have been widely used in computer graphics, such as OpenGL and Direct3D.

Thanks,
Alex

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the package's current affine implementation and how it applies transformations to individual vectors. Compare that approach with homogeneous coordinates and matrix multiplication for sets of vertices, then determine whether the issue calls for an API or implementation change; no specific file or test is identified in the report.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.