webgl Questions

3

Solved

We have uploaded unity application to hostinger. When we launch index.html from app - getting error: Unable to parse Build/build.framework.js.br! This can happen if build compression was enabled b...
Cychosz asked 31/5, 2022 at 19:15

2

Solved

Is this a per device sort of thing? Or is it based on the browser? Sorry for such a basic question but I cant seem to find a straight answer.
Brandon asked 11/3, 2015 at 18:6

11

Solved

I'm getting the error Error creating WebGL context. Uncaught TypeError: Cannot read property 'getExtension' of null This is happening on google chrome 71 but I find it odd because if I open up dev...
Pennell asked 17/1, 2019 at 9:16

7

Solved

I'm using selenium-docker project to run chrome inside a docker container, without XVFB (START_XVFB=false). I want to use webgl support. With chrome v95 and lower (https://github.com/SeleniumHQ/doc...
Chaeta asked 1/2, 2022 at 22:42

1

I'm creating a 3D globe with elevation: I now want to add click detection to get a 3D world xyz position from a 2D screen xy + depth (from a click). I'm using the following code (inspired from Get...
Evolution asked 2/6 at 11:40

6

Solved

I'm currently creating a mesh in three.js using the following: sphereGeometry = new THREE.SphereGeometry( 1, 16,16 ); mesh = new THREE.Mesh( sphereGeometry, material ); I've also created a torus...
Bureaucratic asked 19/6, 2013 at 22:35

3

Solved

I have a Canvas which I'm drawing to via WebGl. My Canvas is sized: 640 width x 480 height. Im drawing a simple square in the middle. However I was surprised to find that when it is drawn it looks...
Korwun asked 30/5, 2014 at 8:22

5

Solved

What I did: Downloaded master branch from here: https://github.com/toji/gl-matrix Put src folder into my project's folder. Included gl-matrix-manifest.js from there. Tried this: var mvMatrix = ma...
Euboea asked 10/4, 2013 at 16:14

2

Solved

I'm working on an application where I would like to take a single integer input (basically a color) and, using WebGL shaders, color a box with the given input. I planned, originally, to do this wit...
Whitefaced asked 6/4, 2014 at 14:15

2

What's the most efficient way to acquire the webcam stream directly into WebGL as a texture? The standard process (as documented in Three.js) is to use the video tag, then manipulate it in a canva...
Diverting asked 17/6, 2019 at 22:51

1

Fiddle to test here: https://jsfiddle.net/oz9p5jx3/4/ Even setting mipmapFilter in many places I'm still getting sprite pixelated. var config = { backgroundColor :'#000000', scene :SceneRoot, ba...
Universality asked 25/11, 2023 at 12:42

4

Solved

I have exported the web version of my Godot 4, it is in a folder on my local drive. Because of the SharedArrayBuffer dependency I can not just double-click in the index.html file. If I do so I see ...
Quagmire asked 1/8, 2023 at 15:19

8

Solved

I am attempting to detect WebGL support across multiple browsers and I've encountered the following scenario. The current version of Firefox appears to report positive support using the following c...
Warner asked 8/8, 2012 at 18:44

1

Solved

My question is short: Is it possible, and if so how, to read a texture or framebuffer created by WebGPU in WebGL2? I've googled, and the only thing I found is this bug: https://bugs.chromium.org/p/...
Hatchet asked 2/11, 2023 at 17:42

10

Solved

I am using three.js. I have two mesh geometries in my scene. If these geometries are intersected (or would intersect if translated) I want to detect this as a collision. How do I go about perfor...
Utmost asked 13/7, 2012 at 15:38

3

Solved

I'm trying to use WebGL to speed up computations in a simulation of a small quantum circuit, like what the Quantum Computing Playground does. The problem I'm running into is that readPixels takes ~...
Bebel asked 2/2, 2015 at 17:7

4

Solved

I'm trying to download 16-bit image data from a server and push it into a WebGL texture without browser plug-ins. texImage2d will work with: ImageData, HTMLImageElement, HTMLCanvasElement, or HTMLV...
Pamalapamela asked 20/6, 2011 at 15:34

2

I'm trying to run headless chrome inside a docker container with the webgl support and the hardware acceleration. I have a Nvidia graphic card and if I test of the drivers with the command suggeste...
Abohm asked 21/7, 2020 at 21:52

2

Solved

Task at hand is to add support for fullscreen mode to an WebGL application written in Dart. canvas.requestFullscreen() works for simple test cases, but fails on the full app. Please point out the...
Gemmation asked 28/4, 2014 at 22:15

2

Solved

I thought this would be an easy question to find an answer for, but it's turning out to be very elusive. Basically, I'm trying to use WebGL to do the heavy lifting on some image processing and gene...
Inning asked 2/12, 2016 at 1:51

3

So basically I have a child object3D of a group Object3D, while the child object's [x,y,z] coordinates are shown relative to the object space of the parent object, I want to change the location of ...
Bevan asked 22/9, 2012 at 21:6

3

On Firefox 92, if you do something like var canvas = document.createElement('canvas'); var gl = canvas.getContext('webgl'); var debugInfo = gl.getExtension('WEBGL_debug_renderer_info'); var vendor...
Foil asked 4/9, 2021 at 13:53

2

Solved

I have been playing with GPUComputationRenderer on a modified version of this three.js example which modifies the velocity of interacting boids using GPU shaders to hold, read and manipulate boid p...
Famine asked 28/9, 2016 at 0:21

3

Solved

I am trying to do picking in WebGl. I have two shapes rendered along with different texture mapped on each. I am trying to grab pixel on certain co-ordinates. Here is the example. var pixelValues ...
Backdrop asked 23/8, 2011 at 6:16

0

I'm doing benchmark for video rendering, and I have some trouble in implementing rendering video frame onto canvas by webGL, without any filtering or transoforming. I have done this with canvas2Dco...
Engross asked 25/10, 2022 at 7:32

© 2022 - 2024 — McMap. All rights reserved.