Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct camera properties to BCF #251

Open
Burak827 opened this issue Jun 22, 2018 · 1 comment
Open

Correct camera properties to BCF #251

Burak827 opened this issue Jun 22, 2018 · 1 comment

Comments

@Burak827
Copy link

Burak827 commented Jun 22, 2018

Hello
For single IFC models, I need to transfer camera information into BCF file. But I see that the coordinate system of BimSurfer and IFC does differ. What can be done to get the correct (according to IFC specifications) camera information(eye,forward,up) ?
Thanks.

@aothms
Copy link
Member

aothms commented Jun 26, 2018

Hi,

For reasons unknown to me (ask @xeolabs or @rubendel) there is a scaling factor applied. Have a look for example here: https://github.com/opensourceBIM/BIMsurfer/blob/master/bimsurfer/src/xeoViewer/xeoViewer.js#L1448

The value is in bimSurfer.viewer.scale, which is an array of length three, but always the same value repeated.

Hope that helps,

Kind regards,
Thomas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants