Minimal example
#6799
Replies: 2 comments 1 reply
-
I made small changes to your code and made it work:
The difference is that I set the camera to be at the appropriate distance and orientation to bring the quad into the camera's view. Tested with both gl and vulkan on linux. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for this sample, I'm trying to get it to run on OSX and have made the following changes:
However I get the following crash:
There seems to be an error with the SDL window but I'm not sure what |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am new to filament, and I am trying to complete a minimal sample, that would draw something on the screen. Unfortunately, the samples are all based on the
FilamentApp
which is somewhat big to understand it at once, so I decided to go from scratch.Here are my tries:
This code is mostly taken from the issue, but I decided to construct material at run-time for the ease of the reproducibility. In spite of the fact that the issue is marked resolved, the code does not work on my machine (Linux, AMD video), with a strange behavior: I am getting either a red screen or strange pattern (looks like some uncleared GPU buffer) depending on the backend I use (opengl and vulkan correspondingly):
Built-in samples work correctly on my set-up, so I just miss something in my own implementation. Would be thankful for any help!
Beta Was this translation helpful? Give feedback.
All reactions