-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3d rendering Issue: #182
Comments
Code is correct, but rendering issue by the library. This is the fault of the 'vpython' library. So till then think before writing the code. Expected outputs are 3d objects but given outputs are black screen. Issue is posted in their git repo, link: vpython/glowscript#182
What Python are you using? From the installation instructions at vpython.org: The vpython module currently works with Python versions 3.8, 3.9, and 3.10. (We are working on a release for 3.11) |
Python version: 10
…On Wed, 21 Feb 2024, 10:36 pm BruceSherwood, ***@***.***> wrote:
What Python are you using? From the installation instructions at
vpython.org: The vpython module currently works with Python versions 3.8,
3.9, and 3.10. (We are working on a release for 3.11)
—
Reply to this email directly, view it on GitHub
<#182 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARMMQS7CLF7ZH6LPHLFAQZLYUYSQRAVCNFSM6AAAAABDTCNQAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJXGMZDQOBRG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Try running this Web VPython program: tinyurl.com/vporbit. If it fails, it could be that WebGL2 is not available in your browser. Go to https://get.webgl.org/ |
I also have the same problem, I have some smartphone devices, on the device with WebGL_Unmasked_Renderer value as Mali-..., it does not display block, spheres, text,... but only displays the trajectory (see attached video https://files.catbox.moe/qyluvx.mp4), it works normally on the devices with WebGL_Unmasked_Renderer: ANGLE |
@BruceSherwood could you help to check my above comment? |
I know nothing about the issues you mention. I'll mention that you might run https://get.webgl.org/webgl2/ to see whether your device does or doesn't support WebGL2 in the browser; VPython uses WebGL2. |
@BruceSherwood My phone has WebGL2 supported, there is some kind of graphics type can not be rendered like text, box, sphere,... Its happens on both Chrome, Firefox. I have some other devices which also happens are has WebGL_Unmasked_Renderer: Mali-xyz |
Sorry, but I am unable to debug the problems you have encountered. I've never heard of anyone else seeing the problems you see. |
Intent: We are trying only to display 3d objects with their default parameters
Output: But it only showing a black screen after execution.
System: Linux operating system: Fedora Linux 39 (Workstation Edition), browser: Firefox version 120
Tried to resolve this issue: By passing some parameters, by redrawing the screen, updating the screen etc.
The text was updated successfully, but these errors were encountered: