How dairondanilo/filament-gltf-viewer-ios works
Project type and purpose
• This is an iOS demo application built in Objective-C++ that integrates the Filament real-time 3D rendering engine via CocoaPods.
• Its sole purpose is to load and display a glTF model (the BusterDrone) with physically based rendering and image-based lighting on a physical iPhone.
File structure
• Top level:
• Podfile & Podfile.lock – CocoaPods dependency definitions
• *.xcodeproj / *.xcworkspace – Xcode project and workspace (workspace includes pods)
• BusterDrone/ – glTF model and associated textures/binary
• default_env/ – pre-computed environment maps (.ktx) for IBL
• filament-cocoapods/ – main iOS app directory
• filament-cocoapods/ breakdown:
• AppDelegate.{h,m} & SceneDelegate.{h,m} – iOS application lifecycle
• ViewController.{h,m} – standard UIViewController stub
• FILViewController.{h,mm} – bridges UI and rendering view
• FILModelView.{h,mm} – core rendering component (Objective-C++ wrapper around Filament)
• Assets.xcassets, storyboards, Info.plist, main.m – standard iOS app scaffolding
README insights
• Highlights Podfile as integration point for pre-built Filament libraries
• Emphasizes FILModelView as load/render logic and FILViewController as controller
• Instructs on opening workspace and running on device