asmaloney / MeshIO

CloudCompare plugin for loading COLLADA, glTF, and IFC-SPF 3D models
BSD 3-Clause "New" or "Revised" License
32 stars 1 forks source link

Convert aiCamera to cc2DViewportObject #2

Open asmaloney opened 5 years ago

asmaloney commented 5 years ago

Describe the solution you'd like

When reading files that have cameras, convert them to cc2DViewportObjects in CC.

Additional context

Should implement something like this in mioUtils:

ccViewportParameters convertCameraToViewport( const aiCamera *inCamera, const aiMatrix4x4 &inTransform );

and then use it in mioAbstractLoader to create the cc2DViewportObjects.