Questions tagged [google-filament]

17 questions
2
votes
1 answer

Android: How to load a GLTF or GLB file from remote URL in filament

I'm trying to load a remote asset (.glb or .gltf) into the ModelViewer in filament. The Google Filament sample-gltf-viewer shows a RemoteServer object but I'm not seeing how I can load a remote asset from a URL (e.g.…
VIN
  • 6,385
  • 7
  • 38
  • 77
2
votes
1 answer

How to set background color in Google Filament for Android?

I'm following this tutorial for Filament: https://medium.com/@philiprideout/getting-started-with-filament-on-android-d10b16f0ec67 How do I set the background color to white? override fun onCreate(savedInstanceState: Bundle?) { …
VIN
  • 6,385
  • 7
  • 38
  • 77
1
vote
1 answer

How to let the emissive property work in Sceneform ?

I have tried all the method,even seen the filament code,but I don't know why the emissive property can't not work in Sceneform. the document said "The main use of emissive is to force an unlit surface to bloom if the HDR pipeline is configured with…
1
vote
0 answers

Is there any alternatives for google-Filament?

I have been using google Filament for Few weeks and I can't find adequate tutorials or documentation for it even though the git is helpfull , is there any alternate for it . Basically I want to make a android app that supports glb file and…
1
vote
1 answer

How to use Matc tool from google filament

I was reading through the filament documentation and they give the comamnd to out .mat files from the jsonish material definition like this : matc --reflect parameters filament/src/materials/skybox.mat I have two questions, how do I install this…
Icaro Amorim
  • 385
  • 1
  • 3
  • 13
1
vote
1 answer

loading glb file failed while using filament android for 3d

Hi I am trying to load a glb file in my android app for 3d view. I found about android filament and tried to implement it but I am getting Couldn't create Engine error while using Engine.create(). java.lang.RuntimeException: Unable to start…
Ujjwal Jung Thapa
  • 604
  • 2
  • 8
  • 31
1
vote
0 answers

What is the issue about fr + fd in filament document?

I am learning pbr theory by the document of filament. In the Energy gain in diffuse reflectance section, it add a [TODO: talk about the issue with fr+fd]. I can't find any resources about this. Can anyone tell me about this? Or give me some…
user2331095
  • 6,577
  • 8
  • 36
  • 56
1
vote
0 answers

How to create a bitmap from ViewRenderable / Node using SceneForm?

I'm currently displaying the above image (black is transparent actually) over the augmented image, using Sceneform (Maintained repo by Thomas Gorisse, which is based on ARCore and filament). Is there any method by which I could screenshot only the…
Monster Brain
  • 1,950
  • 18
  • 28
0
votes
0 answers

Applying a Geometry Shader on Existing Material in GLB Using Filament Android

I'm working on an Android project using the Filament rendering engine to display 3D models in GLB format. I have successfully loaded and displayed models with existing materials using Filament. However, I would like to apply a custom shader to an…
0
votes
1 answer

Linking with Google filament gltfio

I'm attempting to link with gltfio and google filament, but I'm getting link errors about undefined SHADER_PACKAGING and such. What's the correct way to link the many filament libraries?
MrSomeone
  • 71
  • 1
  • 11
0
votes
0 answers

ARCore green screen

Only happening with depth supported devices. With latest version of filament. I am using camera stream like this. The green screen is appearing intermittently on camera feed. stream =…
0
votes
0 answers

Filament image viewer on Android

Try create image-viewer use Kotlin & lib: Filament, i follow c++ example cpp & material image.mat, convert to Kotlin but it doesn't work My code: Mesh: private fun createMesh() { val intSize = 4 val floatSize = 4 val…
0
votes
0 answers

How can I improve the accuracy of detecting if a tap event with ARCore hits an already added 3d model?

My goal is for taps and drags to be able to identify if a 3d model has been hit using motionEvents. The current implementation works, but it is not very accurate. Most of the time tapping the model results in tappedOnModel being false, while…
0
votes
1 answer

SurfaceView background, how to make surfaceview transparent

i'm newbie. I have a application that show 3d model with surfaceview, but i just want show shape of model without background of surfaceview like below picture. How do i reach it ? Thank you.' I try…
Khang Pham
  • 1
  • 1
  • 1
0
votes
1 answer

I have an Issue Building the Filament Repository in Android Studio

Screenshot I'm new using Filament. I've been trying to build the repository Google Filament but; it gives me an error every time I try to build it. These are the errors: CMake Error at…
1
2