Hi, we are working on some Ar application, therefor we need to render the camera preview. Since we are really new in Unreal we don’t know the source very well yet.
The two possible options that we were thinking of for now are:
- Extending the UTexture (or the UMediaTexture) somehow to update it’s data every frame with the camera preview data.
- Drawing directly to the Android surface (that is handled to Unreal through JNI) before Unreal is doing its rendering work on it.
In my opinion 2) seems to be the better way todo or task since we don’t need to deal with illumination and camera movements…
If somebody has already done something like that, or has any hint, tip, or some idea where we should look into the engine’s source todo our task (especially regarding option 2.) we would be really thankful?