asmaloney / asmaloney/MeshIO

Convert aiCamera to cc2DViewportObject

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
36
Forks
2
PR merge metrics
No merged PRs in 30d

Description

**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`:
```c++
ccViewportParameters convertCameraToViewport( const aiCamera *inCamera, const aiMatrix4x4 &inTransform );
```

and then use it in `mioAbstractLoader` to create the cc2DViewportObjects.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading mioUtils and mioAbstractLoader, then trace how loaded cameras and cc2DViewportObjects are currently handled. Implement the requested camera-to-viewport conversion using the named function signature and use it in the loader so cameras from input files produce cc2DViewportObjects.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.