# Importing camera alignment in THREE.JS

**URL:** <https://forums.unrealengine.com/t/importing-camera-alignment-in-three-js/712280>\
**Category:** Asset Creation\
**Tags:** realityscan\
**Created:** [December 28, 2021, 2:33pm UTC](https://forums.unrealengine.com/t/importing-camera-alignment-in-three-js/712280 "2021-12-28T14:33:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DiabetiMark](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DiabetiMark](https://forums.unrealengine.com/u/DiabetiMark)\
**Post date:** [December 28, 2021, 2:33pm UTC](https://forums.unrealengine.com/t/importing-camera-alignment-in-three-js/712280/1 "2021-12-28T14:33:54Z")

</div>

Dear Reality Capture forum,

I am currently attempting to import the Internal/External camera parameters file into a THREE.JS viewer. As of currently I am able to import the parameters .csv file succesfully and am also able to correctly project the positions of the cameras, however I can’t seem to get the orientation just right.

Prior to this post I have also submitted the issue on StackOverflow which up until this point sadly hasn’t yielded a solution. I am hoping that the RealityCapture community is able to provide me with some feedback on what might be the problem helping both me and innovative folks out there!

I included the post below which describes the rotation problems in more detail:

[https://stackoverflow.com/questions/70380886/three-js-reality-capture-rotation-issue-photogrammetry-reference-cameras-in](https://stackoverflow.com/questions/70380886/three-js-reality-capture-rotation-issue-photogrammetry-reference-cameras-in)

Thanks in advance,

&nbsp;

- Mark

---

<div class="post-metadata">

**Author:** ![OndrejTrhan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ondrejtrhan/32/906565_2.png) [@OndrejTrhan](https://forums.unrealengine.com/u/OndrejTrhan)\
**Post date:** [January 3, 2022, 1:25pm UTC](https://forums.unrealengine.com/t/importing-camera-alignment-in-three-js/712280/2 "2022-01-03T13:25:13Z")

</div>

Hi Mark,

the positions of images are OK in THREE.JS?

How THREE.JS computes the camera orientation? Is it defined as rotation around some axis?
