encima / encima/jsc3d

Rotation system

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
HTML
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
Hi,

How to change the rotation system to get the effect of camera rotation around
the model, not the model rotation in front of the camera in a fixed position? I
mean as the effect of the 3D graphics programs such as Blender. When you move
the camera over the object and the mouse is moved from side to side, the object
rotates around the vertical axis, and not leaning to the side.

I tried to change rotateAboutXAxis and rotateAboutYAxis functions and variables
rotX and rotY, with no good results.
```

Original issue reported on code.google.com by `luk...@luckero.com` on 15 Oct 2012 at 10:56

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating rotateAboutXAxis, rotateAboutYAxis, rotX, and rotY in the viewer’s source. Read the existing mouse-rotation handling and determine how the current rotation is applied. Done means mouse movement produces Blender-like orbiting around the model’s vertical axis rather than tilting the model beside a fixed camera.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.