Skip to main content
Solved

COGNITE REVEAL SDK: POINT CLOUD AND 3D


Forum|alt.badge.img

I realizd that when leveraging Cognite REVEAL in application development, can we not have Point Cloud/360 Images annd 3D in one REVEAL? Why do i have to select which one? is that not embedded within the same where i can turn on or off the Point Cloud or 360 Images?

Best answer by Christopher Tannum

Reveal supports adding 360 images, point clouds and CAD models together in one view. Simply call relevant methods in succession.

Example:

const viewer = new Cognite3DViewer(...);

const myCadModel = viewer.addModel(...); // Options for CAD model
const myPointCloudModel = viewer.addModel(...); // Options for Point Cloud model
const my360ImageSet = viewer.add360ImageSet(...); // Options for 360 images


// Note that if the different resources are not aligned,
// you can translate / rotate your models as such:

myCadModel.setModelTransformation(...); // Passing in any transformation you like

 

View original
Did this topic help you find an answer to your question?

2 replies

Reveal supports adding 360 images, point clouds and CAD models together in one view. Simply call relevant methods in succession.

Example:

const viewer = new Cognite3DViewer(...);

const myCadModel = viewer.addModel(...); // Options for CAD model
const myPointCloudModel = viewer.addModel(...); // Options for Point Cloud model
const my360ImageSet = viewer.add360ImageSet(...); // Options for 360 images


// Note that if the different resources are not aligned,
// you can translate / rotate your models as such:

myCadModel.setModelTransformation(...); // Passing in any transformation you like

 



Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings