openframeworks / openframeworks/openFrameworks

ofEasyCam upgrade?

Open
#1,721 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature prelim-analysis section-3D
Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

When using ofEasyCam extensively for a project I noticed that the rotation behavior starts to get funky as you translate the camera away from its origin.

ie: If you have a really long line extending out from (0,0,0) and then you translate to the end of the line ( using the alt key modifier ) when you rotate (using left click mouse drag) the rotation is still happening around the origin, vs around the center of the camera view ( which is closer to what I was expecting ).

It seems:
https://github.com/elliotwoods/ofxGrabCam

has the expected behavior - is this something we would want to bring into ofEasyCam?

@elliotwoods @roymacdonald

Contributor guide

Open the contributing guide

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 comparing ofEasyCam's translated-camera rotation behavior with the expected behavior described for elliotwoods/ofxGrabCam. Determine whether the upgrade should make left-click rotation follow the camera view center rather than the origin, and confirm that behavior with a long line translated away from (0,0,0).

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
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.