Comments (5)
I think this is a known problem of the previous fix.
from filament.
I think this is a known problem of the previous fix.
I see, haven't seen any mention of this being a known issue in the PR description or anywhere in the code. I was also suggested to make some changes in Asset/Resource loader to make use of the desktop fix in Android so I thought this must be a bug
Also would it make sense to use JITSHADER in Android ?
from filament.
You mentioned that it's not fixed for you even with #7917?
I just tried your asset (walls.glb
) on a macbook, and it looks fine (but did not look fine before the commit). How are you checking the result:
- For example, are you building from source (
git log
to check the latest commit)? - What platform/device are you testing on?
from filament.
Here's some notes of what I did
I added the following to samples/gltf_viewer.cpp
diff --git a/samples/gltf_viewer.cpp b/samples/gltf_viewer.cpp
index 6b83316f1..4472cf948 100644
--- a/samples/gltf_viewer.cpp
+++ b/samples/gltf_viewer.cpp
@@ -747,7 +747,10 @@ int main(int argc, char** argv) {
createJitShaderProvider(engine, OPTIMIZE_MATERIALS) :
createUbershaderProvider(engine, UBERARCHIVE_DEFAULT_DATA, UBERARCHIVE_DEFAULT_SIZE);
- app.assetLoader = AssetLoader::create({engine, app.materials, app.names });
+ AssetConfigurationExtended ext {""};
+ AssetConfiguration config = {engine, app.materials, app.names };
+ config.ext = &ext;
+ app.assetLoader = AssetLoader::create(config);
app.mainCamera = &view->getCamera();
if (filename.isEmpty()) {
app.asset = app.assetLoader->createAsset(
I ran it with
./out/cmake-debug/samples/gltf_viewer -u walls.glb
The result is
from filament.
Clean build worked. Also I modified AssetConfigurationExtended::isSupported()
to allow Android and it works on Android too (model appears as expected)
from filament.
Related Issues (20)
- crashed while running filament-gltf-viewer-v1.53.3-android.apk HOT 2
- Can filament support 3D Gaussian Splatting(3DGS)?
- Textures occasionally not displaying problem HOT 2
- When rendering a large model (~7K individual renderables) on a mid range devices (2 to 3 years old) the performance degrades to the point it becomes unusable HOT 2
- Mali vs Adreno HOT 3
- Calling engine.destroy() reports an error (assertion "isAlive(entities[i])" failed)
- Question regarding shader performance on MacOS HOT 1
- Crash on Android (FEngine::loop) HOT 4
- Windows ARM support request HOT 3
- Richeditor disabled on the validation fail in the tabs component HOT 1
- ResourceLoader creating too many jobs and crashes HOT 4
- Intermittently, geometry does not appear and camera rot locks to Y
- Ubershaser documents
- "Chosen constructor is explicit in copy-initialization" on Windows
- 3D Model Disappears After Zooming Beyond a Certain Level in Android HOT 2
- Request for per-renderable post-processing enable/disable functionality HOT 1
- 3D Model Disappears After Zooming Beyond a Certain Level in Android HOT 1
- Android - Adreno - Model not responding initially for few seconds HOT 4
- Handle_cast not working using mResourceAllocator; offscreen rendering and VkImage, VkImageView
- Calling function flushAndWait will always block on it if I not run it on main thread. Under the mac arm64 architecture.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filament.