Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

228
Views
¿Cómo puedo transformar una vista de cámara y escena three.js a una vista de cámara bcf?

Estoy tratando de crear un archivo bcf a partir del visor ifc.js. El visor ifc.js está utilizando un renderizador web three.js con una cámara y una escena. Aquí hay un ejemplo.

ingrese la descripción de la imagen aquí ingrese la descripción de la imagen aquí https://threejs.org/docs/#api/en/cameras/Camera https://threejs.org/docs/#api/en/scenes/Scene

¿Cómo puedo transformar esta vista en una vista bcf con CameraUpVector, CameraDirection y CameraViewPoint? ingrese la descripción de la imagen aquí

https://github.com/BuildingSMART/BCF-XML/tree/release_3_0/Documentación

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Encontré una transformación por mi cuenta.

 bcfCameraViewPointX = camera.position.x; bcfCameraViewPointX = -camera.position.z; bcfCameraViewPointX = camera.position.y; //for the direction you have to calculate a vector out of the roation and the eulerOrder let vector3 = new THREE.Vector3(); vector3.x = 0; vector3.y = 0; vector3.z = -1; vector3.applyEuler(camera.rotation, camera.eulerOrder); bcfCameraDirectionX = vector3.x; bcfCameraDirectionX = -vector3.z; bcfCameraDirectionX = vector3.y; bcfCameraUpVectorX = camera.up.x; bcfCameraUpVectorX = -camera.up.z; bcfCameraUpVectorX = camera.up.y; bcfFieldOfView = camera.fov;
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!