Questions tagged [glge]

GLGE is a javascript library intended to ease the use of WebGL; which is basically a native browser javascript API giving direct access to openGL ES2, allowing for the use of hardware accelerated 2D/3D applications without having to download any plugins.

7 questions
13
votes
1 answer

Is there a way to run unit test for a WebGL webapp in a headless browser

Is there a way to run unit test for a WebGL (GLGE) webapp in a headless browser? I'd like to run the tests on a jenkins server, so the tests must run on a headless (phantom.js) brower. Anybody already tried that? Cheers
appsthatmatter
  • 6,347
  • 3
  • 36
  • 40
2
votes
1 answer

GLGE API setRot/setRotX doesn't work

I'm trying to make a little scene for viewing 3D models. I modified the GLGE Collada example to add a .dae model from code. http://goleztrol.nl/SO/GLGE/01/ What I've got So far it works. The camera is rotated using an animation. Using the buttons…
GolezTrol
  • 114,394
  • 18
  • 182
  • 210
2
votes
1 answer

GLGE: drop shadows

I'm keen on webgl and GLGE framework. I can't make my cube drop shadow onto a plane. I've copied the definition of light from GLGE shadow demo and I still don't see shadows. What should I take into account to make objects drop shadows in GLGE?
Vitali Kotik
  • 753
  • 8
  • 25
1
vote
2 answers

jQuery Tab Menu and WebGL

I want to use the tabs from jQuery UI (Source: http://jqueryui.com/demos/tabs/) to display on each tab a COLLADA dae file using WebGL GLGE (Source: http://www.glge.org/). The Tabs should be generated dynamically depending on an xml file. Everything…
faiko
  • 111
  • 6
1
vote
0 answers

How GLGE XML work?

I'm trying to use GLGE but I have no idea how to write [or export.. or convert..] the 3D model in XML mesh. Can someone explain me how to "undertand" this king of XML?
Shyghar
  • 313
  • 4
  • 19
0
votes
2 answers

How to load textures to different faces of a cube in GLGE? (or at least WebGL)

I have 6 textures I would like to load on 6 different faces of a cube. I'm trying to make a new texture by using GLGE.TextureCube();. And then I load all six images to the faces the supposedly should be on the cube like so mapTex = new…
Zeeno
  • 2,671
  • 9
  • 37
  • 60
0
votes
1 answer

Translating mouse location to Object coordinates

I'm trying to get basic mouse integration into a small demo using a Collada object. I am able to get the correct mouse x and y, but I don't know how to translate them into coordinates to be used for the object. I was hoping the GLGE function…
InfestedTaco
  • 145
  • 10