isl-org / isl-org/Open3D

How can I align a normal vector to the camera?

Open
#5,265 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

### Discussed in https://github.com/isl-org/Open3D/discussions/5264

Originally posted by **AshengLin** June 29, 2022
Excuse me.
I have a mesh object, and there's a important face I would like to observe.
I need to rotate the meshes so that the surface I am interested in is facing the camera.
So, right now I have all vertices, faces, the important face center, and the face normals, can I align the face normals to camera?

I can rotate the mesh by degree or matrix, but I don't know the initial camera view point degree.
I have been stuck on this question for a week.

ps: I'm using open3d, trimesh with python.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.