webgl Questions
6
Solved
I am new to three.js and have starting working with it a lot recently. I really enjoy it and I have created some incredible things. However, I'm unsure why but when setting antialiasing to true I s...
Medor asked 20/6, 2013 at 22:16
2
Blender export obj don't export double sided objects. How can I render objects in DoubleSide mode. I tried this without succes:
const loader = new THREE.OBJMTLLoader();
loader.load('models/test.obj...
1
Solved
I have the situation that a shader produces a completely different output on my Apple (M1) iMac (and also iPhone) than on my Intel (i5-4300U / Haswell-ULT Integrated Graphics Controller) Thinkpad 4...
Enterovirus asked 22/7, 2022 at 12:22
7
Solved
I'm using WebGL to render a binary encoded mesh file. The binary file is written out in big-endian format (I can verify this by opening the file in a hex editor, or viewing the network traffic usin...
Neille asked 23/10, 2011 at 22:37
4
Solved
I have learned a bit of webGL, using three.js mainly.
I load .obj files and I draw them in 3D.
I have put my project online under something like : www.mydomain.com
I don't mind people looking at ...
Tempestuous asked 2/1, 2013 at 8:55
1
I'm wondering how to efficiently remove a triangle from the middle a webgl attribute buffer.
The first solution that comes to mind would be to rebuffer all the data from the middle to the end, shif...
Millisent asked 24/2, 2021 at 4:13
0
How can I assure that running a three.js based 3D scene through WKWebview can have maximum performance? I do not want to be limited to browser-based resource constraints and make sure I can use an ...
3
Solved
Is there any way to attach mesh to bone? For example I load animated .js character and i want to attach weapon to it's hand.
Crowther asked 26/9, 2013 at 14:36
6
Solved
I'm trying to export an image rendered with WebGL on a linux server without a GPU. To do this I'm using headless Chrome however the exported image is black (example exported image, taking a screens...
Endurable asked 28/12, 2017 at 17:15
2
Solved
I'm creating a cube and I apply 6 different textures to each of it's faces. Each texture is a .png file and contains transparent parts. I'm also applying a color to the cube - I want to see that co...
Commix asked 5/7, 2013 at 10:25
3
Right now, I think there is not a way to do it within Unity. This is what I have found so far (please, correct me if I'm wrong):
The most popular VR plugins compatible with Unity for both Android...
Colure asked 15/12, 2015 at 20:58
2
I am writing a 3D application in webgl, and need to provide my own depth data that is contained within a texture, my current code does this:
VS:
varying vec2 vUv;
void main() {
vUv = uv;
}
...
4
Solved
I would like to know if it phaser.io supports 3d even a little. I have no plans to build a 3d game but would like my main character to have 3d animations...like flip.
Or even better make orthograp...
Remex asked 15/3, 2014 at 1:12
1
I'm learning Three.js and created a simple app with it expecting it to run on my dedicated GPU, but task manager shows 0% GPU utilization (all values) while the scene is rendering and 80-90% integr...
Wardroom asked 18/12, 2021 at 17:3
7
Solved
Three.js says that it can't load more than 65k vertices.
In my pure webgl application, it doesn't say anything, but it doesn't show the entire object when I try big objects.
I could split my object...
Hendecahedron asked 14/2, 2011 at 22:57
1
Solved
I am trying to make use of some ES 3.1 features, and it's unclear if this is supported:
I notice that there is an OpenGL ES 3.1 header in the emscripten repository which defines some of the functio...
Beechnut asked 25/12, 2021 at 22:32
1
Solved
I followed this doc to call JavaScript function from my C# script in Unity to make a WebGL game.
But there is a problem if the js code contains async/await, for example:
C# script:
[DllImport(&quo...
Wells asked 11/11, 2021 at 6:21
0
I have following setting in the C# code to use Chrome WebDriver:
ChromeOptions options = new ChromeOptions();
options.AddUserProfilePreference("plugins.always_open_pdf_externally", true);...
Husein asked 14/10, 2021 at 7:13
2
Solved
I'm working on porting a ZUI from SVG over to WebGL for a few reasons, and I'd like to render a grid using a fragment shader.
Here's the basic effect I'm going for https://dl.dropboxusercontent.co...
Petrel asked 16/7, 2014 at 5:8
4
I'm learing three.js and I faced a z-fighting problem.
There are two plane object, one is blue and the other is pink.
And I set the positions using the flowing codes:
plane1.position.set(0,0,0....
6
Solved
I'm using Three.js with the WebGL renderer to make a game which fullscreens when a play link is clicked. For animation, I use requestAnimationFrame.
I initiate it like this:
self.animate = functi...
Andesine asked 24/5, 2012 at 10:44
5
Solved
When using ShaderToy I often see people using something like:
vec2 uv = fragCoord / iResolution;
vec2 centerPoint = vec2(0.5);
vec2 distanceVector = uv - centerPoint;
float dist = sqrt(dot(distanc...
3
Solved
I'm currently using Three.js to try and create something. I've got a sphere, and I'm trying to map the eyeball image here onto it.
The problem I have is that the result looks like this:
How can I ...
Narrow asked 9/2, 2014 at 19:35
9
Solved
I am using the code below to create hundreds of lines in my three.js scene
edgeGeometry[i] = new THREE.Geometry();
edgeGeometry[i].vertices[0] = v(x1,y1,z1);
edgeGeometry[i].vertices[1] = v(x2,y2,...
Villalba asked 24/7, 2012 at 20:35
2
Ref http://webglfundamentals.org/webgl/lessons/webgl-3d-orthographic.html
In vector shader there is multiplication of mat4 and vec4.
attribute vec4 a_position;
uniform mat4 u_matrix;
void main()...
Soapberry asked 6/7, 2014 at 8:11
© 2022 - 2024 — McMap. All rights reserved.