Questions tagged [webgl]

WebGL extends the capability of the HTML canvas element to allow it to render accelerated 3D graphics in any compatible web browser.

WebGL is OpenGL 3D graphics for web pages. It extends the capability of the HTML canvas element to allow it to render accelerated 3D graphics in any compatible web browser.

WebGL is based on OpenGL ES and is driven via a JavaScript API. It does not require the use of plug-ins. Official specifications and additional information can be found at Khronos.

Engines:

There are also many different webGL based 3D engines available:

Getting started with webGL:

The head-first place for all new webGL developers - LearningWebGL. LearningWebGL has basic tutorials required to understand the API and pipeline, and is also a blog site that publishes newest information about webGL every week.

Website with plenty of Three.js tutorials and examples - LearningThreeJS.

4 questions
10
votes
1 answer

How to inform WebStorm's autocomplete about WebGLRenderingContext

I'm working on a project involving WebGL, and using WebStorm to do the development. One issue with the development flow is that WebStorm isn't able to autocomplete things related to WebGL. In particular, if I annotate a value as being of type…
Craig Gidney
  • 831
  • 7
  • 16
7
votes
1 answer

Determining if webgl code will work on a variety of hardware

I have some javascript/webgl code. I want to have some idea of whether it will work for someone with a different browser/machine/gpu. This is difficult, because there's so much diversity in support for features. For example, on my machines, I can…
Craig Gidney
  • 831
  • 7
  • 16
1
vote
0 answers

How do I make Design Templates like Canva Templates that are unique but can be modified & exported as an image? Should I use Canvas or WebGL?

Canva has Templates that are unique & can be easily modified by anyone & replaced with their own text, images, etc... I want to build something like that. I have multiple options to use but don't know which one is good or which one is fast enough to…
0
votes
1 answer

Example of parallel sum algorithm on GPU

Trying to imagine how you would go about implementing summation (or reduction?) on a parallel architecture and am having a difficult time. Specifically thinking in terms of WebGL arrays of vectors such as this: [integer1, integer2, integer3,…
Lance
  • 2,537
  • 15
  • 34