6,786 questions
0
votes
0
answers
15
views
Open Layers WebGLTile GLSL "Hello World" Example
I'm using OpenLayers for a React project and everything is going very well. I'd like to extend the WebGLTileLayer class to eventually be able to apply GLSL to web tiles (for raster smoothing, ocean ...
0
votes
0
answers
37
views
Trying to integrate WebGL into react-leaflet Map
I'm working with a mapping application using the following stack:
Leaflet: 1.4.0
React: 17.0.2
React-Leaflet: 1.9.1
Due to these older versions, I'm unable to use newer libraries like deck.gl, pixi-...
0
votes
0
answers
26
views
How to fix Arabic script in Neo4j visualization library
I’m using the Neo4j Visualization Library to display Arabic text, but the letters are rendering left‑to‑right (instead of right‑to‑left) and appear disconnected. See image below. Has anyone ...
0
votes
0
answers
32
views
Trouble converting between GameObject space to Joint configuration space for FABRIK algorithm Inverse Kinematics
Given a mouse click, I am trying to use the FABRIK inverse kinematics algorithm to figure out the best joint orientation for a robot arm such that the end effector is as close as possible to the ...
-4
votes
0
answers
74
views
Convert Array of Floats (0.0-1.0) to RGB Color
I want to convert an array of floats to RBG values. The floats range from 0.0-1.0. These floats represent pixels.
I initialize the array using pixel data from the python Pillow package. Some ...
-1
votes
0
answers
25
views
Heads up Display Image - Bordering THREE.JS <canvas> Context
The problem is variable "ctx" remains null after declaring it equal to "ctx = canvas.getContext('2d');" while variable "canvas" stores the following html dom element:
`&...
2
votes
1
answer
62
views
Overwrite video element: display a different image (manually decoded frame) & WebGL compatibility
Context
I'm currently building a library to precisely record (ideally any) javascript-based animation, even on slow computers or at very high framerate (e.g. 120fps to do motion blur later…). What I ...
0
votes
1
answer
43
views
Three.js model color difference from expected rendering
I am trying to display a model I downloaded on Sketchfab which is not showing up as expected when I render it.
Above is the expected rendering
Above is the rendering I get in three.js.
How do I ...
-1
votes
1
answer
53
views
Export Asymptote graph to WebGL
I have a Docker installation of Asymptote, based on Alpine Linux, the output of which I intend to transclude in web pages. The installed packages are g++ gettext-dev texlive-dev freetype-dev woff2-dev ...
0
votes
0
answers
34
views
How to improve brush stroke intersection in WebGL (fragment shader)?
Main issue :
I'm trying to create a brush effect using WebGL. The issue arises when strokes intersect—currently, the blending doesn't look natural.
Here’s what I get:
Here’s what I’d like to achieve (...
0
votes
0
answers
36
views
<Enviroment/> floating model
Seems is not possible to have a 'non-floating' mpdel within a , so I am trying to come up with a workaround as I have seen here:
hack for skyground from three.js,
since I couldnt figure out how to use ...
0
votes
1
answer
87
views
How to fix ThreeJs camera controls only updating for starting view
I am making a 3d Three Js game, but I have run into a problem with my camera controls. When I look the starting direction that you look, the camera controls are all right. But if I look backward, the ...
0
votes
0
answers
20
views
glslify Cannot Find The Method I'm importing
I'm having an issue where my method multiColourLerp Cannot be found when I import it from my utils file. I know that shaders usually don't reuse code across files but for the sake of maintainability I ...
1
vote
1
answer
32
views
WebGL Matrixes Translate wrap instead of move
So, I tried creating my own WebGL Matrixes. Rotate and Scale worked properly, except for Translate. For some reason, it has wrapped (large on the bottom and small on the top). You can test this by ...
1
vote
1
answer
134
views
How to Fix Incorrect Unity Color Rendering in Web Version of Game?
I am struggling with incorrect color rendering in the web version of my game.
It looks fine on Windows, like this:
But on the web, it looks like this:
I'm using Unity 6, and by default, it uses the ...