I am currently using Filament as a rendering engine and working on Linux Ubuntu. I have successfully generated output on my Linux machine using Filament and C++. However, I am facing difficulties when attempting to produce the same output on Android using the C++ Native API.
Issues:
Sample Codes Missing:
I am unable to find sample codes inside the filament-main/android/filament-android folder. It seems the samples provided do not cover my use case for Android with Native C++.
Connecting Filament with Native Android Window:
On Linux, I use ::getNativeWindow(sdlWindow) to connect Filament with the native window. However, I am unsure how to achieve this on Android. There seems to be no direct equivalent or clear documentation on this process.
Specific Question:
Could you provide guidance or examples on how to connect Filament to a Native Android window or activity? Any sample code or references to relevant documentation would be greatly appreciated.
Steps Taken:
Generated output on Linux using Filament and C++ successfully.
Checked the filament-main/android/filament-android directory for samples but could not find relevant examples for my use case.
Searched the documentation and issues on the Filament GitHub page but could not find a solution.
Hello,
I am currently using Filament as a rendering engine and working on Linux Ubuntu. I have successfully generated output on my Linux machine using Filament and C++. However, I am facing difficulties when attempting to produce the same output on Android using the C++ Native API.
Issues:
Sample Codes Missing: I am unable to find sample codes inside the filament-main/android/filament-android folder. It seems the samples provided do not cover my use case for Android with Native C++.
Connecting Filament with Native Android Window: On Linux, I use ::getNativeWindow(sdlWindow) to connect Filament with the native window. However, I am unsure how to achieve this on Android. There seems to be no direct equivalent or clear documentation on this process.
Specific Question: Could you provide guidance or examples on how to connect Filament to a Native Android window or activity? Any sample code or references to relevant documentation would be greatly appreciated.
Steps Taken: Generated output on Linux using Filament and C++ successfully. Checked the filament-main/android/filament-android directory for samples but could not find relevant examples for my use case. Searched the documentation and issues on the Filament GitHub page but could not find a solution.
Environment: Operating System: Linux Ubuntu Filament Version: [1.52.0] Android Version: [30.0.3] NDK Version: [26.1.10909125]
Additional Context: Any additional tips or pointers to get started with integrating Filament on Android using C++ Native APIs would be very helpful.
Thank you for your assistance!
Best regards, Bhavesh Joshi.